View previous topic :: View next topic |
Author |
Message |
dlambeth Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/153265388841f1121285fe0.png)
Joined: 31 Oct 2003 Posts: 123 Location: San Antonio, TX
|
Posted: Mon Dec 15, 2003 8:51 pm Post subject: 2 NICS/ Failed to bring up eth0 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Slurp53 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Jetsons/cartoon_the_jetsons_spacely.gif)
Joined: 14 Jun 2002 Posts: 255 Location: Iowa
|
Posted: Mon Dec 15, 2003 8:56 pm Post subject: |
|
|
if you do Code: | /etc/init.d/net.eth0 restart | does it restart correctly?
![Smile :)](images/smiles/icon_smile.gif) _________________ "Welcome to the Pleasuredome" -- Frankie Goes to Hollywood |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dlambeth Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/153265388841f1121285fe0.png)
Joined: 31 Oct 2003 Posts: 123 Location: San Antonio, TX
|
Posted: Mon Dec 15, 2003 8:58 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Slurp53 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Jetsons/cartoon_the_jetsons_spacely.gif)
Joined: 14 Jun 2002 Posts: 255 Location: Iowa
|
Posted: Mon Dec 15, 2003 9:04 pm Post subject: |
|
|
Are you sure you have the correct module for your nic card and that the module is loaded?
Try to check which modules are loaded
![Smile :)](images/smiles/icon_smile.gif) _________________ "Welcome to the Pleasuredome" -- Frankie Goes to Hollywood |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dlambeth Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/153265388841f1121285fe0.png)
Joined: 31 Oct 2003 Posts: 123 Location: San Antonio, TX
|
Posted: Mon Dec 15, 2003 9:07 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Slurp53 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Jetsons/cartoon_the_jetsons_spacely.gif)
Joined: 14 Jun 2002 Posts: 255 Location: Iowa
|
Posted: Mon Dec 15, 2003 9:35 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dlambeth Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/153265388841f1121285fe0.png)
Joined: 31 Oct 2003 Posts: 123 Location: San Antonio, TX
|
Posted: Mon Dec 15, 2003 10:02 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
JohnDoe Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 15 Dec 2003 Posts: 96 Location: Lisbon, Portugal
|
Posted: Mon Dec 15, 2003 11:18 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dlambeth Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/153265388841f1121285fe0.png)
Joined: 31 Oct 2003 Posts: 123 Location: San Antonio, TX
|
Posted: Tue Dec 16, 2003 2:56 pm Post subject: 2 NICS/ Failed to bring up eth0 (Found Problem, No answer) |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|