Here is the fabric NIC on a Debian 10 bhyve VM on cn01
:
root@k8s-worker-2:~# netstat -nr | head -2; netstat -nr | grep 192.168.1
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.128.0 0.0.0.0 255.255.252.0 U 0 0 0 net1
Here's the full routing table:
root@k8s-worker-2:~# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 net0
10.42.0.0 10.42.0.0 255.255.255.0 UG 0 0 0 flannel.1
10.42.1.108 0.0.0.0 255.255.255.255 UH 0 0 0 cali4c9f66466a5
10.42.1.109 0.0.0.0 255.255.255.255 UH 0 0 0 cali5f29d27729d
10.42.1.110 0.0.0.0 255.255.255.255 UH 0 0 0 calib324dfbd949
10.42.1.111 0.0.0.0 255.255.255.255 UH 0 0 0 cali370448994b3
10.42.1.112 0.0.0.0 255.255.255.255 UH 0 0 0 cali2f886aeb28a
10.42.1.113 0.0.0.0 255.255.255.255 UH 0 0 0 caliadf71d5c0b1
10.42.1.114 0.0.0.0 255.255.255.255 UH 0 0 0 calibbc4091a8bb
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.0.0 0.0.0.0 255.255.254.0 U 0 0 0 net0
192.168.128.0 0.0.0.0 255.255.252.0 U 0 0 0 net1
And here is a fabric NIC on a Triton volume on the HN:
[root@bb6922dd-22c7-c83a-93e0-bb311ae68947 /zones/bb6922dd-22c7-c83a-93e0-bb311ae68947/data]# netstat -nr | head -3; netstat -nr | grep 192.168.1
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
default 192.168.128.1 UG 2 598 net0
192.168.128.0 192.168.130.149 U 3 0 net0
The bhyve VM on cn01
can't ping the Triton volume over the fabric network:
root@k8s-worker-2:~# ping 192.168.130.149
PING 192.168.130.149 (192.168.130.149) 56(84) bytes of data.
From 192.168.130.142 icmp_seq=1 Destination Host Unreachable
From 192.168.130.142 icmp_seq=2 Destination Host Unreachable
From 192.168.130.142 icmp_seq=3 Destination Host Unreachable
From 192.168.130.142 icmp_seq=4 Destination Host Unreachable
From 192.168.130.142 icmp_seq=5 Destination Host Unreachable
From 192.168.130.142 icmp_seq=6 Destination Host Unreachable
^C
Here's the bhyve VM's NICS returned from
mdata-get sdc:nics
:Which correctly has the
gateway
set onnet1
but the cloud-init file does not: