Mudanças entre as edições de "Programação do Roteador Cisco 2514"
Ir para navegação
Ir para pesquisar
Linha 4: | Linha 4: | ||
* password: A | * password: A | ||
* configure terminal | * configure terminal | ||
+ | |||
* interface s0 | * interface s0 | ||
Linha 10: | Linha 11: | ||
* bandwidth 64 | * bandwidth 64 | ||
* encapsulation ppp | * encapsulation ppp | ||
+ | |||
* interface s1 | * interface s1 | ||
* shutdown | * shutdown | ||
− | + | ||
+ | |||
* interface ethernet 0 | * interface ethernet 0 | ||
* no shutdown | * no shutdown | ||
* ip address 192.168.10.2/24 255.255.255.0 | * ip address 192.168.10.2/24 255.255.255.0 | ||
+ | |||
* interface ethernet 1 | * interface ethernet 1 | ||
* shutdown | * shutdown | ||
− | + | ||
+ | |||
* router rip | * router rip | ||
* version 2 | * version 2 | ||
Linha 26: | Linha 31: | ||
* network 200.200.x.0 | * network 200.200.x.0 | ||
* network 192.168.x.0 | * network 192.168.x.0 | ||
+ | |||
* ip route 200.200.x.0 255.255.255.x 192.168.x.0 | * ip route 200.200.x.0 255.255.255.x 192.168.x.0 | ||
Linha 31: | Linha 37: | ||
* ip route 192.168.x.0 255.255.255.x 200.200.x.0 | * ip route 192.168.x.0 255.255.255.x 200.200.x.0 | ||
* ip route 192.168.x.0 255.255.255.x 200.200.x.0 | * ip route 192.168.x.0 255.255.255.x 200.200.x.0 | ||
+ | |||
* exit | * exit | ||
* WR | * WR | ||
* reload | * reload |
Edição das 19h23min de 16 de julho de 2008
* enter * password: A * enable * password: A * configure terminal
* interface s0 * no shutdown * ip adress 200.200.3.1/30 255.255.255.252 * bandwidth 64 * encapsulation ppp
* interface s1 * shutdown * interface ethernet 0 * no shutdown * ip address 192.168.10.2/24 255.255.255.0
* interface ethernet 1 * shutdown * router rip * version 2 * network 200.200.x.0 * network 200.200.x.0 * network 192.168.x.0
* ip route 200.200.x.0 255.255.255.x 192.168.x.0 * ip route 200.200.x.0 255.255.255.x 192.168.x.0 * ip route 192.168.x.0 255.255.255.x 200.200.x.0 * ip route 192.168.x.0 255.255.255.x 200.200.x.0
* exit * WR * reload