Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto lo
- iface lo inet loopback
- # device: eth0
- auto eth0
- iface eth0 inet static
- address ${IP1}
- broadcast ${BC1}
- netmask ${MASK}
- gateway ${GW}
- post-up mii-tool -F 100baseTx-FD eth0
- #additional IPs
- auto eth0:0
- iface eth0:0 inet static
- address ${IP2}
- netmask ${MASK}
- gateway ${GW}
- auto eth0:1
- iface eth0:1 inet static
- address ${IP3}
- netmask ${MASK}
- gateway ${GW}
- # default route to access subnet
- up route add -net 46.4.77.160 netmask 255.255.255.224 gw 46.4.77.161 eth0
Add Comment
Please, Sign In to add comment