Tools/Linux_reinstall/Alpine/network/ipv6_static_interfaces

11 lines
222 B
Text
Raw Normal View History

2023-05-29 15:36:55 +08:00
auto lo
iface lo inet loopback
2023-05-29 22:23:10 +08:00
auto eth0
2023-05-29 15:36:55 +08:00
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