Guest User

Untitled

a guest
Jul 23rd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. auto lo
  2. iface lo inet loopback
  3.  
  4. # device: eth0
  5. auto eth0
  6. iface eth0 inet static
  7. address ${IP1}
  8. broadcast ${BC1}
  9. netmask ${MASK}
  10. gateway ${GW}
  11. post-up mii-tool -F 100baseTx-FD eth0
  12.  
  13. #additional IPs
  14. auto eth0:0
  15. iface eth0:0 inet static
  16. address ${IP2}
  17. netmask ${MASK}
  18. gateway ${GW}
  19.  
  20. auto eth0:1
  21. iface eth0:1 inet static
  22. address ${IP3}
  23. netmask ${MASK}
  24. gateway ${GW}
  25.  
  26. # default route to access subnet
  27. 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