Все выполняю на маршрутизаторе.
Есть интерфейс eth5
ifconfig eth5
eth5 Link encap:Ethernet HWaddr 52:54:00:4f:f8:06
inet addr:192.168.198.75 Bcast:192.168.198.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe4f:f806/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:191508 errors:0 dropped:2 overruns:0 frame:0
TX packets:29514 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22648809 (21.5 MiB) TX bytes:6457700 (6.1 MiB)
ping 192.168.198.100
PING 192.168.198.100 (192.168.198.100) 56(84) bytes of data.
From 192.168.198.75 icmp_seq=2 Destination Host Unreachable
From 192.168.198.75 icmp_seq=3 Destination Host Unreachable
From 192.168.198.75 icmp_seq=4 Destination Host Unreachable
From 192.168.198.75 icmp_seq=5 Destination Host Unreachable
From 192.168.198.75 icmp_seq=6 Destination Host Unreachable
From 192.168.198.75 icmp_seq=7 Destination Host Unreachable
From 192.168.198.75 icmp_seq=8 Destination Host Unreachable
From 192.168.198.75 icmp_seq=9 Destination Host Unreachable
From 192.168.198.75 icmp_seq=10 Destination Host Unreachable
tcpdump -i eth5 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth5, link-type EN10MB (Ethernet), capture size 65535 bytes
только ARP
tcpdump -i eth5
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth5, link-type EN10MB (Ethernet), capture size 65535 bytes
20:01:30.579432 ARP, Request who-has 192.168.198.100 tell 192.168.198.75, length 28
20:01:31.442363 STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 2316.00:1e:f7:f6:1f:40.820c, length 42
20:01:31.579597 ARP, Request who-has 192.168.198.100 tell 192.168.198.75, length 28
20:01:32.579550 ARP, Request who-has 192.168.198.100 tell 192.168.198.75, length 28
20:01:33.446187 STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 2316.00:1e:f7:f6:1f:40.820c, length 42
20:01:33.579624 ARP, Request who-has 192.168.198.100 tell 192.168.198.75, length 28
20:01:33.942374 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from b0:c5:54:80:0a:5a (oui Unknown), length 548
20:01:33.942591 IP 192.168.198.75.bootps > 192.168.198.140.bootpc: BOOTP/DHCP, Reply, length 300
20:01:34.579468 ARP, Request who-has 192.168.198.100 tell 192.168.198.75, length 28
20:01:35.494885 STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 2316.00:1e:f7:f6:1f:40.820c, length 42
20:01:35.579484 ARP, Request who-has 192.168.198.100 tell 192.168.198.75, length 28
20:01:35.942307 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from b0:c5:54:80:0a:5a (oui Unknown), length 548
20:01:35.942780 IP 192.168.198.75.bootps > 192.168.198.140.bootpc: BOOTP/DHCP, Reply, length 300
^C