DHCP-4.1.1架设服务器for IPV6
服务器端和客服端dhcp6s.conf,dhcp6c.conf怎么写 服务器端的配置我是这么写的# 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
服务器端:
# ifconfig eth0 inet6 add 2001:db8:00ac:18c8:1::10
# ./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
请帮忙看看 环境:两台pc都是fedora10的
再问以下就是如何在xp或者win7下设置让系统自动获得IPv6(现在不确定是我的服务器有问题还是客服端配置有问题) 环境:两台pc都是fedora10的
再问以下就是如何在xp或者win7下设置让系统自动获得IPv6(现在不确定是我的服 ...
jxq19881013 发表于 2010-03-05 15:06 http://bbs.chinaunix.net/images/common/back.gif
wireshark抓包看 检查下dhcp的日志 已确定server端是没问题的,因为我的windows7和linux下的dibber-client能获得ipv6 address,但是我用原来的client端还是获取不到ipv6地址,有谁知道怎么配置ipv6 client吗 问题找到方法了,其实我的client有获得配置信息,只是全部保存在client.lease文件中。后来我去源码中找的时候发现是因为我没有指定一个脚本(script/linux),这个脚本就是用来使配置生效的。
但是我又遇到一个问题就是我的server里面的网关不知道怎么配置,就是option选项不知道怎么写 结贴,dhcp-4.1.1server里面不提供route information,由radvd(Router Advertisement Daemon)这个程序提供。 http://www.ietf.org/rfc/rfc3315.txt 回复 7# jxq19881013
你好,我现在想在开发板上运行一个DHCPV6的客户端,我之前用的是dibbler-0.7.3-src.tar.gz,但是在交叉编译时有问题,就是把Makefile.inc里面的CXX和CC给改了,但是实际上却没有交叉编译成功,生成的可执行命令还是之前的,不是二进制形式的,你知道怎么对dibbler交叉编译吗?要改动哪些呢??谢谢!!
页:
[1]
2