Hi
I am trying to configure static IPv6 for my VNET Jails
My setup for IPv4 works. I use bridge Jail-Public for all VNET Jails and include my physical ethernet interface igb1 to Jail-Public too. This setup does not work on IPv6.
Can anyone help? Thanks
Host /etc/rc.conf
Jail /etc/rc.conf
Jail conf
I am trying to configure static IPv6 for my VNET Jails
My setup for IPv4 works. I use bridge Jail-Public for all VNET Jails and include my physical ethernet interface igb1 to Jail-Public too. This setup does not work on IPv6.
Can anyone help? Thanks
Host /etc/rc.conf
Code:
gateway_enable="YES"
ipv6_gateway_enable="YES"
defaultrouter="192.168.1.1"
cloned_interfaces="bridge0"
ifconfig_bridge0_name="jail-public"
ifconfig_jail_public="inet 192.168.1.100/24 addm igb1 up"
ifconfig_igb1="up"
ipv6_activate_all_interfaces="YES"
ipv6_defaultrouter="xxxx:xxxx:xxxx:xxxx::1"
ifconfig_jail_public_ipv6="inet6 xxxx:xxxx:xxxx:xxxx::100/64 auto_linklocal"
Jail /etc/rc.conf
Code:
ipv6_activate_all_interfaces="YES"
ipv6_defaultrouter="xxxx:xxxx:xxxx:xxxx::100"
ifconfig_epair104b_ipv6="inet6 xxxx:xxxx:xxxx:xxxx::9/64"
Jail conf
Code:
Jail {
$id = "104";
$epair = "epair${id}";
exec.prestart = "ifconfig ${epair} create up";
exec.prestart += "ifconfig ${epair}a up descr jail:${name}";
exec.prestart += "ifconfig jail-public addm ${epair}a up";
exec.poststop = "ifconfig ${epair}a destroy";
vnet;
vnet.interface = "${epair}b";
}