Guest User

Untitled

a guest
Apr 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. root@servidor-ajcueto:~# cat /etc/network/interfaces
  2. # This file describes the network interfaces available on your system
  3. # and how to activate them. For more information, see interfaces(5).
  4.  
  5. # The loopback network interface
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. # The primary network interface
  10. #allow-hotplug eth0
  11. auto eth0
  12. iface eth0 inet static
  13. address 192.168.1.21
  14. netmask 255.255.255.0
  15. network 192.168.1.0
  16. broadcast 192.168.1.255
  17. gateway 192.168.1.1
  18. # dns-* options are implemented by the resolvconf package, if installed
  19. dns-nameservers 192.168.1.1
  20.  
  21.  
  22. # Guifi.net
  23. auto eth2
  24. iface eth2 inet static
  25. address 10.34.192.34 # Dirección asignada al servidor en la web
  26. netmask 255.255.255.224 # Máscara asignada para el servidor en la web
  27. gateway 10.34.192.33 # Dirección asignada al routerboard en la web
  28. network 10.34.192.32 # De acuerdo a la dirección del routerboard y la máscara
  29. broadcast 10.34.192.63 # De acuerdo a la dirección del routerboard y la máscara
  30. up ip route add 10.0.0.0/8 via 10.34.192.33 # Importante añadir esta ruta
Add Comment
Please, Sign In to add comment