Hi @All
I am using TrueNAS-SCALE-23.10.2 bare metal and it drives me crazy.
I have 4 NICs in the system, 2 of which are in use. One uses a static IP the other one DHCP. This works fine.
Default gateway and nameserver a set in the network section.
netstat -r shows
default via 192.168.100.1 dev ens4f1
172.16.0.0/16 dev kube-bridge proto kernel scope link src 172.16.0.1
192.168.100.0/24 dev ens4f1 proto kernel scope link src 192.168.100.19
Now I want to switch over to a static IP (in fact I'd like to add a bride on the default NIC for a VM to be accesible).
However, as soon as I switch the DHCP interface to a static IP I lose all network connections.
Using netstat -r shows as single entry only the kube-bridge, nowthing else.
Neiter the originally static interface that used to work can access the network, nor the now newly statically configured one.
I also tried to manually add a default route, didn't work or help.
Is there any way to tell truenas which interface should be the default one and make it add a default route?
Any help is appreciated. I can't imageine that I am the only one with such a setup...
Thanks
ks4z
I am using TrueNAS-SCALE-23.10.2 bare metal and it drives me crazy.
I have 4 NICs in the system, 2 of which are in use. One uses a static IP the other one DHCP. This works fine.
Default gateway and nameserver a set in the network section.
netstat -r shows
default via 192.168.100.1 dev ens4f1
172.16.0.0/16 dev kube-bridge proto kernel scope link src 172.16.0.1
192.168.100.0/24 dev ens4f1 proto kernel scope link src 192.168.100.19
Now I want to switch over to a static IP (in fact I'd like to add a bride on the default NIC for a VM to be accesible).
However, as soon as I switch the DHCP interface to a static IP I lose all network connections.
Using netstat -r shows as single entry only the kube-bridge, nowthing else.
Neiter the originally static interface that used to work can access the network, nor the now newly statically configured one.
I also tried to manually add a default route, didn't work or help.
Is there any way to tell truenas which interface should be the default one and make it add a default route?
Any help is appreciated. I can't imageine that I am the only one with such a setup...
Thanks
ks4z