Trying to turn ipv6.sh into rc.conf directives ...

Fafa Diliha Romanova fteg at london.com
Sun Mar 13 06:13:54 PST 2005


Hey!

I'm trying to centralize my system by placing as much as possible
into rc.conf. I also think it looks prettier that way.

These settings were given to me by BTExact:

     ifconfig gif create
     ifconfig gif0 inet 213.188.174.11 213.121.24.85
     ifconfig gif0 inet6 2001:614:365::d5bb:b546 prefixlen 128
     route add -inet6 default 'fe80::%gif0'
     ifconfig lnc0 inet6 2001:614:365:6ad9:: prefixlen 64
     sysctl -w net.inet6.ip6.forwarding=1
     /usr/sbin/rtadvd lnc0

So far I've converted them to this:

     ipv6_enable="YES"
     ipv6_gateway_enable="YES"
     ipv6_network_interfaces="gif0"
     ipv6_defaultrouter="2001:614:365::"
     ipv6_network_interfaces="gif0 lnc0"
     ipv6_ifconfig_gif0="inet 213.188.174.11 213.121.24.85"
     ipv6_ifconfig_gif0="inet6 2001:614:365::d5bb:b546 prefixlen 128"
     ipv6_ifconfig_lnc0="inet6 2001:614:365:6ad9:: prefixlen 64"
     ipv6_network_interfaces="gif0 lnc0"
     ipv6_firewall_enable="YES"
     ipv6_firewall_type="open"
     rtadvd_enable="YES"
     rtadvd_interfaces="lnc0"

Does that look alright to you IPv6 gurus?
Will I now be able to reboot with a fully functional IPv6 connection?

Thank you,
-- Fafa

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



More information about the freebsd-questions mailing list