Kennyvb8
Contributor
- Joined
- Mar 18, 2017
- Messages
- 112
Hello
i got a managed switch from ubiquity managed switch 150w-8port and edgerouter x. along ofc freenas
on the freenas i got lagg0 (LACP) running. i would like to have the iocage servers on seperate vlan and the VM on same network as my main
in static routes i wrote:
10.0.2.0/24 - 10.0.2.1 LAN and
10.0.40.0/24 - 10.0.40.1 Servers
i can see it tags different tings in the unifi controller just with this set?!? anyway
i then made a vlan on the freenas name vlan40 - parent lagg0 - tag 400
then all the iocage servers died. and i noticed it added the interface to network interfaces..
i then tried changing the network on 1 jail like this
iocage set defaultrouter=10.0.40.1 jailname
iocage set ip4_addr="vnet0|10.0.40.35/24" jailname
iocage restart jailname
no connection from jail at all
without making the vlan in freenas, i can fine ping the 10.0.40.1 route(r)/gateway from jail, but as soon as i create it, i can't from jail but only from host.
used same config as my other vlan for guests wifi only difference is not tagget as guest but as servers.
also tried maka a bridge1 with only vnet:01 (jail vnet) and vlan40 but no connection..
shouldent the vlan40 interface have a connection ? as it hooks on the parent interface lagg0?
This is how it looks like now. and i want freenas iocage jails to go on vlan 400 while haveing VM staying on normal network etc.
freenas ip 10.0.2.20/24 router 10.0.2.1
- iocage jails 10.0.2.x/24 router 10.0.2.1
- VM 10.0.2.x/24 router 10.0.2.1
router edgerouter x
- switch0 10.0.2.1/24 LAN
- switch0.400 (vlan tag 400 10.0.40.1/24) Server
- switch0.500 (vlan tag 500 10.0.20.1/24) guest
Switch unifi 150w 8 ports 10.0.2.4
- network LAN 10.0.2.0/24 gateway 10.0.2.1
- network Server 10.0.40.0/24 gateway 10.0.40.1 vlan 400
- network Guest 10.0.20.0/24 gateway 10.0.20.1 vlan 500
i got a managed switch from ubiquity managed switch 150w-8port and edgerouter x. along ofc freenas
on the freenas i got lagg0 (LACP) running. i would like to have the iocage servers on seperate vlan and the VM on same network as my main
in static routes i wrote:
10.0.2.0/24 - 10.0.2.1 LAN and
10.0.40.0/24 - 10.0.40.1 Servers
i can see it tags different tings in the unifi controller just with this set?!? anyway
i then made a vlan on the freenas name vlan40 - parent lagg0 - tag 400
then all the iocage servers died. and i noticed it added the interface to network interfaces..
i then tried changing the network on 1 jail like this
iocage set defaultrouter=10.0.40.1 jailname
iocage set ip4_addr="vnet0|10.0.40.35/24" jailname
iocage restart jailname
no connection from jail at all
without making the vlan in freenas, i can fine ping the 10.0.40.1 route(r)/gateway from jail, but as soon as i create it, i can't from jail but only from host.
used same config as my other vlan for guests wifi only difference is not tagget as guest but as servers.
also tried maka a bridge1 with only vnet:01 (jail vnet) and vlan40 but no connection..
shouldent the vlan40 interface have a connection ? as it hooks on the parent interface lagg0?
This is how it looks like now. and i want freenas iocage jails to go on vlan 400 while haveing VM staying on normal network etc.
freenas ip 10.0.2.20/24 router 10.0.2.1
- iocage jails 10.0.2.x/24 router 10.0.2.1
- VM 10.0.2.x/24 router 10.0.2.1
router edgerouter x
- switch0 10.0.2.1/24 LAN
- switch0.400 (vlan tag 400 10.0.40.1/24) Server
- switch0.500 (vlan tag 500 10.0.20.1/24) guest
Switch unifi 150w 8 ports 10.0.2.4
- network LAN 10.0.2.0/24 gateway 10.0.2.1
- network Server 10.0.40.0/24 gateway 10.0.40.1 vlan 400
- network Guest 10.0.20.0/24 gateway 10.0.20.1 vlan 500
Last edited: