Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@servidor-ajcueto:~# cat /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- #allow-hotplug eth0
- auto eth0
- iface eth0 inet static
- address 192.168.1.21
- netmask 255.255.255.0
- network 192.168.1.0
- broadcast 192.168.1.255
- gateway 192.168.1.1
- # dns-* options are implemented by the resolvconf package, if installed
- dns-nameservers 192.168.1.1
- # Guifi.net
- auto eth2
- iface eth2 inet static
- address 10.34.192.34 # Dirección asignada al servidor en la web
- netmask 255.255.255.224 # Máscara asignada para el servidor en la web
- gateway 10.34.192.33 # Dirección asignada al routerboard en la web
- network 10.34.192.32 # De acuerdo a la dirección del routerboard y la máscara
- broadcast 10.34.192.63 # De acuerdo a la dirección del routerboard y la máscara
- 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