Olá a todos

Tenho 5 IP's externo e configurei o arquivo interface assim:

auto eth2
iface eth2 inet static
address aaa.bb.157.50
network aaa.bb.157.0
netmask 255.255.255.248
post-up route add -net aaa.bb.176.0 netmask 255.255.255.0 dev eth2
post-up route add default gw aaa.bb.176.241 dev eth2

auto eth2:2
iface eth2:2 inet static
address aaa.bb.157.51
netmask 255.255.255.248

auto eth2:3
iface eth2:3 inet static
address aaa.bb.157.52
netmask 255.255.255.248

auto eth2:4
iface eth2:4 inet static
address aaa.bb.157.53
netmask 255.255.255.248

auto eth2:5
iface eth2:5 inet static
address aaa.bb.157.54
netmask 255.255.255.248

Acontece que quando o firewall por algum motivo reinicia, ele pega como
IP principal o final "51", o que não é uma boa idéia, pois no dns está
como ip principal o que finaliza com o numero 50.
O unico modo de resolver isso é se eu me "logo" no firewall e digito o
comando abaixo:
service network restart

Então o ip de saida volta a ser o fianl 50!

Como eu posso priorizar no arquivo interfaces que o ip final 50 seja
sempre o de saida??

Obrigado

Gilberto Nunes Ferreira
TI
Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672 


Disse Jesus: Eu sou o Caminho, a Verdade e a Vida. Ninguém vem ao Pai a
não ser por Mim.
Jesus said: I am the Way, the Truth and the Life. Nobody goes to Father
without Me...
<><









-- 
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece

Lista de discussão Ubuntu Brasil
Histórico, descadastramento e outras opções:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a