SHARE
TWEET

Untitled

a guest Jun 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file describes the network interfaces available on your system
  2. # and how to active them. For more information, see interfaces(5).
  3.  
  4. # The loopback network interface
  5. auto lo
  6. iface lo inet loopback
  7.  
  8. # The primary network interface
  9. auto eth0
  10. iface eth0 inet static
  11. address 10.192.168.60
  12. netmask 255.255.254.0
  13. gateway 10.192.168.1
  14. network 10.192.168.0
  15. broadcast 10.192.169.255
  16. dns-nameserver 192.168.1.21
  17.  
  18. # The secondary network interface
  19. auto eth1
  20. iface eth1 inet static
  21. address 192.168.0.11
  22. netmask 255.255.248.0
  23. gateway 192.168.0.1
  24. network 192.168.0.0
  25. broadcast 192.168.7.255
  26. dns-nameserver 192.168.1.21
  27.      
  28. cat /etc/udev/rules.d/70-persistent-net.rules
  29.      
  30. echo 1 > /proc/sys/net/ipv4/ip_forward
  31.      
  32. auto eth0
  33. iface eth0 inet static
  34. address 10.192.168.60
  35. netmask 255.255.254.0
  36. dns-nameserver 192.168.1.21
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top