Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2 NICS/ Failed to bring up eth0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dlambeth
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 123
Location: San Antonio, TX

PostPosted: Mon Dec 15, 2003 8:51 pm    Post subject: 2 NICS/ Failed to bring up eth0 Reply with quote

I have configured my box according to the Gentoo installation guide for using dual nics but I cannot get it to work properly. I am able to get them to work manually with IFCONFIG. I did the standard update to the /etc/conf.d/net.eth0 file and ran rc-update and it appears to work okay. I also added net.eth1 and rc-update works fine. When I manually run /etc/init.d/netmount start everything comes up and works fine. When I reboot the whole thing goes to hell. The module is loaded (3c59x) at boot. I keep getting (SIOCADDRT: Network is unreachable) bringing eth0 down, and eth1 never even loads. Can anyone please help with getting 2 NICS to work.

Thanks so much,
Darwin
dlambeth@starmountain.com
_________________
Darwin L. Lambeth
Network Administrator/Developer
FPMI
dlambeth@darwinsdomain.com
Back to top
View user's profile Send private message
Slurp53
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 255
Location: Iowa

PostPosted: Mon Dec 15, 2003 8:56 pm    Post subject: Reply with quote

if you do
Code:
/etc/init.d/net.eth0 restart
does it restart correctly?

:) :)
_________________
"Welcome to the Pleasuredome" -- Frankie Goes to Hollywood
Back to top
View user's profile Send private message
dlambeth
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 123
Location: San Antonio, TX

PostPosted: Mon Dec 15, 2003 8:58 pm    Post subject: Reply with quote

No, it gives me:

SIOCADDRT: Network is unreachable

* Failed to bring eth0 up
_________________
Darwin L. Lambeth
Network Administrator/Developer
FPMI
dlambeth@darwinsdomain.com
Back to top
View user's profile Send private message
Slurp53
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 255
Location: Iowa

PostPosted: Mon Dec 15, 2003 9:04 pm    Post subject: Reply with quote

Are you sure you have the correct module for your nic card and that the module is loaded?

Try
Code:
lsmod
to check which modules are loaded

:) :)
_________________
"Welcome to the Pleasuredome" -- Frankie Goes to Hollywood
Back to top
View user's profile Send private message
dlambeth
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 123
Location: San Antonio, TX

PostPosted: Mon Dec 15, 2003 9:07 pm    Post subject: Reply with quote

Yes, as stated in the first post the 3c9x module is loaded and working. I can get both cards working manually with IFCONFIG, but when the system boots up, it does not work. I see the 3c9x module loading okay when it's booting. I had the same problem with Gentoo on a another machine which leads me to believe there are bugs in the networking. I'm just kinda hoping it's an error with my config, but I have followed the instructions.

Thanks
_________________
Darwin L. Lambeth
Network Administrator/Developer
FPMI
dlambeth@darwinsdomain.com
Back to top
View user's profile Send private message
Slurp53
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 255
Location: Iowa

PostPosted: Mon Dec 15, 2003 9:35 pm    Post subject: Reply with quote

Could you post some revelant parts of dmesg? Maybe it could gives us some clues as to what might be wrong. I'm at a loss without more information.

SIOCADDRT: Network is unreachable

could be caused by any number of things
_________________
"Welcome to the Pleasuredome" -- Frankie Goes to Hollywood
Back to top
View user's profile Send private message
dlambeth
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 123
Location: San Antonio, TX

PostPosted: Mon Dec 15, 2003 10:02 pm    Post subject: Reply with quote

I just overwrote the net.eth0 file with the following and saved it:

ifconfig eth0 208.11.155.180 broadcast 208.11.155.255 netmask 255.255.255.0
route add -net default gw 208.11.155.1 netmask 0.0.0.0 metric 1 eth0


I get errors on boot, but at least I can get eth0 to work. This seems pretty lame that the default instructions do not work. If anyone can figure out why 2 NIC cards won't work in gentoo, please give me a clue.

Thanks
_________________
Darwin L. Lambeth
Network Administrator/Developer
FPMI
dlambeth@darwinsdomain.com
Back to top
View user's profile Send private message
JohnDoe
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2003
Posts: 96
Location: Lisbon, Portugal

PostPosted: Mon Dec 15, 2003 11:18 pm    Post subject: Reply with quote

I had a similar problem with a nic card that was configured as a module. The other card, that was built in the kernel worked pretty fine, but not the one that was to be used in a modular scheme. (The card that had problems was a ISA NE2000 clone).

Since the card worked during the installation process it wasn't having any problem.

What I tried (almost desperately) was building it directly into the kernel. After updating lilo everything worked fine. Maybe there is a problem supporting two cards in a modular scheme, I don't know. All I know is that this worked for me.
Back to top
View user's profile Send private message
dlambeth
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 123
Location: San Antonio, TX

PostPosted: Tue Dec 16, 2003 2:56 pm    Post subject: 2 NICS/ Failed to bring up eth0 (Found Problem, No answer) Reply with quote

Okay, the problem seems to be in the kernel routing because I can bring up the eth0 interface by commenting out the routing script in net.eth0 and it works fine. However; when I try:

route add -net default gw 208.11.155.1 netmask 0.0.0.0 metric 1 eth0

It craps out. So the culprit in this case is kernel routing. If anyone has any information about this please post a reply.

Thanks ahead
Darwin
_________________
Darwin L. Lambeth
Network Administrator/Developer
FPMI
dlambeth@darwinsdomain.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum