mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-12 09:08:21 -05:00
18 lines
352 B
Plaintext
18 lines
352 B
Plaintext
|
# Alpine Linux dhcp configuration for static IP
|
||
|
# Also manually set DNS in /etc/resolv.conf
|
||
|
# eg.
|
||
|
# nameserver 192.168.0.1
|
||
|
# nameserver 8.8.8.8
|
||
|
|
||
|
auto lo
|
||
|
iface lo inet loopback
|
||
|
|
||
|
auto eth0
|
||
|
iface eth0 inet static
|
||
|
address 192.168.0.147
|
||
|
netmask 255.255.255.0
|
||
|
gateway 192.168.0.1
|
||
|
# For default dynamic IP address
|
||
|
#auto eth0
|
||
|
#iface eth0 inet dhcp
|