Can't delete IPV6 addresses with ifconfig

Mark Andrews Mark_Andrews at isc.org
Fri Feb 15 00:48:36 UTC 2008


> 
> 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 at isc.org


More information about the freebsd-stable mailing list