DHCPV6 Interface Issue with Solaris
Keith Perry (perryk)
perryk at cisco.com
Fri Aug 19 16:27:46 UTC 2011
I have a working DHCPv4 configuration on Solaris which I'm slowly trying
to replicate in a DHCPV6 environment. I say slowly, because the
V4 conf file makes extensive use of classing using both V4 options 43
and 60. Since neither classing (nor pools for that matter) are
supported
yet in Version 4.2, I've simplified the V6 conf file, approaching this
in "baby step" fashion. I'm at the point where the DHCPv6 server just
cannot figure out that it should be listening on a interface I want it
to. This interface has a Link Local address and a sub-interface I
configured
using what Solaris terms a "IPv6 Token". The IPv6 token is just a user
specified 64 bit interface ID used during autoconfiguration. Below are
the particulars. Any insights to this issue would be greatly
appreciated.
Regards,
Hardware Platform: Sun-Fire-V210
Hardware OS: Solaris 10 ( SunOS Generic_141444-09)
ISC Version: 4.2.1-P1
Listen on Interface: bge0
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
2
inet 192.168.253.10 netmask ffffff00 broadcast 192.168.253.255
ether 0:3:ba:52:55:91
bge3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
3
inet 10.90.178.40 netmask fffffe00 broadcast 10.90.179.255
ether 0:3:ba:52:55:94
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
inet6 ::1/128
bge0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 fe80::203:baff:fe52:5591/10
ether 0:3:ba:52:55:91
bge0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500 index
2
inet6 4f01:0:0:1::a/64
bge3: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 3
inet6 fe80::203:baff:fe52:5594/10
ether 0:3:ba:52:55:94
IPV6 Route Table
IRE Table: IPv6
Destination/Mask Gateway If PMTU
Rtt Ref Flags Out In/Fwd
--------------------------- --------------------------- ----- ------
----- --- ----- ------ ------
4f01:0:0:1::/64 4f01:0:0:1::a bge0:1 1500*
0 1 U 3 0
fe80::/10 fe80::203:baff:fe52:5594 bge3 1500*
0 1 U 0 0
fe80::/10 fe80::203:baff:fe52:5591 bge0 1500*
0 1 U 2 0
ff00::/8 fe80::203:baff:fe52:5591 bge0 1500*
0 1 U 0 0
default fe80::21d:a1ff:fe71:d041 bge0 1500*
0 1 UG 0 0
::1 ::1 lo0 8252*
0 1 UH 25 0
/etc/dhcpd4.conf snippet for interface bge0 which works
# DBDS Subnet - No addresses allocated
subnet 192.168.253.0 netmask 255.255.255.0 {
pool {
range 192.168.253.0 192.168.253.0;
deny dynamic bootp clients;
/etc/dhcpd6.conf snippet for interface bge0 which doesn't work
# DBDS Subnet - No addresses allocated
subnet6 4f01:0:0:1::/64 {
deny unknown-clients;
range6 4f01:0:0:1::/64;
Command used by script to start server:
/usr/sbin/dhcpd -6 -cf /etc/dhcpd6.conf -lf /var/db/dhcpd6.leases
Error Message:
Internet Systems Consortium DHCP Server 4.2.1-P1
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
Not configured to listen on any interfaces!
Unplumb bge3 IPV6 interface for grins
# ifconfig bge3 inet6 unplumb
# ifconfig -a6
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
inet6 ::1/128
bge0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 fe80::203:baff:fe52:5591/10
ether 0:3:ba:52:55:91
bge0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500 index
2
inet6 4f01:0:0:1::a/64
Error Message Changes:
Internet Systems Consortium DHCP Server 4.2.1-P1
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
Error getting interface flags for 'bge3'; No such device or address
Error getting interface information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110819/14561b30/attachment.html>
More information about the dhcp-users
mailing list