Hello all. I'm a new FreeBSD user and this is my first post here after a week of use.
I'm converting a Proxmox server over to FreeBSD and spinning up a bunch of jails for my core network services (DHCP, DNS, Unifi controller, Web, and HAProxy).
At present, my jails are working perfect with the exception of IPv6 connectivity and reading a bunch of tutorials and documentation leaves me confused on how to proceed.
I have multiple tagged VLANs trunked to the FreeBSD host and I am utterly confused how to setup VNET with them for IPv6 SLAAC support.
Host rc.conf:
Thank you in advance for any help and suggestions.
I'm converting a Proxmox server over to FreeBSD and spinning up a bunch of jails for my core network services (DHCP, DNS, Unifi controller, Web, and HAProxy).
At present, my jails are working perfect with the exception of IPv6 connectivity and reading a bunch of tutorials and documentation leaves me confused on how to proceed.
I have multiple tagged VLANs trunked to the FreeBSD host and I am utterly confused how to setup VNET with them for IPv6 SLAAC support.
Code:
root@host:/jails # jls
JID IP Address Hostname Path
30 10.23.60.21 lb1.init-3.com /jails/lb1
31 10.23.60.51 mdb1.init-3.com /jails/mdb1
32 10.23.1.2 ns1.init-3.com /jails/ns1
34 10.23.0.40 unifi.init-3.com /jails/unifi
39 10.23.60.41 rdb1.init-3.com /jails/rdb1
Host rc.conf:
Code:
ifconfig_mlxen0="up"
ifconfig_mlxen1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport mlxen0 laggport mlxen1"
vlans_lagg0="2300 2301 2310 2315 2320 2330 2350 2360 2370"
ifconfig_lagg0_2300="up"
ifconfig_lagg0_2301="up"
ifconfig_lagg0_2310="up"
ifconfig_lagg0_2315="up"
ifconfig_lagg0_2320="up"
ifconfig_lagg0_2330="up"
ifconfig_lagg0_2350="up"
ifconfig_lagg0_2360="up"
ifconfig_lagg0_2370="inet 10.23.70.21 netmask 255.255.255.0"
ifconfig_lagg0_2370_ipv6="inet6 accept_rtadv"
defaultrouter="10.23.70.1"
jail_enable="YES"
jail_list="lb1 mdb1 ns1 rdb1 unifi"
Code:
root@host:/jails # cat /etc/jail.conf
$jail_path = "/jails";
path = "$jail_path/$name";
host.hostname = "$name.init-3.com";
mount.devfs;
exec.clean;
exec.start = "sh /etc/rc";
exec.stop = "sh /etc/rc.shutdown";
jtemplate {
ip4 = inherit;
ip6 = inherit;
}
rdb1 {
# Redis
ip4.addr = "lagg0.2360|10.23.60.41";
}
unifi {
# Unifi Controller
ip4.addr = "lagg0.2300|10.23.0.40";
}
ns1 {
# DHCP + DNS
ip4.addr = "lagg0.2301|10.23.1.2";
devfs_ruleset = "5";
}
lb1 {
# HAProxy
ip4.addr = "lagg0.2360|10.23.60.21";
}
mdb1 {
# MariaDB Galera
ip4.addr = "lagg0.2360|10.23.60.51";
}
web1 {
# Nginx + PHP
ip4.addr = "lagg0.2360|10.23.60.34";
}
Thank you in advance for any help and suggestions.