aboutsummaryrefslogtreecommitdiff
path: root/static-ip
blob: 6ffdd94fad1bed4d67cb46079126277ca8bb71e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
ip link set dev INTERFACE up

ip address add ADDRESS/PREFIX_LAN broadcast + dev INTERFACE

ip address add ADDRESS/PREFIX_LAN dev INTERFACE

ip route add PREFIX via ADDRESS dev INTERFACE

vi /etc/resolv.conf