|
|
楼主 |
发表于 2021-12-7 15:04:32
|
显示全部楼层
[root@keepalievd-1 ~]# tcpdump -i eth1 vrrp # A/ I* z8 F& c$ Q. H- k- w
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode( D) t2 n9 p& b2 R) u" K
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes; ` } g. b; V* T& l" l
15:03:08.894788 IP keepalievd-1.novalocal > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 20
7 E% _. L- Z8 k15:03:09.132334 IP 192.168.0.62 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 52, prio 2, authtype simple, intvl 1s, length 20
! V: Y5 x2 w5 l5 k7 z15:03:09.895798 IP keepalievd-1.novalocal > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 20! c" n* [/ o9 R& f$ C4 |9 v
15:03:10.133082 IP 192.168.0.62 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 52, prio 2, authtype simple, intvl 1s, length 20
8 i1 O) G9 l) O( \" k" n15:03:10.896827 IP keepalievd-1.novalocal > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 20( |/ g; Y; W& Y" n# N
15:03:11.133514 IP 192.168.0.62 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 52, prio 2, authtype simple, intvl 1s, length 20( c& e J! C8 x q4 L; j
15:03:11.897792 IP keepalievd-1.novalocal > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 20
# | J2 k4 V, _. c& z( |( k5 |15:03:12.134724 IP 192.168.0.62 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 52, prio 2, authtype simple, intvl 1s, length 202 g, D7 Z# q) f- U: n. O7 n
& q1 Q/ |3 n2 S5 k8 H% C, x) e$ i, {5 y第二台设备:$ z5 {, A7 l7 T% `" w% n) D
( `7 @; B1 d4 Q+ A" p" N[root@keepalived-2 ~]# tcpdump -i eth1 vrrp6 D. T0 o+ @2 l# F* |1 o( }
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode$ u* a5 u$ j, Q
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
* }9 h8 i! B: R6 w. g6 `15:03:03.277349 IP 192.168.0.186 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 20
' L6 T) Y, v1 L' Z4 X$ e, R& g2 _) k15:03:03.516783 IP 192.168.0.62 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 52, prio 2, authtype simple, intvl 1s, length 20
6 |( o! f6 A, C: ^) D15:03:04.278375 IP 192.168.0.186 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 207 D! s9 X" P9 l. d: v5 x( x
15:03:04.517146 IP 192.168.0.62 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 52, prio 2, authtype simple, intvl 1s, length 20# j/ N! @' |" s( _1 v% X1 k1 W
15:03:05.279264 IP 192.168.0.186 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 20( R0 |& _) w" V$ y1 q0 P
15:03:05.517812 IP 192.168.0.62 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 52, prio 2, authtype simple, intvl 1s, length 20
$ T+ s9 l) k1 \" U+ G) m8 D15:03:06.280214 IP 192.168.0.186 > vrrp.mcast.net: VRRPv2, Advertisement, vrid 51, prio 100, authtype simple, intvl 1s, length 20
6 |% q/ z+ k3 f0 [8 o3 d9 z^C
( M5 k/ \/ G1 F7 ?* U0 }& C2 a0 O; C) O% z
地址通了。
2 T2 e6 x5 r$ a3 v |
|