- 论坛徽章:
- 0
|
服务器端的配置我是这么写的
[root@work server]# more dhcp6s.conf
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
option dhcp6.name-servers 2001:0db8:00ac:1e32::0015;
option dhcp6.domain-search "qacc.net";
subnet6 2001:db8:00ac:18c8::/64 {
range6 2001:db8:00ac:18c8:1::1 2001:db8:00ac:18c8:1::ffff;
prefix6 2001:db8:00ac:18c8:: 2001:db8:00ac:18c8:: /64;
}
有执行ip6tables -F
服务器端:
[root@work server]# ifconfig eth0 inet6 add 2001:db8:00ac:18c8:1::10
[root@work server]# ./dhcpd -6 -f -d -cf dhcp6s.conf eth0
Internet Systems Consortium DHCP Server 4.1.1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
Bound to *:547
Listening on Socket/5/eth0/2001:db8:ac:18c8::/64
Sending on Socket/5/eth0/2001:db8:ac:18c8::/64
客服端:
./dhclient -6 eth0
问题:客服端没有获得IPV6的地址
提示1:
Listening on Socket/5/eth0/2001:db8:ac:18c8::/64
Sending on Socket/5/eth0/2001:db8:ac:18c8::/64
Confirm message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0xDCE80700
Sending Reply to fe80::21e:90ff:fe7c:efd6 port 546
Renew message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0xBEEBBE00
Discarding Renew from fe80::21e:90ff:fe7c:efd6; not our server identifier (CLIENTID 00:01:00:01:13:21:ed:2b:00:1e:90:7c:ef:d6, SERVERID 00:01:00:01:13:21:da:61:00:1e:90:7c:ef:d6, server DUID 00:01:00:01:13:21:ec:52:00:1a:4b:75:18:b7)
Renew message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0xBEEBBE00
Discarding Renew from fe80::21e:90ff:fe7c:efd6; not our server identifier (CLIENTID 00:01:00:01:13:21:ed:2b:00:1e:90:7c:ef:d6, SERVERID 00:01:00:01:13:21:da:61:00:1e:90:7c:ef:d6, server DUID 00:01:00:01:13:21:ec:52:00:1a:4b:75:18:b7)
Renew message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x6990AE00
Discarding Renew from fe80::21e:90ff:fe7c:efd6; not our server identifier (CLIENTID 00:01:00:01:13:21:ed:2b:00:1e:90:7c:ef:d6, SERVERID 00:01:00:01:13:21:da:61:00:1e:90:7c:ef:d6, server DUID 00:01:00:01:13:21:ec:52:00:1a:4b:75:18:b7)
Renew message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x1ED83B00
提示2:
Listening on Socket/5/eth0/2001:db8:ac:18c8::/64
Sending on Socket/5/eth0/2001:db8:ac:18c8::/64
Confirm message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x57597700
Sending Reply to fe80::21e:90ff:fe7c:efd6 port 546
Confirm message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x57597700
Sending Reply to fe80::21e:90ff:fe7c:efd6 port 546
Confirm message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x57597700
Sending Reply to fe80::21e:90ff:fe7c:efd6 port 546
Confirm message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x57597700
Sending Reply to fe80::21e:90ff:fe7c:efd6 port 546
Solicit message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x7E8B6800
Picking pool address 2001:db8:ac:18c8:1::c3bc
Sending Advertise to fe80::21e:90ff:fe7c:efd6 port 546
Request message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0xC60C3200
Sending Reply to fe80::21e:90ff:fe7c:efd6 port 546
Renew message from fe80::21e:90ff:fe7c:efd6 port 546, transaction ID 0x66823800
Sending Reply to fe80::21e:90ff:fe7c:efd6 port 546
请帮忙看看 |
|