分类: Work__预览模式: 普通 | 列表

Debian下IPv6地址的配置

Debian下IPv6地址的配置

◆ 配置

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 2605:6400:20:8ea1::1

           netmask 64

           up route -A inet6 add default gw 2605:6400:20::1 dev $IFACE


iface eth0 inet static

              address 12.34.56.78

              netmask 255.255.255.0

              up route add default gw 12.34.56.1 dev $IFACE

查看更多...

分类:Work__ | 固定链接 | 评论: 38884 | 引用: 0 | 查看次数: 318591