Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 15:26:46 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        questions@freebsd.org
Subject:   rc.conf ifconfig ipv6 address fails at boot
Message-ID:  <4FD74396.4090202@my.gd>

next in thread | raw e-mail | index | archive | help
Hello questions,



I can't figure out what I'm doing wrong here.

Trying to get a static IPv6 on a server at boot time from rc.conf, and
that fails.

Notice I haven't set ipv6_network_interfaces , so it defaults to "auto".

=====
ipv6_enable="YES"
ipv6_defaultrouter="2a01:e35:2f1b:e2a0::1"

# VLAN 99 = WAN / CISCO INTERCONNECTION
ifconfig_vlan99="vlan 99 vlandev re0 up"
ipv4_addrs_vlan99="192.168.99.3/24"
ipv6_addrs_vlan99="2a01:e35:2f1b:e2a0::dead:beef/64"
=====


I resorted to adding the IPv6 and default gateway via a @reboot line in
/etc/crontab , but this is really not right...


The machine is running 8.3-PRERELEASE from february.



Should I instead try the following ?

ifconfig_vlan99="inet 192.168.99.3/24 vlan 99 vlandev re0 up"
ipv6_ifconfig_vlan99="2a01:e35:2f1b:e2a0::dead:beef/64"




I'm not really at liberty to reboot the server to test during work time ;)



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