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: Difference between revisions

From COCNM
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 02:19, 19 September 2013

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