Tools/Linux_reinstall/Alpine/network/ipv6_static_interfaces

10 lines
212 B
Text
Raw Normal View History

2023-05-29 15:36:55 +08:00
auto lo
iface lo inet loopback
iface eth0 inet dhcp
iface eth0 inet6 static
address ip6Addr
netmask ip6Mask
gateway ip6Gate
pre-up echo 0 > /proc/sys/net/ipv6/conf/eth0/accept_ra