Created
July 25, 2017 02:42
-
-
Save mnathani/b2c682a497406cd765b068134263468a to your computer and use it in GitHub Desktop.
IPv6 /etc/network/interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@water:~# cat /etc/network/interfaces | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
source /etc/network/interfaces.d/* | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto ens160 | |
iface ens160 inet static | |
address A.B.C.G | |
netmask 255.255.255.240 | |
network A.B.C.D | |
broadcast A.B.C.E | |
gateway A.B.C.F | |
# dns-* options are implemented by the resolvconf package, if installed | |
dns-nameservers 8.8.8.8 | |
dns-search winvive.com | |
iface ens160 inet6 static | |
address fe80::2 | |
netmask 64 | |
gateway fe80::1%ens160 | |
iface ens160 inet6 static | |
address 2607:xyz:abc::71 | |
netmask 64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment