dhcpv6
Shadow Hawkins on Thursday, 08 March 2007 17:45:25
Hi,
I have dhcpv6 running for the last couple of weeks to try it out.
It works fine, yet i'm having trouble setting "fixed" ip's like you could with
the old dhcp
with the old dhcpv4 ya could just specify the mac-addy and tell it to give a certain
ip in the range.
like this:
host somehostname {
hardware ethernet ff:ff:ff:ff:ff:ff;
fixed-address 192.168.0.105;
}
How would i do this with dhcpv6 ???
I've been googling for it but do not seem to find what i need.
Jeroen
dhcpv6
Shadow Hawkins on Friday, 09 March 2007 14:02:34
I'm running DHCPv6 on FreeBSD, using KAME port.
Then man dhcp6s.conf will give you the answer.
Examples
The followings are a sample configuration to provide a DNS server address
for every client as well as to delegate a permanent IPv6 prefix
2001:db8:1111::/48 to a client whose DUID is 00:01:00:01:aa:bb.
option domain-name-servers 2001:db8::35;
host kame {
duid 00:01:00:01:aa:bb;
prefix 2001:db8:1111::/48 infinity;
};
Instead of prefix, you can assign "address".
I prefer using autoconfiguration of IPv6 address (prefix taken from router advertisement) and use DHCPv6 only to distribute DNS servers, domain name, NTP servers, etc.
Unfortunately DNS update is not yet implemented.
-Dejan-
Posting is only allowed when you are logged in. |