Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two nics, two nets - cantalk to one of them...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
netcetera
n00b
n00b


Joined: 10 Feb 2003
Posts: 30
Location: ummm, ya , let me get back to you on that...

PostPosted: Sat Dec 13, 2003 4:14 pm    Post subject: Two nics, two nets - cantalk to one of them... Reply with quote

Not sure what is happeniong here - though I have never put 2 NIC's in 1 box before.

Simple scenario, eth0 is part of 192.168.1.x

Code:
eth0      Link encap:Ethernet  HWaddr 00:01:02:42:AC:04
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::201:2ff:fe42:ac04/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2596 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1332 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:218961 (213.8 Kb)  TX bytes:175779 (171.6 Kb)
          Interrupt:5 Base address:0xd000


and eth1 is part of 10.0.0.x

Code:
eth1      Link encap:Ethernet  HWaddr 00:10:4B:9B:A1:E3
          inet addr:10.0.0.220  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::210:4bff:fe9b:a1e3/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82787 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:5876812 (5.6 Mb)  TX bytes:4950 (4.8 Kb)
          Interrupt:10 Base address:0xb800


It appears that both base routes are set up correctly:

Code:
netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.0.0        0.0.0.0         255.255.255.0   U        40 0          0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG       40 0          0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG       40 0          0 eth0


ping anything on the 192.168.1.x net is fine.

pinging anything on the 10.0.0.x net and something is amiss..

Code:
ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.220 icmp_seq=1 Destination Host Unreachable
From 10.0.0.220 icmp_seq=2 Destination Host Unreachable
From 10.0.0.220 icmp_seq=3 Destination Host Unreachable
64 bytes from 10.0.0.2: icmp_seq=17 ttl=128 time=0.153 ms

--- 10.0.0.2 ping statistics ---
26 packets transmitted, 1 received, +3 errors, 96% packet loss, time 25016ms
rtt min/avg/max/mdev = 0.153/0.153/0.153/0.000 ms, pipe 3


I know the default gateway is set to 192.168.1.1 via eth0, but the route to the other net is defined...

Any thoughts on what I am doing wrong ?

netcetera
_________________
If you always do what you've always done - you'll always get what you always got...
Back to top
View user's profile Send private message
hadfield
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 308
Location: Vancouver, BC, Canada

PostPosted: Sat Dec 13, 2003 6:15 pm    Post subject: Reply with quote

Perhaps you've got a bad network card or cable. Try putting eth0 on 10.0.0.220 and eth1 on 192.168.1.10 and see if you get the same result.
Back to top
View user's profile Send private message
netcetera
n00b
n00b


Joined: 10 Feb 2003
Posts: 30
Location: ummm, ya , let me get back to you on that...

PostPosted: Thu Dec 18, 2003 4:58 pm    Post subject: Reply with quote

thanx shadfie,

Just got back to it yesterday - tried different cables , etc.

Yup, bad 3com card - well maybe not bad - works good in Windoze but not in this set up.

Amazing how the basics can get ya.

Thanx
_________________
If you always do what you've always done - you'll always get what you always got...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum