$ ssh root@127.16.0.1*** horizon.cloudlab: OPNsense 24.1.9_4 *** VPC (vtnet0) -> v4: 172.16.0.1/24 v6: xxxx:xxx:xx:xxx:8000::2/68 VPN (vtnet2) -> v4: 172.16.101.1/24 WAN (vtnet1) -> v4: 172.31.255.1/24 v6: xxxx:xxx:xx:xxx:4000::2/66
root@horizon:~ # netstat -nr4Routing tablesInternet:Destination Gateway Flags Netif Expiredefault 172.31.255.2 UGS vtnet1127.0.0.1 link#5 UH lo0172.16.0.0/24 link#1 U vtnet0172.16.0.1 link#1 UHS lo0172.16.101.0/24 link#3 U vtnet2172.16.101.1 link#3 UHS lo0172.31.255.0/24 link#2 U vtnet1172.31.255.1 link#2 UHS lo0
opnsense@172.31.255.1: ~ # ping 1.1.1.1PING 1.1.1.1 (1.1.1.1): 56 data bytes^C--- 1.1.1.1 ping statistics ---5 packets transmitted, 0 packets received, 100.0% packet loss
opnsense@172.31.255.1: ~ # ping 127.31.225.1PING 127.31.225.1 (127.31.225.1): 56 data bytesping: sendto: Can't assign requested addressping: sendto: Can't assign requested addressping: sendto: Can't assign requested address^C--- 127.31.225.1 ping statistics ---3 packets transmitted, 0 packets received, 100.0% packet loss
opnsense@172.31.255.1: ~ # ping 127.31.225.2PING 127.31.225.2 (127.31.225.2): 56 data bytesping: sendto: Can't assign requested addressping: sendto: Can't assign requested address^C--- 127.31.225.2 ping statistics ---2 packets transmitted, 0 packets received, 100.0% packet loss
proxmox@172.31.255.2: ~ # ip routedefault via {PUBLIC_IP} dev enp41s0 proto kernel onlink{PUBLIC_IP}/26 via {PUBLIC_GW} dev enp41s0{PUBLIC_IP}/26 dev enp41s0 proto kernel scope link src {PUBLIC_IP}172.16.0.0/24 dev vmbr1 proto kernel scope link src 172.16.0.2172.16.101.0/24 dev vmbr0.101 proto kernel scope link src 172.16.101.2172.31.255.0/24 dev vmbr0 proto kernel scope link src 172.31.255.2
proxmox@172.31.255.2: ~ # ping 1.1.1.1PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.64 bytes from 1.1.1.1: icmp_seq=1 ttl=59 time=17.1 ms64 bytes from 1.1.1.1: icmp_seq=2 ttl=59 time=17.2 ms^C--- 1.1.1.1 ping statistics ---2 packets transmitted, 2 received, 0% packet loss, time 1001msrtt min/avg/max/mdev = 17.125/17.144/17.163/0.019 ms
proxmox@172.31.255.2: ~ # ping 127.31.255.1PING 127.31.255.1 (127.31.255.1) 56(84) bytes of data.64 bytes from 127.31.255.1: icmp_seq=1 ttl=64 time=0.025 ms64 bytes from 127.31.255.1: icmp_seq=2 ttl=64 time=0.017 ms^C--- 127.31.255.1 ping statistics ---2 packets transmitted, 2 received, 0% packet loss, time 1029msrtt min/avg/max/mdev = 0.017/0.021/0.025/0.004 ms
vm@172.16.101.10 ~ $ ip routedefault via 172.16.101.1 dev eth0 metric 202172.16.101.0/24 dev eth0 scope link src 172.16.101.10
vm@172.16.101.10 ~ $ ping 172.16.0.1PING 172.16.0.1 (172.16.0.1): 56 data bytes64 bytes from 172.16.0.1: seq=0 ttl=42 time=0.116 ms64 bytes from 172.16.0.1: seq=1 ttl=42 time=0.130 ms^C--- 172.16.0.1 ping statistics ---2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 0.116/0.123/0.130 ms
vm@172.16.101.10 ~ $ ping 172.31.255.1PING 172.31.255.1 (172.31.255.1): 56 data bytes64 bytes from 172.31.255.1: seq=0 ttl=42 time=0.109 ms64 bytes from 172.31.255.1: seq=1 ttl=42 time=0.103 ms^C--- 172.31.255.1 ping statistics ---2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 0.103/0.106/0.109 ms
vm@172.16.101.10 ~ $ ping 1.1.1.1PING 1.1.1.1 (1.1.1.1): 56 data bytes64 bytes from 1.1.1.1: seq=0 ttl=42 time=17.336 ms64 bytes from 1.1.1.1: seq=1 ttl=42 time=17.287 ms^C--- 1.1.1.1 ping statistics ---2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 17.287/17.311/17.336 ms