check_1_1_sp_comms
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
check_1_1_sp_comms [2021/04/08 16:50] – created walkeradmin | check_1_1_sp_comms [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Check 1+1 SP Comms | + | ====== |
+ | <color darkorange> | ||
+ | |||
+ | ---- | ||
+ | ==== Introduction ==== | ||
+ | \\ | ||
+ | The 1+1 SPs communicate with each other over the Management network using various ports, these are: | ||
+ | < | ||
+ | 15771 for Mux comms | ||
+ | |||
+ | 15772 for Simulcrypt | ||
+ | |||
+ | 15778 for stat Mux | ||
+ | </ | ||
+ | \\ | ||
+ | We can use tcpdump to monitor the traffic between the Muxes by specifying the relevant port. | ||
+ | \\ | ||
+ | tcpdump -i mngt port 15778 -Q out | ||
+ | \\ | ||
+ | This will show Stat Mux traffic (as in the stat mux control messages). | ||
+ | \\ | ||
+ | \\ | ||
+ | The active Mux will show something like below: | ||
+ | < | ||
+ | tcpdump -i eth0 port 15778 -Q out | ||
+ | |||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | </ | ||
+ | \\ | ||
+ | Where as the inactive mux will have no tcpdump output | ||
+ | \\ | ||
+ | < | ||
+ | tcpdump -i eth0 port 15778 -Q out | ||
+ | |||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | </ | ||
+ | \\ | ||
+ | If we look at the Mux Comms on 15771 then we see activity from BOTH Muxes: | ||
+ | < | ||
+ | On the Main Mux | ||
+ | |||
+ | tcpdump -i eth0 port 15771 -Q out | ||
+ | |||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | </ | ||
+ | \\ | ||
+ | < | ||
+ | On the Backup Mux | ||
+ | |||
+ | tcpdump -i eth0 port 15771 -Q out | ||
+ | |||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | 15: | ||
+ | </ | ||
+ | \\ | ||
+ | Unfortunately both outputs look the same, but if we add -A to the command line, so: | ||
+ | \\ | ||
+ | \\ | ||
+ | tcpdump -i eth0 port 15771 -Q out -A | ||
+ | \\ | ||
+ | \\ | ||
+ | We see the following: | ||
+ | \\ | ||
+ | < | ||
+ | From the MAIN Mux | ||
+ | |||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | 16: | ||
+ | E....6@.@..W........=.=....]{ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | |||
+ | 16: | ||
+ | E....]@.@..0........=.=....]{ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | |||
+ | 16: | ||
+ | E... .@.@...........=.=....]{ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | |||
+ | 16: | ||
+ | E...!.@.@...........=.=....]{ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | \\ | ||
+ | < | ||
+ | From the BACKUP Mux | ||
+ | |||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | 16: | ||
+ | E...j" | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | |||
+ | 16: | ||
+ | E...j.@.@...........=.=....`{ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | |||
+ | 16: | ||
+ | E...k.@.@...........=.=....`{ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | |||
+ | 16: | ||
+ | E...mZ@.@..0........=.=....`{ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | </ |
check_1_1_sp_comms.1617897023.txt.gz · Last modified: 2023/03/09 22:35 (external edit)