Redes

338 palavras 2 páginas
CANP – IFRJ – Redes de Computadores I – Prof. Roberto Pires
Programando um roteador
Considerando a rede abaixo:

Para configurar as portas com os recpectivos ip´s nos roteadores
No Router0:
--- System Configuration Dialog --Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!

Router>enable
Router#configure terminal
Router(config)#interface FastEthernet0/0
Router(config-if)# ip address 192.168.0.1 255.255.255.248
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface FastEthernet0/1
Router(config-if)# ip address 172.16.0.1 255.255.255.252
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#exit
Router#exit
Press RETURN to get started.
No Router1:
--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!

Router>enable
Router#configure terminal
Router(config)#interface FastEthernet0/1
Router(config-if)# ip address 10.0.0.1 255.255.255.248
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)# ip address 172.16.0.2 255.255.255.252
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#exit
Router#exit
Press RETURN to get started.
Para configurar as tabelas de rotas
No Router0:
Press RETURN to get started.

Router>enable
Router#configure terminal
Router(config)#router rip
Router(config-router)#network 192.168.0.0
Router(config-router)#network 172.16.0.0
Router(config-router)#exit
Router(config)#exit
Router#exit
Press RETURN to get started.
No Router1:
Press RETURN to get started.

Router>enable
Router#configure terminal
Router(config)#router rip

Relacionados

  • redes
    1439 palavras | 6 páginas
  • Rede
    3641 palavras | 15 páginas
  • Redes
    4835 palavras | 20 páginas
  • Redes
    25948 palavras | 104 páginas
  • redes
    1736 palavras | 7 páginas
  • Rede
    4901 palavras | 20 páginas
  • Redes
    3241 palavras | 13 páginas
  • Redes
    729 palavras | 3 páginas
  • redes
    1668 palavras | 7 páginas
  • Redes
    8748 palavras | 35 páginas