Hello Everyone,
I've searched, YouTube'd, and Googled... And I can't seem to figure this out.
I am trying to set up a plugin/jail to use a VLAN.
Here are the details:
I have a Freenas Mini XL running TrueNAS-12.0-U2.1.
There are two NICs; igb0 and igb1... igb0 is dedicated for everything non-jail/plugin (webui, shares, etc)
igb1 has no IP, but is physically connected to a unifi switch (more on that later).
I created a vlan (vlan180) and has igb1 as a member. (no IP assigned)
Then I created a bridge (bridge180) and it has vlan180 as a member. (no IP assigned)
For my jail, after initial installation, I stop it > edit > Network Properties > interfaces > and set "vnet0:bridge180"
For the switch, I have a Unifi switch, with a network created that is configured for "vlan only" with a vlan ID of 180. The switch port is assigned the "All" profile, so that it gets access to the Native and 180 VLAN.
My router is a pfSense firewall, VLAN interface enabled and assigned to the appropriate downlink to the switch.
pfSense and the Unify switch are LAGG'd together across 4 ports in LACP.
---
Now, when i start the jail, I receive the following error:
Error: [EFAULT] + Acquiring DHCP address: FAILED, address received: 0.0.0.0/8 Stopped [plugin name] due to DHCP failure
In the pfSense system logs, I can see the following:
DHCPDISCOVER from d0:50:99:03:aa:47 (transmission) via lagg0.180
DHCPOFFER on 192.168.8.100 to d0:50:99:03:aa:47 (transmission) via lagg0.180
---
So, it appears as though the DHCP request is making it all the way to the router and it is responding back.
If I manually set an IP on the jail to something in the vlan180 network, the jail will show as up, but it has no connectivity.
When I try to ping either the gateway for the network, or 8.8.8.8, I get the following error:
ping: sendto: Host is down
Any idea what I'm missing in order to get this to work?
Thanks in advance!
I've searched, YouTube'd, and Googled... And I can't seem to figure this out.
I am trying to set up a plugin/jail to use a VLAN.
Here are the details:
I have a Freenas Mini XL running TrueNAS-12.0-U2.1.
There are two NICs; igb0 and igb1... igb0 is dedicated for everything non-jail/plugin (webui, shares, etc)
igb1 has no IP, but is physically connected to a unifi switch (more on that later).
I created a vlan (vlan180) and has igb1 as a member. (no IP assigned)
Then I created a bridge (bridge180) and it has vlan180 as a member. (no IP assigned)
For my jail, after initial installation, I stop it > edit > Network Properties > interfaces > and set "vnet0:bridge180"
For the switch, I have a Unifi switch, with a network created that is configured for "vlan only" with a vlan ID of 180. The switch port is assigned the "All" profile, so that it gets access to the Native and 180 VLAN.
My router is a pfSense firewall, VLAN interface enabled and assigned to the appropriate downlink to the switch.
pfSense and the Unify switch are LAGG'd together across 4 ports in LACP.
---
Now, when i start the jail, I receive the following error:
Error: [EFAULT] + Acquiring DHCP address: FAILED, address received: 0.0.0.0/8 Stopped [plugin name] due to DHCP failure
In the pfSense system logs, I can see the following:
DHCPDISCOVER from d0:50:99:03:aa:47 (transmission) via lagg0.180
DHCPOFFER on 192.168.8.100 to d0:50:99:03:aa:47 (transmission) via lagg0.180
---
So, it appears as though the DHCP request is making it all the way to the router and it is responding back.
If I manually set an IP on the jail to something in the vlan180 network, the jail will show as up, but it has no connectivity.
When I try to ping either the gateway for the network, or 8.8.8.8, I get the following error:
ping: sendto: Host is down
Any idea what I'm missing in order to get this to work?
Thanks in advance!