I have a VPS that has a working IPv6 connection. Now I want to add Hurricane Electric(HE) to the mix, so I could have certain applications go through the VPS and and certain others through HE.
For HE, here's what I've tried to do..
Then I tried adding the default route this way:
However netstat -rn6F1 doesn't show the default route and obviously ping/ping6 fails with 'no route to host'.
So how can I use FIB's to add a second IPv6 gateway through HE ?
Code:
OS: FreeBSD 14.1-RELEASE
/boot/loader.conf:
net.fibs="5"
net.add_addr_allfibs="0"
For HE, here's what I've tried to do..
Code:
setfib 1 ifconfig gif0 create up
setfib 1 ifconfig gif0 tunnel 1.2.3.4 216.x.x.x mtu 1480
setfib 1 ifconfig gif0 inet6 2001:470:xx:xx::2 2001:470:xx:xx::1 prefixlen 128
setfib 1 route -6n add -host 2001:470:xx:xx::2 -iface gif0
setfib 1 route -6n add default 2001:470:xx:xx::1
add net default: gateway 2001:470:xx:xx::1 fib 1: Invalid argument <-- this error
Then I tried adding the default route this way:
Code:
setfib 1 route -6n add default -iface gif0 2001:470:xx:xx::1
add net default: gateway gif0 fib 1
However netstat -rn6F1 doesn't show the default route and obviously ping/ping6 fails with 'no route to host'.
So how can I use FIB's to add a second IPv6 gateway through HE ?