24
edits
Changes
→Disable Old Physical Interface
[code]
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo eth0 eth0:1 eth0:2
# eth0:2 eth0:3
iface lo inet loopback
iface eth0 inet dhcp
# address 10.0.0.4
# netmask 255.0.0.0
# broadcast 10.0.0.255
iface eth0:1 inet static
address 10.0.0.4
netmask 255.0.0.0
broadcast 255.255.255.255
iface eth0:2 inet static
address 192.168.2.250
netmask 255.255.255.0