linux网卡配置IPV6地址

您现在的位置是:首页 > Linux系统 > Centos > 正文

Centos

linux网卡配置IPV6地址

三米哥2020-12-02Centos2124
#vim/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0ONBOOT=yesIPADDR=10.183.2.4NE

#vim /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0  

ONBOOT=yes    

IPADDR=10.183.2.4        

NETMASK=255.255.255.240  

GATEWAY=10.183.2.1        

IPV6INIT=yes   

IPV6ADDR= 2408:8670:3ce0:1f05::2/64

IPV6_DEFAULTGW= 2408:8670:3ce0:1f05::1