dear all:
my pc have only one physical network card em0 , then i have create bridge and add em0 as memeber . let this bridge get ipv4 and ipv6 (SLAAC) . this bridge get ipv4 and gateway was normal....but this bridge can get ipv6 with ipv6 gateway correctly ....below was my configuration :
1. add net.link.bridge.inherit_mac=1 to /etc/sysctl.conf
2.
i have read booking : https://wiki.freebsd.org/crest/the-correct-way-to-configure-bridges-in-freebsd-for-ipv6-and-ipv4
the pc boot finished . pc will get ipv6 and ipv6 gateway always . .but after 5minutes. the ipv6 gateway disappeared .....please help me. thanks..
my pc have only one physical network card em0 , then i have create bridge and add em0 as memeber . let this bridge get ipv4 and ipv6 (SLAAC) . this bridge get ipv4 and gateway was normal....but this bridge can get ipv6 with ipv6 gateway correctly ....below was my configuration :
1. add net.link.bridge.inherit_mac=1 to /etc/sysctl.conf
2.
Code:
ifconfig_em0="-tso -vlanhwtso up"
create_args_bridge5="inet6 auto_linklocal -ifdisabled addm em0 name public"
cloned_interfaces="bridge5"
ifconfig_public="inet 10.0.0.7/24"
defaultrouter="10.0.0.1"
ifconfig_public_ipv6="inet6 accept_rtadv"
i have read booking : https://wiki.freebsd.org/crest/the-correct-way-to-configure-bridges-in-freebsd-for-ipv6-and-ipv4
the pc boot finished . pc will get ipv6 and ipv6 gateway always . .but after 5minutes. the ipv6 gateway disappeared .....please help me. thanks..