LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1054|回复: 11

求助:debian5.03无法上ipv6的网站

[复制链接]
发表于 2009-12-21 20:40:28 | 显示全部楼层 |阅读模式
刚装的debian lenny,上网正常,但ipv6的一些网站如六维之类的都上不了,请各位大侠帮忙。

interfaces文件如下,双网卡,eth0没有用:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

#####DHCP##########
#auto eth0
#iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

###################################################
是不是这个文件配置的不对呢?
发表于 2009-12-21 20:45:27 | 显示全部楼层
  1. auto eth1
  2. iface eth1 inet[color=Red]6[/color] dhcp
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-21 20:50:37 | 显示全部楼层
多谢LS帮忙。
按您所说修改后,restart networking出现如下错误:
##########################################
debian:/home/yeti/vm/yeti# /etc/init.d/networking restart
Reconfiguring network interfaces.../etc/network/interfaces:14: unknown method
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:14: unknown method
ifup: couldn't read interfaces file "/etc/network/interfaces"
failed.
#########################################

改完后的文件:
########################################
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

#####DHCP##########
#auto eth0
#iface eth0 inet dhcp

auto eth1
#iface eth1 inet dhcp
iface eth1 inet6 dhcp
回复 支持 反对

使用道具 举报

发表于 2009-12-21 20:56:20 | 显示全部楼层
  1. modprobe ipv6
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-21 21:00:34 | 显示全部楼层
debian:/home/yeti/vm/yeti# modprobe ipv6
debian:/home/yeti/vm/yeti#

控制台无任何输出。
回复 支持 反对

使用道具 举报

发表于 2009-12-21 21:04:53 | 显示全部楼层
您确定自己使用的 dhcp 服务器、客户端都支持 ipv6?
学生?教育网?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-21 21:08:14 | 显示全部楼层
对,是教育网
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-21 21:08:56 | 显示全部楼层
是不是自己使用dhcp服务器我不清楚
回复 支持 反对

使用道具 举报

发表于 2009-12-21 21:11:17 | 显示全部楼层
请升级 dhcp 客户端到 experimental isc-dhcp-client。
http://packages.debian.org/experimental/isc-dhcp-client

stable testing sid 包含的 dhcp 客户端均不支持 ipv6。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-21 21:12:53 | 显示全部楼层
多谢您指教,我去试试。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表