On Tue, 2006-07-18 at 16:37:23 -0400, Will H. Backman wrote...

> The man page for mygate says that one can add an IPv6 gateway address to 
> /etc/mygate, but it doesn't seem to add an entry to the routing table 
> upon reboot.  I'm not using rtsol anywhere.
> Most of my searching on the internet shows people adding a line to the 
> /etc/hostname.gif0 file, i.e:
> 
> !route -n add -host -inet6 default 2001:470:1f00:ffff::244
> 
> Adding the line to the hostname.if file does work, but putting the gateway 
> IPv6 address in /etc/mygate doesn't.
> What is the suggested way to do this?
> This is on 3.9-RELEASE.

Put it in /etc/hostname.gifX.

Such as this..

$ cat /etc/hostname.gif0
giftunnel 207.227.243.193 205.234.148.199
!ifconfig gif0 inet6 2001:4830:e5:6::2 2001:4830:e5:6::1 prefixlen 128 mtu 1480
!route -n add -inet6 default 2001:4830:e5:6::1

Then you'll be all set to go.

Reply via email to