Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2008 11:48:35 +1100
From:      Mark Andrews <Mark_Andrews@isc.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-stable@freebsd.org, Hajimu UMEMOTO <ume@freebsd.org>
Subject:   Re: Can't delete IPV6 addresses with ifconfig 
Message-ID:  <200802150048.m1F0mZZT029908@drugs.dv.isc.org>
In-Reply-To: Your message of "Fri, 15 Feb 2008 10:53:27 %2B1030." <200802151053.39559.doconnor@gsoft.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help

> 
> Yes, after I created a link local address for fxp0 it worked fine.
> 
> I had to do so manually though - I am not sure what is responsible for=20
> making them. I just rebooted it and it seems OK now though..
> 
> Any idea what creates the link local address at startup? (Mainly to=20
> satisfy my curiosity :)


My border gateway has:

ipv6_enable="YES"
ipv6_prefix_tx0="2001:0470:1F00:0820 fd92:7065:0b8e:0000"
ipv6_gateway_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="tx0"

I've also use a tunnel broker to get external connectivity
called from /etc/dhclient_exit_hooks

   /usr/local/bin/perl -T /etc/tunnelbroker-update-0.07b.pl &

/etc/dhclient_exit_hooks also configures the 6to4 relay so that
traffic to 6to4 addresses gets dumped to IPv4 as soon as possible.

   #
   #    Configure 6 to 4 relay
   #
   octets=`echo $new_ip_address | sed 's/\./ /g'`
   ifconfig stf0 inet6 2002:`printf %02x%02x:%02x%02x $octets`:ffff::1 \
        prefixlen 16 alias deprecated link0
   route add -inet6 2002:: -prefixlen 16 ::1
   route change -inet6 2002:: -prefixlen 16 ::1 -ifp stf0

The laptop has:

ipv6_enable="YES"

Both have firewalls, etc.

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews@isc.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802150048.m1F0mZZT029908>