configura o túnel GRE para iniciar na reinicialização?

0

Estou tentando configurar o túnel GRE (entre 2 VBOX do servidor Ubuntu 12.04 LTS no win 7 host), mas ele continua falhando. Alguém pode ajudar ??????

a configuração em / etc / network / interfaces

VBOX A
endereço IP 172.168.1.1 / 24
Túnel IP 10.0.201.1 / 24

VBOX A
iptunnel adicionar modo tunX gre remoto 172.168.1.1 local 172.168.2.1 ttl 225
ifconfig tunX 10.0.201.1/24
ifconfig tunX up
ifconfig tunX pointopoint 10.0.201.2
ifconfig tunX multicast

VBOX B
endereço IP 172.168.2.1 / 24
Túnel IP 10.0.201.2 / 24

Túnel de fixação di VBOX B
iptunnel adiciona o modo tuny gre local 172.168.2.1 remoto 172.168.1.1 ttl 225
ifconfig tunY 10.0.201.2/24
ifconfig tunY up
ifconfig tunY pointopoint 10.0.201.1
ifconfig tunY multicast

(mas o ifconfig mostra que o túnel está ativo)


Eu realmente aprecio qualquer ajuda :)

existe alguma outra maneira de configurar o túnel GRE para iniciar na reinicialização ao lado da configuração do / etc / network / interfaces?

    
por gulamerah 05.04.2013 / 11:06

1 resposta

0

use o crontab

sudo crontab -e

insted de configurar o tempo de ect de hora de miniute por * * * * * comando > '

você usará

@reboot <command>

    
por wlraider70 12.04.2013 / 22:50