Sie sind auf Seite 1von 4

1.

Cong cada router

 Router 1

Router>enable
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed


state to up

Router(config-if)#ex
Router(config)#int se0/1/0
Router(config-if)#ip address 162.16.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down


Router(config-if)#ex

 Router 2
Router>enable
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se0/1/0
Router(config-if)#ip address 162.16.0.2 255.255.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to
up

Router(config-if)#ex
Router(config)#inte fa0/0
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed


state to up

Router(config-if)#ex
Router(config)#int se0/0/0/0
^
% Invalid input detected at '^' marker.
Router(config)#
Router(config)#int se0/0/0
Router(config-if)#ip address 162.17.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down


Router(config-if)#ex
Router(config)#ex

 Router 3

Router>enable
Router#cong term
^
% Invalid input detected at '^' marker.
Router#config term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se0/1/0
Router(config-if)#ip addresss 162.17.0.2 255.255.0.0
^
% Invalid input detected at '^' marker.
Router(config-if)#ip address 162.17.0.2 255.255.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

Router(config-if)#ex
Router(config)#int
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#no shut

2. Agregar direcciones a cada pc


3. Rutas estáticas

 Router 1

Router>enable
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.2.0 255.255.255.0 162.16.0.2
Router(config)#ip route 162.16.0.0 255.255.0.0 162.16.0.2
Router(config)#ip route 192.168.3.0 255.255.255.0 162.16.0.2
Router(config)#ex
 Router 2.

Router>en
Router#conf term
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.1.0 255.255.255.0 162.16.0.1
Router(config)#ip route 192.168.3.0 255.255.255.0 162.17.0.1
%Invalid next hop address (it's this router)
Router(config)#ip route 192.168.3.0 255.255.255.0 162.17.0.2
Router(config)#ex

 Router 3

Router>en
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.2.0 255.255.255.0 162.17.0.1
Router(config)#ip route 192.168.1.0 255.255.255.0 162.17.0.1
Router(config)#ip route 162.16.0.0 255.255.0.0 162.17.0.1
Router(config)#ex
Router#

Rutas dinamicas

Das könnte Ihnen auch gefallen