IPV6

From The World according to Vissie
Jump to navigation Jump to search

Static IP address Arch

https://www.ostechnix.com/configure-static-dynamic-ip-address-arch-linux/

sudo cp /etc/netctl/ex amples/ethernet-static /etc/netctl/enp0s3
ip link set enp0s3 down
netctl stop enp0s3

vim: /etc/netctl/enp0s3
 
Description='A basic static ethernet connection'
Interface=enp0s3
Connection=ethernet

IP=static
Address=('192.168.1.102/24')
Gateway=('192.168.1.1')
DNS=('8.8.8.8' '8.8.4.4')

IP6=static
Address6=('1234:5678:9012:::6/64')
Gateway6='1234:5678:abcd::1'
DNS=('2620:0:ccc::2' '2620:0:ccd::2')
sudo netctl enable enp0s3
netctl start enp0s3
ip link set enp0s3 up