Página 2 de 3 PrimeiroPrimeiro 123 ÚltimoÚltimo
+ Responder ao Tópico



  1. no MK tem uma formula muito simples que um amigo meu me passou e vc cria uma range de cada vez inteira olha o exemplo abaixo pra criar apenas 5:

    add address=172.18.0.1/30 interface=ether2-Clientes
    add address=172.18.0.5/30 interface=ether2-Clientes
    add address=172.18.0.9/30 interface=ether2-Clientes
    add address=172.18.0.13/30 interface=ether2-Clientes
    add address=172.18.0.17/30 interface=ether2-Clientes

    Dica: cria isso num arquivinho TXT e monta todos eles e pra agilizar cada range pede pra substituir apenas o "0" por "1" ou "2" etc... e vai criando por grupos de ips.

    Espero ter ajudado.

  2. Mas desta forma vai dá no mesmo. Ele terá que cadastrar os ips 1 a 1.



  3. vai nao amigo... so copiar e colar....
    add address=172.18.0.1/30 interface=ether2-Clientes
    add address=172.18.0.5/30 interface=ether2-Clientes
    add address=172.18.0.9/30 interface=ether2-Clientes
    add address=172.18.0.13/30 interface=ether2-Clientes
    add address=172.18.0.17/30 interface=ether2-Clientes
    add address=172.18.0.21/30 interface=ether2-Clientes
    add address=172.18.0.25/30 interface=ether2-Clientes
    add address=172.18.0.29/30 interface=ether2-Clientes
    add address=172.18.0.33/30 interface=ether2-Clientes
    add address=172.18.0.37/30 interface=ether2-Clientes
    add address=172.18.0.41/30 interface=ether2-Clientes
    add address=172.18.0.45/30 interface=ether2-Clientes
    add address=172.18.0.49/30 interface=ether2-Clientes
    add address=172.18.0.53/30 interface=ether2-Clientes
    add address=172.18.0.57/30 interface=ether2-Clientes
    add address=172.18.0.61/30 interface=ether2-Clientes
    add address=172.18.0.65/30 interface=ether2-Clientes
    add address=172.18.0.69/30 interface=ether2-Clientes
    add address=172.18.0.73/30 interface=ether2-Clientes
    add address=172.18.0.77/30 interface=ether2-Clientes
    add address=172.18.0.81/30 interface=ether2-Clientes
    add address=172.18.0.85/30 interface=ether2-Clientes
    add address=172.18.0.89/30 interface=ether2-Clientes
    add address=172.18.0.93/30 interface=ether2-Clientes
    add address=172.18.0.97/30 interface=ether2-Clientes
    add address=172.18.0.101/30 interface=ether2-Clientes
    add address=172.18.0.105/30 interface=ether2-Clientes
    add address=172.18.0.109/30 interface=ether2-Clientes
    add address=172.18.0.113/30 interface=ether2-Clientes
    add address=172.18.0.117/30 interface=ether2-Clientes
    add address=172.18.0.121/30 interface=ether2-Clientes
    add address=172.18.0.125/30 interface=ether2-Clientes
    add address=172.18.0.129/30 interface=ether2-Clientes
    add address=172.18.0.133/30 interface=ether2-Clientes
    add address=172.18.0.137/30 interface=ether2-Clientes
    add address=172.18.0.141/30 interface=ether2-Clientes
    add address=172.18.0.145/30 interface=ether2-Clientes
    add address=172.18.0.149/30 interface=ether2-Clientes
    add address=172.18.0.153/30 interface=ether2-Clientes
    add address=172.18.0.157/30 interface=ether2-Clientes
    add address=172.18.0.161/30 interface=ether2-Clientes
    add address=172.18.0.165/30 interface=ether2-Clientes
    add address=172.18.0.169/30 interface=ether2-Clientes
    add address=172.18.0.173/30 interface=ether2-Clientes
    add address=172.18.0.177/30 interface=ether2-Clientes
    add address=172.18.0.181/30 interface=ether2-Clientes
    add address=172.18.0.185/30 interface=ether2-Clientes
    add address=172.18.0.189/30 interface=ether2-Clientes
    add address=172.18.0.193/30 interface=ether2-Clientes
    add address=172.18.0.197/30 interface=ether2-Clientes
    add address=172.18.0.201/30 interface=ether2-Clientes
    add address=172.18.0.205/30 interface=ether2-Clientes
    add address=172.18.0.209/30 interface=ether2-Clientes
    add address=172.18.0.213/30 interface=ether2-Clientes
    add address=172.18.0.217/30 interface=ether2-Clientes
    add address=172.18.0.221/30 interface=ether2-Clientes
    add address=172.18.0.225/30 interface=ether2-Clientes
    add address=172.18.0.229/30 interface=ether2-Clientes
    add address=172.18.0.233/30 interface=ether2-Clientes
    add address=172.18.0.237/30 interface=ether2-Clientes
    add address=172.18.0.241/30 interface=ether2-Clientes
    add address=172.18.0.245/30 interface=ether2-Clientes
    add address=172.18.0.249/30 interface=ether2-Clientes
    add address=172.18.0.253/30 interface=ether2-Clientes
    add address=172.18.1.1/30 interface=ether2-Clientes
    add address=172.18.1.5/30 interface=ether2-Clientes
    add address=172.18.1.9/30 interface=ether2-Clientes
    add address=172.18.1.13/30 interface=ether2-Clientes
    add address=172.18.1.17/30 interface=ether2-Clientes
    add address=172.18.1.21/30 interface=ether2-Clientes
    add address=172.18.1.25/30 interface=ether2-Clientes
    add address=172.18.1.29/30 interface=ether2-Clientes
    add address=172.18.1.33/30 interface=ether2-Clientes
    add address=172.18.1.37/30 interface=ether2-Clientes
    add address=172.18.1.41/30 interface=ether2-Clientes
    add address=172.18.1.45/30 interface=ether2-Clientes
    add address=172.18.1.49/30 interface=ether2-Clientes
    add address=172.18.1.53/30 interface=ether2-Clientes
    add address=172.18.1.57/30 interface=ether2-Clientes
    add address=172.18.1.61/30 interface=ether2-Clientes
    add address=172.18.1.65/30 interface=ether2-Clientes
    add address=172.18.1.69/30 interface=ether2-Clientes
    add address=172.18.1.73/30 interface=ether2-Clientes
    add address=172.18.1.77/30 interface=ether2-Clientes
    add address=172.18.1.81/30 interface=ether2-Clientes
    add address=172.18.1.85/30 interface=ether2-Clientes
    add address=172.18.1.89/30 interface=ether2-Clientes
    add address=172.18.1.93/30 interface=ether2-Clientes
    add address=172.18.1.97/30 interface=ether2-Clientes
    add address=172.18.1.101/30 interface=ether2-Clientes
    add address=172.18.1.105/30 interface=ether2-Clientes
    add address=172.18.1.109/30 interface=ether2-Clientes
    add address=172.18.1.113/30 interface=ether2-Clientes
    add address=172.18.1.117/30 interface=ether2-Clientes
    add address=172.18.1.121/30 interface=ether2-Clientes
    add address=172.18.1.125/30 interface=ether2-Clientes
    add address=172.18.1.129/30 interface=ether2-Clientes
    add address=172.18.1.133/30 interface=ether2-Clientes
    add address=172.18.1.137/30 interface=ether2-Clientes
    add address=172.18.1.141/30 interface=ether2-Clientes
    add address=172.18.1.145/30 interface=ether2-Clientes
    add address=172.18.1.149/30 interface=ether2-Clientes
    add address=172.18.1.153/30 interface=ether2-Clientes
    add address=172.18.1.157/30 interface=ether2-Clientes
    add address=172.18.1.161/30 interface=ether2-Clientes
    add address=172.18.1.165/30 interface=ether2-Clientes
    add address=172.18.1.169/30 interface=ether2-Clientes
    add address=172.18.1.173/30 interface=ether2-Clientes
    add address=172.18.1.177/30 interface=ether2-Clientes
    add address=172.18.1.181/30 interface=ether2-Clientes
    add address=172.18.1.185/30 interface=ether2-Clientes
    add address=172.18.1.189/30 interface=ether2-Clientes
    add address=172.18.1.193/30 interface=ether2-Clientes
    add address=172.18.1.197/30 interface=ether2-Clientes
    add address=172.18.1.201/30 interface=ether2-Clientes
    add address=172.18.1.205/30 interface=ether2-Clientes
    add address=172.18.1.209/30 interface=ether2-Clientes
    add address=172.18.1.213/30 interface=ether2-Clientes
    add address=172.18.1.217/30 interface=ether2-Clientes
    add address=172.18.1.221/30 interface=ether2-Clientes
    add address=172.18.1.225/30 interface=ether2-Clientes
    add address=172.18.1.229/30 interface=ether2-Clientes
    add address=172.18.1.233/30 interface=ether2-Clientes
    add address=172.18.1.237/30 interface=ether2-Clientes
    add address=172.18.1.241/30 interface=ether2-Clientes
    add address=172.18.1.245/30 interface=ether2-Clientes
    add address=172.18.1.249/30 interface=ether2-Clientes
    add address=172.18.1.253/30 interface=ether2-Clientes

  4. add address=172.18.2.1/30 interface=ether2-Clientes
    add address=172.18.2.5/30 interface=ether2-Clientes
    add address=172.18.2.9/30 interface=ether2-Clientes
    add address=172.18.2.13/30 interface=ether2-Clientes
    add address=172.18.2.17/30 interface=ether2-Clientes
    add address=172.18.2.21/30 interface=ether2-Clientes
    add address=172.18.2.25/30 interface=ether2-Clientes
    add address=172.18.2.29/30 interface=ether2-Clientes
    add address=172.18.2.33/30 interface=ether2-Clientes
    add address=172.18.2.37/30 interface=ether2-Clientes
    add address=172.18.2.41/30 interface=ether2-Clientes
    add address=172.18.2.45/30 interface=ether2-Clientes
    add address=172.18.2.49/30 interface=ether2-Clientes
    add address=172.18.2.53/30 interface=ether2-Clientes
    add address=172.18.2.57/30 interface=ether2-Clientes
    add address=172.18.2.61/30 interface=ether2-Clientes
    add address=172.18.2.65/30 interface=ether2-Clientes
    add address=172.18.2.69/30 interface=ether2-Clientes
    add address=172.18.2.73/30 interface=ether2-Clientes
    add address=172.18.2.77/30 interface=ether2-Clientes
    add address=172.18.2.81/30 interface=ether2-Clientes
    add address=172.18.2.85/30 interface=ether2-Clientes
    add address=172.18.2.89/30 interface=ether2-Clientes
    add address=172.18.2.93/30 interface=ether2-Clientes
    add address=172.18.2.97/30 interface=ether2-Clientes
    add address=172.18.2.101/30 interface=ether2-Clientes
    add address=172.18.2.105/30 interface=ether2-Clientes
    add address=172.18.2.109/30 interface=ether2-Clientes
    add address=172.18.2.113/30 interface=ether2-Clientes
    add address=172.18.2.117/30 interface=ether2-Clientes
    add address=172.18.2.121/30 interface=ether2-Clientes
    add address=172.18.2.125/30 interface=ether2-Clientes
    add address=172.18.2.129/30 interface=ether2-Clientes
    add address=172.18.2.133/30 interface=ether2-Clientes
    add address=172.18.2.137/30 interface=ether2-Clientes
    add address=172.18.2.141/30 interface=ether2-Clientes
    add address=172.18.2.145/30 interface=ether2-Clientes
    add address=172.18.2.149/30 interface=ether2-Clientes
    add address=172.18.2.153/30 interface=ether2-Clientes
    add address=172.18.2.157/30 interface=ether2-Clientes
    add address=172.18.2.161/30 interface=ether2-Clientes
    add address=172.18.2.165/30 interface=ether2-Clientes
    add address=172.18.2.169/30 interface=ether2-Clientes
    add address=172.18.2.173/30 interface=ether2-Clientes
    add address=172.18.2.177/30 interface=ether2-Clientes
    add address=172.18.2.181/30 interface=ether2-Clientes
    add address=172.18.2.185/30 interface=ether2-Clientes
    add address=172.18.2.189/30 interface=ether2-Clientes
    add address=172.18.2.193/30 interface=ether2-Clientes
    add address=172.18.2.197/30 interface=ether2-Clientes
    add address=172.18.2.201/30 interface=ether2-Clientes
    add address=172.18.2.205/30 interface=ether2-Clientes
    add address=172.18.2.209/30 interface=ether2-Clientes
    add address=172.18.2.213/30 interface=ether2-Clientes
    add address=172.18.2.217/30 interface=ether2-Clientes
    add address=172.18.2.221/30 interface=ether2-Clientes
    add address=172.18.2.225/30 interface=ether2-Clientes
    add address=172.18.2.229/30 interface=ether2-Clientes
    add address=172.18.2.233/30 interface=ether2-Clientes
    add address=172.18.2.237/30 interface=ether2-Clientes
    add address=172.18.2.241/30 interface=ether2-Clientes
    add address=172.18.2.245/30 interface=ether2-Clientes
    add address=172.18.2.249/30 interface=ether2-Clientes
    add address=172.18.2.253/30 interface=ether2-Clientes

    se quiser mais so me falar....
    vai em "New Terminal" e cola isso todos de uma so vez



  5. Desta Forma ai que o amigo mando não rola
    Tem que ser um Script






Tópicos Similares

  1. Respostas: 3
    Último Post: 13-08-2012, 15:32
  2. Respostas: 25
    Último Post: 12-07-2009, 19:08
  3. script para gerar arquivo txt
    Por lmroot no fórum Linguagens de Programação
    Respostas: 7
    Último Post: 16-10-2006, 00:30
  4. script para adicionar usuário no linux e no samba + criar pasta home
    Por FAHHAM no fórum Linguagens de Programação
    Respostas: 2
    Último Post: 11-04-2006, 15:23
  5. Script para incluir textos no meio de arquivos
    Por Edilmar no fórum Servidores de Rede
    Respostas: 2
    Último Post: 18-11-2005, 18:56

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L