LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-02-2004, 04:22 PM   #1
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Rep: Reputation: 15
TWO NIC's


When I do ifconfig I get this

Quote:

ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:AE:BB:72
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::250:baff:feae:bb72/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6640 errors:0 dropped:0 overruns:0 frame:0
TX packets:3443 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:856392 (836.3 Kb) TX bytes:594106 (580.1 Kb)
Interrupt:14 Base address:0xdc00

eth1 Link encap:Ethernet HWaddr 00:50:BA:AE:AF:B3
inet addr:64.77.165.197 Bcast:64.77.165.255 Mask:255.255.255.192
inet6 addr: fe80::250:baff:feae:afb3/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:5856 (5.7 Kb)
Interrupt:11 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:96 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13919 (13.5 Kb) TX bytes:13919 (13.5 Kb)



For some reason I cannot ping eth1 from anywhere except at the console of the server. Can anyone help me figure out what I need to do... I also noticed that the link light is not on for eth1.. It is a known good nic.. I pulled it out of my secondary machine which was working fine...
 
Old 09-02-2004, 04:32 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
some ISPs block pings, in which case there's nothing to do...

however, if your ISP isn't blocking pings, then you might need to add an iptables rule to allow pings (your current iptables is likely blocking pings)... if that's the case, then what you need would look like this:

iptables -A INPUT -p ICMP -i eth1 --icmp-type 8 -j ACCEPT

just my two cents...
 
Old 09-02-2004, 04:39 PM   #3
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
forgot to mention that IP tables is empty
 
Old 09-03-2004, 02:24 AM   #4
timtin
LQ Newbie
 
Registered: Sep 2004
Distribution: redhat linun AS
Posts: 9

Rep: Reputation: 0
diffrent network section , from other node to ping needs IP ROUTE

use :netstat -r

to see your route table
 
Old 09-03-2004, 02:28 AM   #5
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Quote:
RX packets:0
Quote:
the link light is not on for eth1
Double check your network cables, switch port etc... You must be receiving some packets and the link light must be on.
 
Old 09-03-2004, 08:28 AM   #6
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
I have swapped out cables and switchports... still nothing.. I notice when I do the ifconfig that eth0 states that it is RUNNING and eth1 does not.. could this cause a problem>?
 
Old 09-08-2004, 02:33 PM   #7
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
OK I have wiped out all my NIC information and rebooted and configured from scratch through KUDZU... My eth1 still is not working.. Does anyone know why eth0 and lo both say RUNNING and eth1 doesn't? here is my ifconfig again:

eth0 Link encap:Ethernet HWaddr 00:50:BA:AE:BB:72
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::250:baff:feae:bb72/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2494 errors:0 dropped:0 overruns:0 frame:0
TX packets:677 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:367813 (359.1 Kb) TX bytes:91853 (89.7 Kb)
Interrupt:14 Base address:0xdc00

eth1 Link encap:Ethernet HWaddr 00:50:BA:AE:AF:B3
inet addr:64.77.165.197 Bcast:64.77.165.255 Mask:255.255.255.192
inet6 addr: fe80::250:baff:feae:afb3/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:6378 (6.2 Kb)
Interrupt:11 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12272 (11.9 Kb) TX bytes:12272 (11.9 Kb)
 
Old 09-16-2004, 11:07 AM   #8
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
How can I add the R flag to a interface?
 
Old 09-23-2004, 09:48 AM   #9
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
Well, my issue turned out to be complicated... it was a combination of 1 bad cable and I just discovered that the switch port i was trying to use was bad!!! So even if I switched cables it still wouldn't work.. Fortunatly I found a working port and everything is cool now...thanks to all who tried to help
 
  


Reply



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
1 IP for 2 NIC's turbo_acura Linux - Networking 4 10-10-2005 04:33 PM
2 NIC's help troycus Linux - Networking 18 04-07-2005 08:01 PM
Two NIC's Meatball1337 Linux - Hardware 4 11-10-2004 09:14 PM
2 NIC's plisken Linux - Networking 1 04-19-2003 03:32 PM
NIC's sscharbo Linux - Networking 1 01-11-2001 08:34 AM

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

All times are GMT -5. The time now is 10:34 AM.

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