LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2004, 03:16 AM   #1
Sheriff
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
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!.

In Conclusion help a network n00b out
Thank you for your time!
 
Old 01-08-2004, 06:57 AM   #2
ako
Member
 
Registered: Nov 2003
Location: Manila, Philippines
Distribution: Red Hat 9.0, Suse 9.0, Bayanihan Linux 3.0
Posts: 69

Rep: Reputation: 15
I also got the same problem...

please help....

-AKHMAD-
 
Old 01-08-2004, 08:19 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
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
 
Old 01-08-2004, 08:34 AM   #4
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network everywhere NIC large downloads fail Bagleemo Linux - Networking 4 02-26-2006 12:18 PM
Traffic shaping for network w/ 1 NIC johnsto Linux - Networking 2 10-10-2004 05:55 AM
Network time-out Slackware 10 kern 2.6.7 Network everwhere NIC EdwardA Linux - Hardware 2 06-26-2004 08:16 AM
Static Network config for PCMCIA NIC in RH 7.2 jboo Linux - Networking 1 01-29-2002 08:36 AM
Network problem with PCMCIA NIC martin1001 Linux - Newbie 1 09-27-2001 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration