Vous êtes sur la page 1sur 3

//////////////R1///////

Router>em
Router>en
Router>enable
Router#
Router#con
Router#conf
Router#configure t
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname r1
r1(config)#int f0/0
r1(config-if)#ip add
r1(config-if)#ip address 192.168.1.1 255.255.255.0
r1(config-if)#no sh
r1(config-if)#no shutdown

r1(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

r1(config-if)#ex
r1(config-if)#exit
r1(config)#wr
r1(config)#wri
r1(config)#do wr
Building configuration...
[OK]
r1(config)#
r1#
%SYS-5-CONFIG_I: Configured from console by console

//////// configuracion del serial//////////

r1#
r1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
r1(config)#interface FastEthernet4/0
r1(config-if)#ex
r1(config-if)#exit
r1(config)#int
r1(config)#interface s2/0
r1(config-if)#ip add
r1(config-if)#ip address 172.10.10.2 255.255.255.0
r1(config-if)#no sh
r1(config-if)#no shutdown

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

r1(config-if)#do wr
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Building configuration...
[OK]
r1(config-if)#
r1(config-if)#exit
r1(config)#

//////////////PARA EL ENRUTAMIENTO /////////

r1(config)#ip route 192.168.150.0 255.255.255.0 172.10.10.1


r1(config)#

//////////////r2/////////

Router>en
Router>enable
Router#conf
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname r2
r2(config)#int
r2(config)#interface f0/0
r2(config-if)#ip add
r2(config-if)#ip address 192.168.2.1 255.255.255.0
r2(config-if)#no
r2(config-if)#no sh
r2(config-if)#no shutdown

r2(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

r2(config-if)#do wr
r2(config-if)#do wr
Building configuration...
[OK]
r2(config-if)#ex
r2(config-if)#exit

//////////////interfaz serial ////////////

r2(config)#int s2/0
r2(config-if)#ip add
r2(config-if)#ip address 172.10.10.1 255.255.255.0
r2(config-if)#no sh
r2(config-if)#no shutdown

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


r2(config-if)#do wr
Building configuration...
[OK]
r2(config-if)#ex
r2(config-if)#exit
r2(config)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

////// PARA EL ENRUTAMIENTO //////

r2(config)#ip rou
r2(config)#ip route 192.168.1.0 255.255.255.0 172.10.10.2

Vous aimerez peut-être aussi