mirror of
https://github.com/fspc/gbootroot.git
synced 2026-10-25 11:26:08 -04:00
From the ifupdown package, nice stuff.
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
||||||
|
|
||||||
|
# The loopback interface
|
||||||
|
auto lo
|
||||||
|
iface lo inet loopback
|
||||||
|
|
||||||
|
# You will want to edit this for your requirements.
|
||||||
|
# (network, broadcast and gateway are optional)
|
||||||
|
|
||||||
|
# In the example below the host was set-up in this way:
|
||||||
|
# ifconfig tap0 192.168.1.5
|
||||||
|
# route add -host 192.168.1.4 gw 192.168.1.5
|
||||||
|
|
||||||
|
#auto eth0
|
||||||
|
#iface eth0 inet static
|
||||||
|
# address 192.168.1.2
|
||||||
|
# netmask 255.255.255.0
|
||||||
|
# network 192.168.1.0
|
||||||
|
# broadcast 192.168.1.255
|
||||||
|
# gateway 192.168.1.5
|
||||||
|
#
|
||||||
Reference in New Issue
Block a user