|
楼主 |
发表于 2015-7-18 10:21
|
显示全部楼层
这个……我也改不了了……感觉这个应该不难,不知道我哪里弄错了……
您能帮我看一下吗?我现在电脑能正常收到ipv6的地址了,但是电脑ping6不到路由器的wan口……
我的配置如下:
/etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.67.1'
option netmask '255.255.255.0'
option ip6addr '2001:da8:215:307::1/64'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
config switch
option name 'eth1'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth1'
option vlan '1'
option ports '0 1 2 3 4'
/etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '0'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config dhcp 'lan'
option interface 'lan'
option start '10'
option limit '240'
option leasetime '12h'
option ra 'hybrid'
option dhcpv6 'hybrid'
option ndp 'hybrid'
option ra_management '1'
option force '1'
config dhcp 'wan6'
option interface 'wan'
option dhcpv6 'hybrid'
option ra 'hybrid'
option nad 'hybrid'
option master '1'
option ignore '0'
/etc/config/dhcp6s
config 'dhcp6s' 'basic'
option 'enabled' '1' # 1 = enabled; 0 = disabled
option 'interface' 'br-lan' # This is the interface the DHCPv6 server will run on
option 'config_file' '/etc/dhcp6s.conf' # Config file (as this UCI config doesn't fully support all options)
/etc/config/radvd
config interface
option interface 'lan'
option AdvSendAdvert 1
option AdvManagedFlag 1
option AdvOtherConfigFlag 1
option ignore 0
config prefix
option interface 'lan'
# If not specified, a non-link-local prefix of the interface is used
list prefix ''
option AdvOnLink 1
option AdvAutonomous 1
option prefix '2001:da8:215:307::/64'
option AdvRouterAddr 0
option ignore 0
config route
option interface 'lan'
list prefix ''
option ignore 1
config rdnss
option interface 'lan'
# If not specified, the link-local address of the interface is used
list addr ''
option ignore 1
config dnssl
option interface 'lan'
list suffix ''
option ignore 1
/etc/dhcp6s.conf
interface br-lan {
address-pool pool1 3600;
};
pool pool1 {
range 2001:da8:215:307::1000 to 2001:da8:215:307::2000 ;
};
/etc/dnsmasq.conf
dhcp-range=2001:0db8:215:307::,ra-names
enable-ra
主要就动过这几个文件,能找到的方法,我都试了……方法有点杂……估计也有点问题
请您指教一下,搞了好几天,头都大了……
十分谢谢。
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|