SOLVED Networking issues with bridge

buswedg

Explorer
Joined
Aug 17, 2022
Messages
69
I'm having some issues with my networking setup, with TrueNAS SCALE (and a VM running on it) not being able to ping my router or the internet with my current setup.

Here is what I have:

--------------------------
TrueNAS interfaces:

eno1 (wired ethernet):
- DHCP and Autoconfigure IPv6 are both OFF, no IP aliases

br0 (bridge):
- DHCP and Autoconfigure IPv6 are both OFF, bridge members: eno1, IP addresses: 192.168.1.135/24

global config:
- nameservers: 8.8.8.8, 8.8.4.4
- default route: 192.168.1.254

--------------------------
VM:

nic device - Attached to br0

/etc/network/interfaces:
iface ens3 inet static
address 192.168.1.136
netmask 255.255.255.0
gateway 192.168.1.254
dns-nameservers 8.8.8.8 8.8.4.4

--------------------------
Router @ 192.168.1.254:

Reserved addresses:
- MAC of br0 -- 192.168.1.135
- MAC of primary interface on VM nic -- 192.168.1.136


Here is what I can do successfully:
- A laptop (192.168.1.100) on my local network can ping TrueNAS (192.168.1.135), VM (192.168.1.136), 8.8.8.8 and google.com
- TrueNAS scale can ping the laptop (192.168.1.100) and VM (192.168.1.136)
- The VM can ping the laptop (192.168.1.100) and TrueNAS (192.168.1.135)

However:
- Both TrueNAS scale and the VM cannot ping the router (192.168.1.254), nameserver (8.8.8.8) or google.com
 
Last edited:

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Is it /25 or /24 on the bridge?

I've normally seen en0 with an IP address..... then included in the bridge. Not sure if both approaches are valid? Perhaps someone else can advise based on their config.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
You have a mask conflict. Your VM has a /24 mask, but your server has a /25 mask.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Clear ARP on your router. Since you moved MACs around, the router's cached some of the old MACs for ARP.
 
Top