Sei sulla pagina 1di 4

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up Router(config-if)#exit Router(config)#interface Serial0/0/1 Router(config-if)#ip address 178.12.0.100 255.255.255.240 % 178.12.0.

96 overlaps with Serial0/0/0 Router(config-if)#no ip address Router(config-if)#ip address 178.12.0.101 255.255.255.240 % 178.12.0.96 overlaps with Serial0/0/0 Router(config-if)#ip address 178.12.0.101 255.255.255.252 Router(config-if)#clock rate 64000 Router(config-if)#no shutdown Router(config-if)# %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up Router(config-if)#ex Router(config)#ex %SYS-5-CONFIG_I: Configured from console by console Router#sh ip ro Router#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 178.12.0.0/16 is variably subnetted, 3 subnets, 2 masks C 178.12.0.64/28 is directly connected, FastEthernet0/0 C 178.12.0.96/30 is directly connected, Serial0/0/0 C 178.12.0.100/30 is directly connected, Serial0/0/1 Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#rou Router(config)#router os Router(config)#router ospf 10 Router(config-router)#net Router(config-router)#network 178.12.0.64 0.0.0.15 area 1 Router(config-router)#network 178.12.0.96 0.0.0.3 area 1 Router(config-router)#network 178.12.0.100 0.0.0.3 area 1 Router(config-router)#ex Router(config)# 00:38:36: %OSPF-5-ADJCHG: Process 10, Nbr 178.12.0.97 on Serial0/0/0 from LOADIN G to FULL, Loading Done Router(config)#interface Serial0/1/0 Router(config-if)#ip address 178.12.0.106 255.255.255.240 % 178.12.0.96 overlaps with Serial0/0/0 Router(config-if)#ip address 178.12.0.106 255.255.255.252 Router(config-if)#clock rate 64000 Router(config-if)# %LINK-5-CHANGED: Interface Serial0/1/0, changed state to up no shutdown Router(config-if)#ex

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up Router(config)#ex %SYS-5-CONFIG_I: Configured from console by console Router#sh ip ro Router#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 178.12.0.0/16 is variably subnetted, 6 subnets, 3 masks O 178.12.0.0/27 [110/65] via 178.12.0.97, 00:02:00, Serial0/0/0 O 178.12.0.32/27 [110/65] via 178.12.0.97, 00:02:00, Serial0/0/0 C 178.12.0.64/28 is directly connected, FastEthernet0/0 C 178.12.0.96/30 is directly connected, Serial0/0/0 C 178.12.0.100/30 is directly connected, Serial0/0/1 C 178.12.0.104/30 is directly connected, Serial0/1/0 Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ro Router(config)#router os Router(config)#router ospf 10 Router(config-router)#net Router(config-router)#network 178.12.0.104 0.0.0.3 area 1 Router(config-router)#ex Router(config)#sh ^ % Invalid input detected at '^' marker. Router(config)#e % Ambiguous command: "e" Router(config)#ex %SYS-5-CONFIG_I: Configured from console by console Router#sh ip p Router#sh ip protocols Routing Protocol is "ospf 10" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 178.12.0.101 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 178.12.0.64 0.0.0.15 area 1 178.12.0.96 0.0.0.3 area 1 178.12.0.100 0.0.0.3 area 1 178.12.0.104 0.0.0.3 area 1 Routing Information Sources: Gateway Distance Last Update 178.12.0.97 110 00:03:11 178.12.0.101 110 00:00:16 Distance: (default is 110)

Router# 00:47:34: %OSPF-5-ADJCHG: Process 10, Nbr 178.12.0.102 on Serial0/0/1 from LOADI NG to FULL, Loading Done

Router con0 is now available

Press RETURN to get started.

Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Router(config)#ip nat pool principal 220.118.116.50 212.118.116.60 255.255.255.0 ^ % Invalid input detected at '^' marker. Router(config)#ip nat pool principal 220.118.116.50 212.118.116.60 n Router(config)#ip nat pool principal 220.118.116.50 212.118.116.60 netmask 255.2 55.255.0 %Pool principal mask 255.255.255.0 too small; should be at least 0.0.0.0 %Start and end addresses on different subnets Router(config)#ip acc Router(config)#ip access-list sta Router(config)#ip access-list standard principal Router(config-std-nacl)#permi Router(config-std-nacl)#permit ip Router(config-std-nacl)#permit 1 ip Router(config-std-nacl)#permit 1 ip 172.12.0.0 0.0.0.31 ^ % Invalid input detected at '^' marker. Router(config-std-nacl)#permit ip 172.12.0.0 0.0.0.31 ^ % Invalid input detected at '^' marker.

Router(config-std-nacl)# Router(config-std-nacl)#per Router(config-std-nacl)#permit ip Router(config-std-nacl)#permit ip 172.12.0.0 0.0.0.31 ^ % Invalid input detected at '^' marker. Router(config-std-nacl)#ip permit 172.12.0.0 0.0.0.31 ^ % Invalid input detected at '^' marker. Router(config-std-nacl)#permit 172.12.0.0 0.0.0.31 Router(config-std-nacl)#permit 172.12.0.32 0.0.0.31 Router(config-std-nacl)#ip nat Router(config-std-nacl)#ip nat in Router(config-std-nacl)#ip nat ins Router(config-std-nacl)#ip nat inside Router(config-std-nacl)#ip nat inside source list nat po Router(config-std-nacl)#ip nat inside source list nat pool principal Router(config)#int s 0/0 %Invalid interface type and number Router(config)#int s 0/0/0 Router(config-if)

Potrebbero piacerti anche