mbrainiac
(usa Debian)
Enviado em 16/10/2013 - 11:10h
Pessoal,
As chaves já foram criadas, meu problema agora esta para configurar as placas.
etho - rede interna em bridge
eth1 - rede VPN externa em nat
# configuração interface de rede
auto lo
iface lo inet loopback
# rede interna (com servidores DHCP, DNS, SSH, SAMBA em bridge)
auto eth0
iface eth0 inet static
address 192.168.10.100
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
# Minha interface de rede segundaria (Exclusiva para redeVPN externa em NAT)
auto eth1
iface eth1 inet static
address 10.15.0.0
netmask 255.255.255.0
network 10.15.0.0
broadcast 10.15.0.255
gateway 192.168.0.1
E no arquivo /etc/resolv.conf:
# [...]
domain etecpinda01.org
search etecpinda01.org
nameserver 127.0.0.1
# [...]
ERROS:
root@debianVPN:/etc/network# /etc/init.d/networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
[....] Reconfiguring network interfaces...RTNETLINK answers: File exists
Failed to bring up eth0.
RTNETLINK answers: File exists
Failed to bring up eth1.
done.
root@debianVPN:/etc/network# nano /etc/network/interfaces
root@debianVPN:/etc/network# /etc/init.d/networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
[....] Reconfiguring network interfaces...RTNETLINK answers: File exists
Failed to bring up eth0.
RTNETLINK answers: File exists
Failed to bring up eth1.
done.