Hello, Network question:
I have a computer with two network devices: eth0, eth1 eth0 Link encap:Ethernet HWaddr 00:02:B3:50:88:D3 inet addr:5.5.5.98 Bcast:5.5.5.255 inet addr:5.5.5.98 Bcast:5.5.5.255 Mask:255.255.255.0 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth1 Link encap:Ethernet HWaddr 00:02:B3:50:88:D4 inet addr:192.168.1.12 Bcast:192.168.1.63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 cat /proc/sys/net/ipv4/ip_forward 0 route: 192.168.1.17 * 255.255.255.255 UH 0 0 0 eth1 192.168.1.16 * 255.255.255.255 UH 0 0 0 eth1 192.168.1.19 * 255.255.255.255 UH 0 0 0 eth1 5.5.5.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 5.5.5.1 0.0.0.0 UG 0 0 0 eth0 gateway 5.5.5.1 (Cisco router) there is a computer in 5.5.5.0 eth0 Link encap:Ethernet HWaddr 00:D0:B7:72:EC:0B inet addr:5.5.5.138 Bcast:5.5.5.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 route: 5.5.5.0 * 255.255.255.0 U 0 0 0 eth0 loopback localhost 255.0.0.0 UG 0 0 0 lo default 5.5.5.1 0.0.0.0 UG 0 0 0 eth0 Question: Why pinging 192.168.1.12 from 5.5.5.138 is Ok ? tcpdump of .12 sudo /usr/sbin/tcpdump -f -i eth0 icmp tcpdump: listening on eth0 12:41:12.351814 5.5.5.138 > 192.168.1.12: icmp: echo request 12:41:12.351847 192.168.1.12 > 5.5.5.138: icmp: echo reply Is it right to allow any ip on computer over any device ? Thanks. -- -- [EMAIL PROTECTED] mailing list