红联Linux门户
Linux帮助

Debian IPv6

发布时间:2008-03-27 00:16:10来源:红联作者:ysgyggs
vi /etc/network/interfaces

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface

# automatically added when upgrading

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet6 static

address 2001:da8:2:10d::2

netmask 64

up route -A inet6 add default gw 2001:da8:2:10d::1 dev $IFACE

iface eth0 inet static

address 58.1.4.74

netmask 255.255.255.0

up route add default gw 58.1.4.1 dev $IFACE
文章评论

共有 0 条评论