Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
when i try to start the network i get the following error:
Code:
root@pandion:/home/leandro# /etc/init.d/networking restart
* Reconfiguring network interfaces...
SIOCADDRT: No such process
Failed to bring up eth1.
[ OK ]
my theory is that i don't think it likes the gateway address for eth1 (which is the ip address of eth0). if i comment the gateway line for eth1 in the interfaces file and then restart networking i get a different error:
Code:
root@pandion:/etc/default# /etc/init.d/networking restart
* Reconfiguring network interfaces...
RTNETLINK answers: No such process
[ OK ]
i'm also doing ip forwarding and internet connection sharing from eth1 to eth0 with syscntl.conf and some iptables rules. this works fine because all my dhcp clients can browse the web and receive leased addresses.
what i don't understand is why i am getting those errors when i restart networking????? is the gateway address wrong???
when i try to start the network i get the following error:
Code:
root@pandion:/home/leandro# /etc/init.d/networking restart
* Reconfiguring network interfaces...
SIOCADDRT: No such process
Failed to bring up eth1.
[ OK ]
my theory is that i don't think it likes the gateway address for eth1 (which is the ip address of eth0). if i comment the gateway line for eth1 in the interfaces file and then restart networking i get a different error:
Code:
root@pandion:/etc/default# /etc/init.d/networking restart
* Reconfiguring network interfaces...
RTNETLINK answers: No such process
[ OK ]
i'm also doing ip forwarding and internet connection sharing from eth1 to eth0 with syscntl.conf and some iptables rules. this works fine because all my dhcp clients can browse the web and receive leased addresses.
what i don't understand is why i am getting those errors when i restart networking????? is the gateway address wrong???
this >>>post<<< (unfortunately not here) has answered my question pretty thoroughly.. apparently i don't even need a gateway address set for eth1. the only gateway address i need to assign is for eth0.. dhcp clients on the eth1 subnet will receive a gateway address of my eth1 ip address (192.168.2.1). in other words, i don't need multiple gateways (i just wasn't aware of this).
the post was specific to windows 2003 server... but it was a networking question so i assume it still applies to my problem... if anyone could confirm this solution that would be great...
HOWEVER, when i do a /etc/init.d/networking restart, i still get this error message:
Code:
RTNETLINK answers: No such process
i'm not sure what this means, but now i am pretty sure it has nothing to do with my gateway address setting since i know the setting is correct...
its correct that you need one gateway most times, please look at /var/log/syslog when you restart networking to see what is causing the RTNETLINK error
I think that has something to do with having 2 default routes, both the same. What is your desired configuration? What are you attempting to accomplish? Can you also please post the output of ifconfig -a
Thank you. You were right. I removed the gateway designation from the second interface, and now it works.
What is the best configuration for my file server with 2 GigE interfaces? I'd like to maximize the file server's responsiveness to clients on the LAN. The machine has minimal need to communicate with the WAN.
I'm also curious how I would set up a direct connection between this file server and another computer used for backup (say, using a crossover cable) so that when I do the initial backup, all those GB of traffic don't clog up the LAN.
And if I wanted to give one (Linux) client a priority connection (both ways) to the file server, is there an easy way to do that? The client also has 2 GigE interfaces, and one is not used currently.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.