Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/etc/network/interfaces

From COCNM
Jump to navigation Jump to search
auto lo eth0 eth1 eth2

iface lo inet loopback

iface eth0 inet static
        address         192.168.25.15
        netmask         255.255.255.0
        gateway         192.168.25.1
        post-up         bash /root/scripts/netup.sh
        pre-down        bash /root/scripts/netdown.sh

iface eth1 inet static
        address         192.168.26.1
        netmask         255.255.255.0

iface eth2 inet static
        address         192.168.27.1
        netmask         255.255.255.0