Routing tablesInternet:Destination Gateway Flags Netif Expire...4.2.2.3 98.51.132.1 UGHS cxl1...
ping 4.2.2.3PING 4.2.2.3 (4.2.2.3): 56 data bytes^C--- 4.2.2.3 ping statistics ---5 packets transmitted, 0 packets received, 100.0% packet loss
tcpdump -n -i cxl1 icmp...20:02:51.431991 IP 98.51.135.187 > 4.2.2.3: ICMP echo request, id 18212, seq 963, length 820:02:51.460338 IP 4.2.2.3 > 98.51.135.187: ICMP echo reply, id 18212, seq 963, length 820:02:51.460349 IP 4.2.2.3 > 98.51.135.187: ICMP echo reply, id 18212, seq 963, length 8
/usr/local/bin/dpinger -f -S -r 0 -i WAN_DHCP -B 98.51.135.187 -p /var/run/dpinger_WAN_DHCP.pid -u /var/run/dpinger_WAN_DHCP.sock -C /usr/local/etc/rc.syshook monitor -s 1s -l 2s -t 60s -A 1s -D 500 -L 20 -d 0 4.2.2.3
/* * If the gateway is the same as the monitor we do not add a * route as this will break the routing table. * Add static routes for each gateway with their monitor IP * not strictly necessary but is an added level of protection. */ if (is_ipaddrv4($gateway['gateway']) && $gateway['monitor'] != $gateway['gateway']) { log_error("Adding static route for monitor {$gateway['monitor']} via {$gateway['gateway']}"); system_host_route($gateway['monitor'], $gateway['gateway'], false, true); }
tcpdump -n -i cxl1 icmp...20:09:37.074603 IP 98.51.135.187 > 4.2.2.3: ICMP echo request, id 8970, seq 12, length 820:09:37.111082 IP 4.2.2.3 > 98.51.135.187: ICMP echo reply, id 8970, seq 12, length 8
ping -S 98.51.135.187 4.2.2.3PING 4.2.2.3 (4.2.2.3) from 98.51.135.187: 56 data bytes64 bytes from 4.2.2.3: icmp_seq=0 ttl=57 time=18.534 ms64 bytes from 4.2.2.3: icmp_seq=1 ttl=57 time=17.202 ms