Buscar

Configuração de Rede e Servidores

Prévia do material em texto

Lab.conf
p1[0]="A"
p2[0]="A"
p3[0]="A"
server1[0]="A"
server2[0]="A"
r1[0]="A"
r1[1]="B"
r1[2]="C"
serverHttp[0]="B"
serverDns[0]="B"
serverBD[0]="B"
pc1.startup
ifconfig eth0 192.168.30.11/24 up
route add default gw 192.168.30.1 dev eth0
pc2.startup
ifconfig eth0 192.168.30.12/24 up
route add default gw 192.168.30.1 dev eth0
pc3.startup
ifconfig eth0 192.168.30.13/24 up
route add default gw 192.168.30.1 dev eth0
r1.startup
ifconfig eth0 192.168.30.1/24 up
ifconfig eth1 10.10.30.1/24 up
ifconfig eth2 192.168.1.1/24 up
server1.startup
ifconfig eth0 192.168.30.4/24 up
route add default gw 192.168.30.1 dev eth0
server2.startup
ifconfig eth0 192.168.30.5/24 up
route add default gw 192.168.30.1 dev eth0
serverBD.startup
ifconfig eth0 10.10.30.5/24 up
route add default gw 10.10.30.1/24 dev eth1
serverHTTP.startup
ifconfig eth0 10.10.30.3/24 up
route add default gw 10.10.30.1/24 dev eth1

Continue navegando