|
Guides All Guides and HOWTO's. |
|
Thread Tools | Display Modes |
|
|
|||
Howto: Automatically configure OpenBSD as DHCPv6 IPv6 client at boot
1. Setup LAN router as DHCPv6 server. For example: http://doc.pfsense.org/index.php/Using_IPv6_on_2.0
2. Install wide-dhcpv6 package; Code:
sudo pkg_add -iv wide-dhcpv6 Code:
sudo cp /usr/local/share/examples/wide-dhcpv6/dhcp6c.conf.sample /etc/dhcp6c.conf Code:
# The following is a sample configuration for a client on a LAN # where IPv6 addresses are assigned via DHCPv6 ("stateful address # assignment"). Use this if you want the client to query the # DHCPv6 server for an IPv6 address and for DNS servers, as in # traditional IPv4 DHCP. interface <your interface name here> { send ia-na 0; send rapid-commit; send domain-name-servers; }; id-assoc na { }; 6. add a line to /etc/rc.local like this: Code:
/usr/local/sbin/dhcp6c -c /etc/dhcp6c.conf <your interface goes here> Code:
echo """ echo "/usr/local/sbin/dhcp6c -c /etc/dhcp6c.conf <your interface goes here>" >> /etc/rc.local """|sudo sh Code:
net.inet6.icmp6.rediraccept=1 net.inet6.ip6.accept_rtadv=1 Code:
ifconfig <your interface name goes here> | grep inet6 Code:
ping6 ipv6.google.com |
Tags |
howto, ipv6, network, wide-dhcpv6 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD Configure OpenBSD Sendmail with SASL | J65nko | News | 3 | 18th March 2013 01:53 AM |
How to configure OpenBSD (5.1) to make use of Comcast's native dual stack IPv6 | SlyM | OpenBSD General | 7 | 11th March 2013 10:27 PM |
With World IPv6 Launch, IPv6 on by default will be the new normal | J65nko | News | 0 | 29th March 2012 07:59 PM |
OBSD client hangs mounting NFS; Linux client doesn't | amorphousone | OpenBSD General | 7 | 26th August 2010 05:21 AM |
HOWTO: Install and configure NVIDIA drivers on FreeBSD | tangram | Guides | 2 | 29th March 2009 08:23 PM |