Default gateway on different net

Lars Eggert lars.eggert at nokia.com
Fri Sep 24 10:56:49 UTC 2010


On 2010-9-24, at 12:06, Lasse Brandt wrote:
> IPs: 2a01:xxxx:xxxx:3183:: /64
> Gateway: 2a01:xxxx:xxxx:3180::1 /59
> 
> And this is my rc.conf:
> 
> ipv6_enable=”YES”
> ipv6_static_routes=”defgw”
> ipv6_route_defgw=”2a01:xxxx:xxxx:3180:: -prefixlen 59 -iface re0”
> ipv6_defaultrouter=”2a01:xxxx:xxxx:3180::1”
> ipv6_default_interface=”re0”

This seems very complex. Have you simply tried:

ipv6_defaultrouter="2a01:xxxx:xxxx:3180::1"
ipv6_ifconfig_re0="2a01:xxxx:xxxx:3183::1 prefixlen 64"

Lars


More information about the freebsd-net mailing list