[OCCAID] rc.conf syntax to add a tunnel [redux]
James
james at towardex.com
Thu Feb 10 15:28:40 EST 2005
On Thu, Feb 10, 2005 at 05:18:18PM +0530, Suresh Ramasubramanian wrote:
> I know I asked this sometime back but just got around to trying it now, rather
> than using a shell script to create the gif0 interface, run ifconfig and set a
> route.
>
> This is just after I upgraded a freebsd 4.10 box to 4.11-stable
>
> ipv6_enable="YES"
> ipv6_defaultrouter="2001:4830:e0::1"
> ipv6_network_interfaces="gif0"
> gif_interfaces="gif0"
> gifconfig_gif0="204.74.68.40 204.152.184.210"
> ipv6_ifconfig_gif0="2001:4830:e0::2 2001:4830:e0::1 prefixlen 64"
> ipv6_ifconfig_gif0_alias0="2001:4830:20b0:b::2 2001:4830:e0::1 prefixlen 128"
> ipv6_ifconfig_gif0_alias1="2001:4830:20b0:b::3 2001:4830:e0::1 prefixlen 128"
>
What you should do is... treat the gif interface as "broadcast".. At least that
appears to work well for me.
> ipv6_ifconfig_gif0_alias0="2001:4830:20b0:b::2 2001:4830:e0::1 prefixlen 128"
> ipv6_ifconfig_gif0_alias1="2001:4830:20b0:b::3 2001:4830:e0::1 prefixlen 128"
You can use:
ipv6_ifconfig_gif0_alias0="2001:4830:20b0:b::2 prefixlen 64"
ipv6_ifconfig_gif0_alias1="2001:4830:20b0:b::3 prefixlen 64"
etc.
> Funny thing is - everything else comes up except the :b::3 IP in gif0_alias1
>
> Trying to assign just the tunnel endpoint IP to gif0 and then making those two
> aliases bound to lo0 (ipv6_ifconfig_lo0_alias0 and lo0_alias1) makes the two
> aliases come up, the tunnel comes up (two v4 endpoints connected, route set)
> but the gif0 alias (two v6 endpoints) doesnt come up at all.
>
> Screwy, I know - but I'm cross eyed with lack of sleep at this point (baby
> daughter at home + too much work) so I'd appreciate a kick up my backside or at
> least a gentle hint as to where I'm going wrong here.
No problem ;-)
Hope this helps,
-J
--
James Jun TowardEX Technologies, Inc.
Technical Lead Boston IPv4/IPv6 Web Hosting, Colocation and
james at towardex.com Network design/consulting & configuration services
cell: 1(978)-394-2867 web: http://www.towardex.com , noc: www.twdx.net
More information about the Occaid
mailing list