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
401 B
Plaintext
11 lines
401 B
Plaintext
# ifconfig under Linux is not that powerful and doesn't easily handle
|
|
# multiple addresses
|
|
# On the other hand, ip (iproute2) is quite powerful and is also supported
|
|
# ip_eth0="192.168.0.10/24; 192.168.10.10/24"
|
|
|
|
# Create a bonded interface
|
|
# interfaces="bond0"
|
|
# ifup_bond0="modprobe bonding; ifconfig bond0 up; ifenslave bond0 bge0"
|
|
# ifconfig_bond0="192.168.0.10/24"
|
|
# ifdown_bond0="rmmod bonding"
|