Hi all,
I've been looking for 3 days without an answer and I'm starting to get lost and nothing works.
My installation:
There are 3 vlan coming on freenas (11.2), 101, 102, 103, configured on parent link lagg0
I have created 3 addresses for these interfaces 10.1.0.1, 10.2.0.1, and 10.3.0.1
101: it is the management vlan, the GUI is bound on it (10.0.0.0.1 and gw 10.0.0.0.254/24)
102: it is the data vlan, smb is bound on it (10.2.0.1) and the default freenas gateway is 10.2.0.254
I would like to have a dedicated vlan for my DMZ: 10.3.0.0/24
When I create a "test" jail with the following options:
he doesn't have a network address. I can't understand it.
ifconfig on freenas host when jail is running :
The only time my jail works is by selecting DHCP and the jail gets a default gateway network address of 10.2.0.10.
How do I get my jail to have an address in the vlan 103, 10.3.0.0.0/24
I've been looking for 3 days without an answer and I'm starting to get lost and nothing works.
My installation:
There are 3 vlan coming on freenas (11.2), 101, 102, 103, configured on parent link lagg0
I have created 3 addresses for these interfaces 10.1.0.1, 10.2.0.1, and 10.3.0.1
101: it is the management vlan, the GUI is bound on it (10.0.0.0.1 and gw 10.0.0.0.254/24)
102: it is the data vlan, smb is bound on it (10.2.0.1) and the default freenas gateway is 10.2.0.254
I would like to have a dedicated vlan for my DMZ: 10.3.0.0/24
When I create a "test" jail with the following options:
he doesn't have a network address. I can't understand it.
ifconfig on freenas host when jail is running :
root@jokul:~ # ifconfig
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c2:a8:26
hwaddr d0:50:99:c2:a8:25
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c2:a8:26
hwaddr d0:50:99:c2:a8:26
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c2:a8:26
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
groups: lagg
laggproto lacp lagghash l2,l3,l4
laggport: igb0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: igb1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
vlan101: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=600303<RXCSUM,TXCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c2:a8:26
inet 10.1.0.3 netmask 0xffffff00 broadcast 10.1.0.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
vlan: 101 vlanpcp: 7 parent interface: lagg0
groups: vlan
vlan102: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=600303<RXCSUM,TXCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c2:a8:26
inet 10.2.0.1 netmask 0xffffff00 broadcast 10.2.0.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
vlan: 102 vlanpcp: 0 parent interface: lagg0
groups: vlan
vlan103: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=600303<RXCSUM,TXCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c2:a8:26
inet 10.3.0.1 netmask 0xffffff00 broadcast 10.3.0.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
vlan: 103 vlanpcp: 0 parent interface: lagg0
groups: vlan
bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:f8:f1:90:ef:00
nd6 options=1<PERFORMNUD>
groups: bridge
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
The only time my jail works is by selecting DHCP and the jail gets a default gateway network address of 10.2.0.10.
How do I get my jail to have an address in the vlan 103, 10.3.0.0.0/24