无法让 Hurricane Electric IPv6 隧道在 Fedora 上运行

无法让 Hurricane Electric IPv6 隧道在 Fedora 上运行

我最近搬到了一所大学,那里的所有计算机都有一个公共 IPv4 地址。由于我使用的 teredo 隧道不再工作,并且我有一个公共地址,因此我想在我的 Fedora 15 Gnome 机器上使用 Hurricane Electric 的隧道代理服务。

我已经用我的信息配置了 HE,只是想让它在 Fedora 中工作。我正在使用修改后的配置脚本费多拉维基(未经修改就无法工作)。

我的/etc/sysconfig/network配置:

NETWORKING=yes
HOSTNAME=quackpad-fedora
NTPSERVERARGS=iburst
NETWORKING_IPV6=yes
IPV6INIT=yes
IPV6_DEFAULTDEV=he-ipv6
IPV6_DEFAULTGW=2001:470:1f10:11d0::1/64   # Server IPv6 Address

和我的/etc/sysconfig/network-scripts/ifcfg-he-ipv6

DEVICE=he-ipv6
BOOTPROTO=none
ONBOOT=yes                         
IPV6INIT=yes
IPV6TUNNELIPV4=209.51.181.2        # Server IPv4 address
IPV6TUNNELIPV4LOCAL=***.***.*.***  # My IPv4 address
IPV6ADDR=2001:470:1f10:11d0::2/64  # Client IPv6 address

如果我这样做了,sudo ifup he-ipv6我会明白(为什么 ifup-eth 关心这个?)

 ERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Device he-ipv6 does not seem to be present, delaying initialization.

如果我做sudo service network restart

Sep  1 18:15:07 quackpad-fedora NetworkManager[938]: <warn> connection /org/freedesktop/NetworkManager/Settings/1 failed to activate: (2) Device not managed by NetworkManager or unavailable
Sep  1 18:15:07 quackpad-fedora NetworkManager[938]: <warn> connection /org/freedesktop/NetworkManager/Settings/2 failed to activate: (2) Device not managed by NetworkManager or unavailable
Sep  1 18:15:08 quackpad-fedora /etc/sysconfig/network-scripts/ifup-eth: Device he-ipv6 does not seem to be present, delaying initialization.
Sep  1 18:15:08 quackpad-fedora NetworkManager[938]: <warn> connection /org/freedesktop/NetworkManager/Settings/0 failed to activate: (2) Device not managed by NetworkManager or unavailable
Sep  1 18:15:08 quackpad-fedora systemd[1]: network.service: control process exited, code=exited status=1
Sep  1 18:15:08 quackpad-fedora systemd[1]: Unit network.service entered failed state.

我在这里做错了什么?为什么这些总是失败?

答案1

添加到 ifcfg-he-ipv6:

TYPE=sit

我认为在网络文件中这些行不是必需的:

NETWORKING_IPV6=
IPV6INIT=
IPV6_DEFAULTGW=

相关内容