Both eth0 and eth1 belong to the same network that is why the latter is happening, if what you want is to route traffic to other subnets (Is this what you're trying to do?), I suggest you configure the either eth0 or eth1 e.g., 172.16.18.95. HTH.
On Fri, Jan 23, 2009 at 12:47 PM, Ozzie de Leon <[email protected]> wrote: > Hi, > > I have 2 ethernet ports embedded on my motherboard. eth0 is configured to > get an IP address via DHCP while eth1 is static. When I plug a cable on > eth1, I can only ping and ssh eth1 [which is what I expect and want], but > when I plug a cable to eth0, I'm able to ping and ssh both eth1 and eth0. Is > there something I'm missing here? Everything seems to indicate that eth1 > shouldn't be alive except /sbin/ifconfig. > > [r...@charles ~]# mii-tool eth0 > eth0: no autonegotiation, 10baseT-HD, link ok > *[r...@charles ~]# mii-tool eth1** > eth1: no link > ** *[r...@charles ~]# dmesg|grep eth > eth0: Tigon3 [partno(BCM95751) rev b002 PHY(5787)] (PCI Express) > 10/100/1000BaseT Ethernet 00:08:9b:b4:fe:f7 > eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] > TSOcap[1] > eth0: dma_rwctrl[76180000] dma_mask[64-bit] > eth1: Tigon3 [partno(BCM95751) rev b002 PHY(5787)] (PCI Express) > 10/100/1000BaseT Ethernet 00:08:9b:b4:fe:fc > eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] > TSOcap[1] > eth1: dma_rwctrl[76180000] dma_mask[64-bit] > ADDRCONF(NETDEV_UP): eth0: link is not ready > tg3: eth0: Link is up at 10 Mbps, half duplex. > tg3: eth0: Flow control is off for TX and off for RX. > ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready > eth0: no IPv6 routers present > *ADDRCONF(NETDEV_UP): eth1: link is not ready > *[r...@charles ~]# /sbin/ifconfig > eth0 Link encap:Ethernet HWaddr 00:08:9B:B4:FE:F7 > inet addr:172.16.17.15 Bcast:172.16.17.255 Mask:255.255.255.0 > inet6 addr: fe80::208:9bff:feb4:fef7/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:58 errors:0 dropped:0 overruns:0 frame:0 > TX packets:98 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:6926 (6.7 KiB) TX bytes:14034 (13.7 KiB) > Interrupt:169 > > eth1 Link encap:Ethernet HWaddr 00:08:9B:B4:FE:FC > inet addr:172.16.17.95 Bcast:172.16.17.255 Mask:255.255.255.0 > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Interrupt:177 > > 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:8 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:560 (560.0 b) TX bytes:560 (560.0 b) > > [r...@charles ~]# > > C:\Documents and Settings\Local User>ping 172.16.17.15 > > Pinging 172.16.17.15 with 32 bytes of data: > > Reply from 172.16.17.15: bytes=32 time<1ms TTL=64 > Reply from 172.16.17.15: bytes=32 time<1ms TTL=64 > Reply from 172.16.17.15: bytes=32 time<1ms TTL=64 > Reply from 172.16.17.15: bytes=32 time<1ms TTL=64 > > Ping statistics for 172.16.17.15: > Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), > Approximate round trip times in milli-seconds: > Minimum = 0ms, Maximum = 0ms, Average = 0ms > > C:\Documents and Settings\Local User>ping 172.16.17.95 > > Pinging 172.16.17.95 with 32 bytes of data: > > Reply from 172.16.17.95: bytes=32 time<1ms TTL=64 > Reply from 172.16.17.95: bytes=32 time<1ms TTL=64 > Reply from 172.16.17.95: bytes=32 time<1ms TTL=64 > Reply from 172.16.17.95: bytes=32 time<1ms TTL=64 > > Ping statistics for 172.16.17.95: > Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), > Approximate round trip times in milli-seconds: > Minimum = 0ms, Maximum = 0ms, Average = 0ms > > C:\Documents and Settings\Local User> > > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > http://lists.linux.org.ph/mailman/listinfo/plug > Searchable Archives: http://archives.free.net.ph > -- http://jangestre.wordpress.com
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

