6027b0ed7d
This simply assigns static addresses and an optional default route. It's possible to add external commands as well, so to create a bonded interface. Hopefully we can add a few examples to satisfy most of the old net.lo, which is no longer installed into boot by default.
11 lines
404 B
Plaintext
11 lines
404 B
Plaintext
# Assign static IP addresses and run custom scripts per interface
|
|
# Seperate commands with ;
|
|
# Prefix with ! to run a shell script
|
|
# ifconfig_eth0="up; 192.168.0.10 netmask 255.255.255.0; ! echo up"
|
|
|
|
# You also have ifup_eth0 and ifdown_eth0 to run other commands when
|
|
# eth0 is started and stopped.
|
|
# Lastly, the interfaces variable pulls in virtual interfaces that cannot
|
|
# be automatically detected.
|
|
|