Bob Proulx wrote:
Simon wrote:I have a debian sarge box with 2 network card as eth0 and eth1 (funny enough!).. eth0 is the default on one subnet (a single IP) and eth2 on another (listening to multiple IPs).s/eth2/eth1/ ??
Should have been eth1. Sorry.
The problem is that i can ping eth0's IP, but not eth1's... but it shows up on the box as up and i can ping on the box itself...The cable works and is plugged in. :)What does tcpdump on eth1 say? Does it hear other traffic? What IP addresses does it hear on that other wire? I am guessing that you really have a different network there than you originally thought and so the IP address there is not correct. Can you DHCP an address there? tcpdump -n -i eth1
This is pinging from my home IP address to the offending server behind our router... The packets are clearly getting to the box, but i get no ping back to home.
web1:~# tcpdump -n -i eth1 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes18:46:31.373710 IP my.home.ip.addr > my.serv.ip.addr: icmp 64: echo request seq 1 18:46:32.373103 IP my.home.ip.addr > my.serv.ip.addr: icmp 64: echo request seq 2 18:46:33.373705 IP my.home.ip.addr > my.serv.ip.addr: icmp 64: echo request seq 3 18:46:34.373811 IP my.home.ip.addr > my.serv.ip.addr: icmp 64: echo request seq 4 18:46:35.372775 IP my.home.ip.addr > my.serv.ip.addr: icmp 64: echo request seq 5 18:46:36.372288 IP my.home.ip.addr > my.serv.ip.addr: icmp 64: echo request seq 6 18:46:37.372991 IP my.home.ip.addr > my.serv.ip.addr: icmp 64: echo request seq 7