LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Two NIC Network Problems (https://www.linuxquestions.org/questions/linux-networking-3/two-nic-network-problems-131960/)

Sheriff 01-06-2004 03:16 AM

Two NIC Network Problems
 
This is starting to get frustrating, i've searched and searched and havent really found anything that helps me!.

First NIC came with my cable modem it's Eth0, Slackware 9.1 configured that automatically, it works and everything is good until i put another NIC in for Internet Sharing with my other system running Windows XP...the second NIC becomes Eth1 and is detected on bootup.

Heres my problem, with two NIC's DHCP seems to get confused to which interface to listen on for Cable Internet, eth0 or eth1...because when that second NIC goes in, Internet is disconnected and both cards vanish from System Information...

Code:

From Slackware Bootup

8139 Fast ethernet driver 0.9.26
Eth0: SMC1211TX EZCARD 10/100 (Realtek RTL8139) at 0xe0a21000,00:e0:29:73:8a:16, IRQ 5

Eth1: Realtek Rtl8139 Fast Ethernet at 0xe0a23000, 00:40:f4:28:a1:00, IRQ 5

Eth0: Setting 100mbps Full-duplex based on auto-neqotiated partner ability

dhcpcd[147] broadcasting dhcp-request for 211.28.147.63
dhcpcd[136] broadcasting dhcp-request for 211.28.147.63

As you can see above Two NIC's, SMC1211TX EZCARD (Eth0) for my Cable Modem, and a Standard Realtek Rtl8139 Fast Ethernet for LAN (Eth1)

DHCPCD is broadcasting but not getting a response

Code:

Eth0: SMC1211TX EZCARD 10/100 (Realtek RTL8139) at 0xe0a21000,00:e0:29:73:8a:16, IRQ 5

dhcpcd[147] broadcasting dhcp-request for 211.28.147.63

dhcpcd[130] dhcp-ack received from (211.29.132.118)

Above is bootup when i've REMOVED that second pesky NIC (Eth1)



Now since i'm such a n00b how can i configure DHCPCD to listen ONLY on Eth0 Interface, so i can have both cards in and still remain connected to the net?

And is it possible to specify which NIC to configure in Netconfig, everyone time i run it seems to only configure Eth0, even when i have both cards in!. :scratch:

In Conclusion help a network n00b out
Thank you for your time! :)

ako 01-08-2004 06:57 AM

I also got the same problem...

please help....

-AKHMAD-

Noerr 01-08-2004 08:19 AM

you should configure dhcp (client) not dhpcd (daemon)
you should call:
dhclient eth0
-you may want to just alter startup scripts. I know RH uses XXXARGS variable in every init.d/* script, so you just put eth0 into that

Regards

elluva 01-08-2004 08:34 AM

try changing /etc/rc.d/rc.inet1.config

there is a line:
DHCP_HOSTNAME[1]=<value>
in your file this value is probably yes, it should be no


All times are GMT -5. The time now is 11:18 AM.