Вы находитесь на странице: 1из 4

INTERFAZ

DIRECCION IP

MASCARA DE SUBRED

GATEWAY PREDETERMINADO N/C N/C N/C N/C N/C N/C N/C 192.168.1.1 192.168.1.129 192.168.1.192

Fa0/0 HQ S0/0/0 S0/0/1 Fa0/0 B1 S0/0/0 Fa0/0 B2 S0/0/1 PC1 PC2 PC3 NIC NIC NIC

192.168.1.129 255.255.255.192 192.168.1.255 255.255.255.252 192.168.1.229 255.255.255.252 192.168.1.1 255.255.255.128

192.168.1.226 255.255.255.252 192.168.1.193 255.255.255.224 192.168.1.230 255.255.255.252 192.168.1.126 255.255.255.128 192.168.1.190 255.255.255.192 192.168.1.222 255.255.255.224

ROUTER B1
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#enable secret class R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#line vty 0 4

R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#hostname B1 B1(config)#interface FastEthernet0/0 B1(config-if)#ip address 192.168.1.1 255.255.255.128 B1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up B1(config-if)#exit B1(config)#interface serial0/0/0 B1(config-if)#ip address 192.168.1.226 255.255.255.252 B1(config-if)#clock rate 64000 B1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down B1(config-if)#exit B1(config)#end B1# %SYS-5-CONFIG_I: Configured from console by console B1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] B1#

ROUTER HQ
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable secret class Router(config)#hostname HQ HQ(config)#line console 0 HQ(config-line)#password cisco HQ(config-line)#login HQ(config-line)#exit HQ(config)#line vty 0 4 HQ(config-line)#password cisco HQ(config-line)#login HQ(config-line)#exit HQ(config)#interface FastEthernet0/0 HQ(config-if)#ip address 192.168.1.129 255.255.255.192 HQ(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up HQ(config-if)#exit HQ(config)#interface serial0/0/0 HQ(config-if)#ip address 192.168.1.225 255.255.255.252 HQ(config-if)#no shutdown HQ(config-if)# %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up exit HQ(config)#interface serial0/0/1 HQ(config-if)#ip address 192.168.1.229 255.255.255.252 HQ(config-if)#clock rate 64000 HQ(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down HQ(config-if)#exit HQ(config)#end HQ# %SYS-5-CONFIG_I: Configured from console by console HQ#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] HQ#

ROUTER B2
Router>ena Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname B2 B2(config)#enable password class B2(config)#line console 0 B2(config-line)#password cisco B2(config-line)#login B2(config-line)#exit B2(config)#line vty 0 4 B2(config-line)#password cisco B2(config-line)#login B2(config-line)#exit B2(config)#interface FastEthernet0/0

B2(config-if)#ip address 192.168.1.193 255.255.255.224 B2(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up B2(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up B2(config-if)#exit B2(config)#interface serial0/0/1 B2(config-if)#ip address 192.168.1.230 255.255.255.252 B2(config-if)#no shutdown B2(config-if)# %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up exit B2(config)#end B2# %SYS-5-CONFIG_I: Configured from console by console copy %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up running-config startup-config Destination filename [startup-config]? Building configuration... [OK] B2# Puede realizar un ping de PC1 a PC2? Si Puede realizar un ping de PC1 a PC3? Si Puede PC3 hacer ping a PC2? Si

Вам также может понравиться