IER60808 2017-1

De MediaWiki do Campus São José
Ir para navegação Ir para pesquisar

Dados do Professor

Dados da Disciplina

Diário de aula

  • Scripts netkit
  • lab.conf de uma rede simples ponto a ponto

  1. Global

global[compact]=False global[mem]=32 global[vm]=4 global[clean]=True

  1. global[path]=/
  1. Equipamentos

computador0[type]=generic computador1[type]=generic

  1. Enlaces

computador0[eth0]=enlace0 computador1[eth0]=enlace0 </syntaxhighlight>

  • lab.conf de uma rede simples com switch

  1. Global

global[compact]=False global[mem]=32 global[vm]=4 global[clean]=True

  1. global[path]=/
  1. Equipamentos

computador0[type]=generic computador1[type]=generic switch0[type]=switch

  1. Enlaces

computador0[eth0]=enlace0 switch0[eth0]=enlace0 computador1[eth0]=enlace1 switch0[eth1]=enlace1 </syntaxhighlight>

  • computador0.startup para configuração de endereço de rede

  1. !/bin/bash

/hostlab/computador0-auto.sh ifconfig eth0 10.0.0.1/24 </syntaxhighlight>

Material de aula

Material suplementar