Hello,
I have a few VLANS defined on a FreeBSD host. I have enabled ipv6 for the vlans, however only one vlan gets an ipv6 from the router. The rest do not get an ipv6 address. All the vlans have static ipv4 addresses set. Here is my /etc/rc.conf
The output of ifconfig shows that only vlan100 gets a global routed address while vlan200 only gets a link local.
Any idea why vlan200 doesnt get a routed address?
I have a few VLANS defined on a FreeBSD host. I have enabled ipv6 for the vlans, however only one vlan gets an ipv6 from the router. The rest do not get an ipv6 address. All the vlans have static ipv4 addresses set. Here is my /etc/rc.conf
Code:
ifconfig_ix0="-rxcsum -txcsum -vlanmtu -vlanhwtso -tso4 -tso6 -vlanhwtso -vlanhwcsum up"
ifconfig_ix1="-rxcsum -txcsum -vlanmtu -vlanhwtso -tso4 -tso6 -vlanhwtso -vlanhwcsum up"
cloned_interfaces="lagg0 vlan100 vlan200"
ifconfig_lagg0="laggproto lacp laggport ix0 laggport ix1"
ifconfig_vlan100="inet 192.168.1.5 netmask 255.255.255.0 vlan 100 vlandev lagg0 fib 0"
ifconfig_vlan200="inet 192.168.2.5 netmask 255.255.255.0 vlan 200 vlandev lagg0 fib 2"
ifconfig_lo1="inet 127.0.0.2 netmask 255.255.255.0 fib 1"
ifconfig_vlan100_ipv6="inet6 accept_rtadv"
ifconfig_vlan200_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"
defaultrouter="192.168.1.1"
static_routes="vlan200_if vlan200_gw"
route_vlan200_if="-net 192.168.2.0/24 -iface vlan200 -fib 2"
route_vlan200_gw="default 192.168.2.1 -fib 2"
The output of ifconfig shows that only vlan100 gets a global routed address while vlan200 only gets a link local.
Code:
vlan100: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=400<LRO>
ether 0c:c4:7a:xx:xx:xx
inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::ec4:7axx:xxxx:xxx0%vlan100 prefixlen 64 scopeid 0x9
inet6 2601:2c2:x00:xxx:xxx:xxxx:xxxx:xxxx prefixlen 64 autoconf
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
vlan: 100 vlanpcp: 0 parent interface: lagg0
groups: vlan
vlan200: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=400400<LRO,TXCSUM_IPV6>
ether 0c:c4:7a:xx:xx:xx
inet 192.168.2.5 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::ec4:7xxx:xxxx:xxx0%vlan200 prefixlen 64 scopeid 0xa
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
fib: 2
vlan: 200 vlanpcp: 0 parent interface: lagg0
groups: vlan
Any idea why vlan200 doesnt get a routed address?