A apresentação está carregando. Por favor, espere

A apresentação está carregando. Por favor, espere

Roteamento com VLAN Nome dos Alunos.

Apresentações semelhantes


Apresentação em tema: "Roteamento com VLAN Nome dos Alunos."— Transcrição da apresentação:

1 Roteamento com VLAN Nome dos Alunos

2 Máquina Virtual ifconfig eth0 20.0.0.X
wget /~jamhour/vlan.tar.gz tar –xzf vlan.tar.gz rpm –ivh vconfig<TAB> rpm –ivh lib<TAB> rpm –ivh tcp<TAB>

3 VConfig Permite criar interfaces virtuais no linux que efetuam marcação com tags de VLANs: modprobe 8021q vlan add eth0 2 ifconfig eth netmask up vlan del eth0.2 vlan 2 switch vlan 3 trunk trunk vlan 4 eth0.2 eth0.3 eth0.3 eth0.4 eth0.4 eth0.5 vlan 5

4 Exercício /25 /24 /8 vlan 2 vlan 3 1 2 /25 /25 vlan 4 vlan 5 3 4 /25 /25 vlan 6 vlan 7 5 6 /25 /25 vlan 8 vlan 9 7 8

5 Exemplo de arquivo de script
#!/bin/bash if [ $# -eq 0 ]; then echo “Digite a opcao após o script” echo "1=G1, 2=G2, 3=Restaurar" exit fi if [ $1 -eq 1 ]; then echo "Configuracao de G1" vconfig eth0 add 2 vconfig eth0 add 3 ifconfig eth netmask ifconfig eth netmask elif [ $1 -eq 2]; then echo "Esqueci de configurar G2" else vconfig del eth0.2 vconfig del eth0.3 service network restart echo "Restaurar"


Carregar ppt "Roteamento com VLAN Nome dos Alunos."

Apresentações semelhantes


Anúncios Google