listhor
Contributor
- Joined
- Mar 2, 2020
- Messages
- 133
My network setup looks as following:
GUI interface is at igb1 - 172.16.0.9.
igb2 is used as shared IPs NIC for jails, therefore it doesn't have assigned any IP - otherwise it won't accept jails IP assignment/alias. I don't know how or I'm not able to setup vlans following instructions in online manual. It simply doesn't work with jails (and maybe with Unifi hardware).
My problem is that main interface - igb1 (172.16.0.9, connected to untagged port) shows up (coming and going and sometimes stays longer) on switch clients list with IP assigned to one of jails (plex). And jail IP is shared IP assigned to other interface igb2, in other subnet (172.16.1.5, connected to tagged port, vlan11).
Config:
So, what's wrong in my setup?
GUI interface is at igb1 - 172.16.0.9.
igb2 is used as shared IPs NIC for jails, therefore it doesn't have assigned any IP - otherwise it won't accept jails IP assignment/alias. I don't know how or I'm not able to setup vlans following instructions in online manual. It simply doesn't work with jails (and maybe with Unifi hardware).
My problem is that main interface - igb1 (172.16.0.9, connected to untagged port) shows up (coming and going and sometimes stays longer) on switch clients list with IP assigned to one of jails (plex). And jail IP is shared IP assigned to other interface igb2, in other subnet (172.16.1.5, connected to tagged port, vlan11).
Config:
Code:
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
description: LAN3
options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether ac:1f:6b:d7:fb:c6
hwaddr ac:1f:6b:d7:fb:c6
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: no carrier
vmx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
description: storage net esxi
options=60039b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:0c:29:eb:9e:f5
hwaddr 00:0c:29:eb:9e:f5
inet 10.55.1.2 netmask 0xffff0000 broadcast 10.55.255.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
vmx1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
description: SMB
options=60039b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:0c:29:eb:9e:ff
hwaddr 00:0c:29:eb:9e:ff
inet 172.16.1.54 netmask 0xffffffc0 broadcast 172.16.1.63
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
description: LAN2
options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether ac:1f:6b:d7:fb:c5
hwaddr ac:1f:6b:d7:fb:c5
inet 172.16.0.9 netmask 0xffffff00 broadcast 172.16.0.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
igb2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
description: LAN4
options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether ac:1f:6b:d7:fb:c7
hwaddr ac:1f:6b:d7:fb:c7
inet 172.16.1.2 netmask 0xffffffc0 broadcast 172.16.1.63
inet 172.16.1.5 netmask 0xffffffc0 broadcast 172.16.1.63
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=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: loCode:
Routing tables Internet: Destination Gateway Flags Netif Expire default 172.16.0.1 UGS igb1 10.55.0.0/16 link#2 U vmx0 10.55.1.2 link#2 UHS lo0 127.0.0.1 lo0 UHS lo0 172.16.0.0/24 link#4 U igb1 172.16.0.9 link#4 UHS lo0 172.16.1.0/26 link#3 U vmx1 172.16.1.2 link#5 UHS lo0 172.16.1.5 link#5 UHS lo0 172.16.1.54 link#3 UHS lo0
So, what's wrong in my setup?
Last edited: