pro zajímavost - pingy z rocketa do jiné sítě projdou, pokud je to rozhraní na tom nejbližším RB450G
XM.v5.5.2# ping 172.17.20.249
PING 172.17.20.249 (172.17.20.249): 56 data bytes
64 bytes from 172.17.20.249: seq=0 ttl=64 time=1.324 ms
64 bytes from 172.17.20.249: seq=1 ttl=64 time=0.308 ms
64 bytes from 172.17.20.249: seq=2 ttl=64 time=0.436 ms
^C
--- 172.17.20.249 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.308/0.689/1.324 ms
XM.v5.5.2# ping 172.17.20.250
PING 172.17.20.250 (172.17.20.250): 56 data bytes
^C
--- 172.17.20.250 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
XM.v5.5.2# ping 172.17.20.251
PING 172.17.20.251 (172.17.20.251): 56 data bytes
^C
--- 172.17.20.251 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
XM.v5.5.2# ping 172.17.20.252
PING 172.17.20.252 (172.17.20.252): 56 data bytes
^C
--- 172.17.20.252 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
XM.v5.5.
172.17.20.249 je ten RB450g, ke kterému je rocket připojen (jiné jeho eth rozhraní)
------------
XM.v5.5.2# brctl show
bridge name bridge id STP enabled interfaces
br0 ffff.002722802295 no eth0
ath0
XM.v5.5.2#
---------------
XM.v5.5.2# tcpdump -i br0 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 96 bytes
^C07:29:14.901136 IP 172.17.10.70 > 172.17.20.58: ICMP echo request, id 20149, seq 1, length 64
1 packets captured
66 packets received by filter
25 packets dropped by kernel
XM.v5.5.2#
tady jsem poslal "ze zbytku sítě" (ze svého pc) 22 pingů na klienta.
--- 172.17.20.58 ping statistics ---
22 packets transmitted, 22 received, 0% packet loss, time 21032ms
rtt min/avg/max/mdev = 3.208/4.087/6.823/0.990 ms
poté co na rocketu jsem dal ctrlC, trvalo ještě asi minutu, než se příkaz tcpdump ukončil
a toto je výstup, když jsem pingal na rocketa (172.17.20.2):
ping 172.17.20.2
PING 172.17.20.2 (172.17.20.2) 56(84) bytes of data.
^C
--- 172.17.20.2 ping statistics ---
49 packets transmitted, 0 received, 100% packet loss, time 47996ms
# tcpdump -i br0 icmp -vv
tcpdump: listening on br0, link-type EN10MB (Ethernet), capture size 96 bytes
^C07:36:07.509978 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto ICMP (1), length 38) ipa2.
gw.kohra.cz > 172.17.20.58: ICMP echo request, id 17924, seq 1, length 18
1 packets captured
22 packets received by filter
0 packets dropped by kernel
XM.v5.5.2#
ipa2.gw.kohra.cz je monitoring
-------
pro porovnání - takto se na tcpdump chová klient 172.17.20.58:
--- 172.17.20.58 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 3.553/4.116/4.652/0.389 ms
XM.v5.5.2# tcpdump -i br0 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 96 bytes
19:03:35.184467 IP 172.17.10.70 > 172.17.20.58: ICMP echo request, id 20773, seq 1, length 64
19:03:35.341126 IP 172.17.20.58 > 172.17.10.70: ICMP echo reply, id 20773, seq 1, length 64
19:03:36.185143 IP 172.17.10.70 > 172.17.20.58: ICMP echo request, id 20773, seq 2, length 64
19:03:36.185461 IP 172.17.20.58 > 172.17.10.70: ICMP echo reply, id 20773, seq 2, length 64
19:03:37.187063 IP 172.17.10.70 > 172.17.20.58: ICMP echo request, id 20773, seq 3, length 64
19:03:37.187211 IP 172.17.20.58 > 172.17.10.70: ICMP echo reply, id 20773, seq 3, length 64
19:03:38.187824 IP 172.17.10.70 > 172.17.20.58: ICMP echo request, id 20773, seq 4, length 64
19:03:38.188108 IP 172.17.20.58 > 172.17.10.70: ICMP echo reply, id 20773, seq 4, length 64
19:03:39.189187 IP 172.17.10.70 > 172.17.20.58: ICMP echo request, id 20773, seq 5, length 64
19:03:39.189336 IP 172.17.20.58 > 172.17.10.70: ICMP echo reply, id 20773, seq 5, length 64
19:03:40.190891 IP 172.17.10.70 > 172.17.20.58: ICMP echo request, id 20773, seq 6, length 64
19:03:40.191040 IP 172.17.20.58 > 172.17.10.70: ICMP echo reply, id 20773, seq 6, length 64
^C
12 packets captured
12 packets received by filter
0 packets dropped by kernel
na ctrlC reaguje okamžitě
nechápu
