LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-14-2004, 01:09 PM   #1
donoss
LQ Newbie
 
Registered: Oct 2004
Location: Doncaster
Distribution: SuSE 9.1
Posts: 6

Rep: Reputation: 0
Second NIC! Can't ping


Hi,
I'm running Mandrake 10.0 Powerpack plus.

I'm trying to setup a second NIC on eth1 (see below). I can bring the NIC up using "ifconfig eth1 192.168.1.1 up" and all seems OK. However, when I try to ping the NIC from my WinXP m/c I can't. If I changethe connection to eth0 the ping works OK. Any help would be appreciated. The NIC is:
Vendor: ?Realtek
Description: ?RTL-8139
Media class: ?NETWORK_ETHERNET
Module name: ?8139too
Mac Address: ?00:10:a7:0a:ed:0b
Bus: ?PCI
Location on the bus: ?4.

ifconfig looks like this:

eth0 Link encap:Ethernet HWaddr 00:0B:CD:E7:7B:3F
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:cdff:fee7:7b3f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1857 errors:0 dropped:0 overruns:0 frame:0
TX packets:2388 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:788430 (769.9 Kb) TX bytes:280693 (274.1 Kb)
Interrupt:17 Memory:e8200000-e8210000

eth1 Link encap:Ethernet HWaddr 00:10:A7:0A:ED:0B
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::210:a7ff:fe0a:ed0b/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1512 (1.4 Kb)
Interrupt:21 Base address:0x6000

Many thanks

Andy


Last edited by donoss; 11-14-2004 at 01:12 PM.
 
Old 11-14-2004, 01:20 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,805

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
What is the IP address of the XP box? if it is 192.168.0.x then change it to 192.168.1.x
 
Old 11-14-2004, 01:38 PM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
If I understand your post corerectly, it sounds like either your gateway router or XP box does not know howto route packets to 192.168.1.0/24. i.e. via 192.168.0.2

You can test this on your XP box by typing (at a command prompt):
Code:
E:\scowles>route add 192.168.1.0 mask 255.255.255.0 192.168.0.2
If the above works, then update your gateway router so that it knows about the stub network (192.168.1.0/24), then when your XP box tries to access this network (without you manually adding the route), your gateway router will send an ICMP redirect back to the XP box; which will then add this network to its route tables automatically.
 
  


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
can't ping on 2nd nic nbccbn Linux - Networking 6 07-06-2005 05:58 PM
Can't ping second NIC donoss Linux - Networking 8 11-26-2004 11:28 AM
nic active, but can't ping beyond loopback pvl Linux - Networking 4 04-01-2004 09:14 AM
can't ping nic bjojoi Linux - Networking 7 09-03-2003 05:18 AM
3c509B NIC detected, but can only ping to myself patrickdepingui Linux - Networking 5 04-05-2003 09:49 AM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration