You are on page 1of 5

DRAM configuration is 64 bits wide with parity disabled.

255K bytes of non-volatile configuration memory.


249856K bytes of ATA System CompactFlash 0 (Read/Write)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]:


% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#
Router(config)#hostname RouterA
RouterA(config)#int g
RouterA(config)#int gigabitEthernet 0/0
RouterA(config-if)#
RouterA(config-if)#ip add
RouterA(config-if)#ip address 10.10.1.1 255.255.255.252
RouterA(config-if)#no shutdown

RouterA(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
end
RouterA#
%SYS-5-CONFIG_I: Configured from console by console

RouterA#
RouterA#show ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.10.1.1 YES manual up down
GigabitEthernet0/1 unassigned YES unset administratively down down
GigabitEthernet0/2 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
RouterA#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state
to up
show ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.10.1.1 YES manual up up
GigabitEthernet0/1 unassigned YES unset administratively down down
GigabitEthernet0/2 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
RouterA#router ospf
^
% Invalid input detected at '^' marker.

RouterA#en
RouterA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#
RouterA(config)#
RouterA(config)#
RouterA(config)#router ospf
% Incomplete command.
RouterA(config)#router ospf 10
RouterA(config-router)#network 10.10.1.0 0.0.0.255
% Incomplete command.
RouterA(config-router)#network 10.10.1.0 0.0.0.255 area 0
RouterA(config-router)#end
RouterA#
%SYS-5-CONFIG_I: Configured from console by console

RouterA#
RouterA#
00:18:49: %OSPF-5-ADJCHG: Process 10, Nbr 10.10.1.2 on GigabitEthernet0/0 from
LOADING to FULL, Loading Done

RouterA#
RouterA#
RouterA#
RouterA#end
Translating "end"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address

RouterA#
RouterA#
RouterA#
RouterA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#int gigabit e
RouterA(config)#int gigabit eht
RouterA(config)#int gigabiteht
RouterA(config)#int gigabiteth
RouterA(config)#int gigabitethernet 0/1
RouterA(config-if)#ip address 192.168.10.1 2.55.255.255.0
^
% Invalid input detected at '^' marker.

RouterA(config-if)#ip address 192.168.10.1 255.255.255.0


RouterA(config-if)#no shutdown

RouterA(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

RouterA(config-if)#
RouterA(config-if)#end
RouterA#
%SYS-5-CONFIG_I: Configured from console by console

RouterA#
RouterA#show ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.10.1.1 YES manual up up
GigabitEthernet0/1 192.168.10.1 YES manual up down
GigabitEthernet0/2 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
RouterA#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state
to up

RouterA con0 is now available

Press RETURN to get started.

RouterA>
RouterA>
RouterA>
RouterA>en
RouterA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#int giga
RouterA(config)#int gigabitEthernet0/1
RouterA(config-if)#exit
RouterA(config)#router ospf
% Incomplete command.
RouterA(config)#router ospf 10
RouterA(config-router)#network 192.168.10.0 255.255.255.0 area 10
RouterA(config-router)#
00:54:47: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.10.5 on GigabitEthernet0/1 from
LOADING to FULL, Loading Done
end
RouterA#
%SYS-5-CONFIG_I: Configured from console by console

RouterA#
RouterA#show int ip brief
^
% Invalid input detected at '^' marker.

RouterA#
RouterA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#show ip int brief
^
% Invalid input detected at '^' marker.

RouterA(config)#exit
RouterA#
%SYS-5-CONFIG_I: Configured from console by console

RouterA#
RouterA#show int ip brief
^
% Invalid input detected at '^' marker.

RouterA#show ip int brief


Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.10.1.1 YES manual up up
GigabitEthernet0/1 192.168.10.1 YES manual up up
GigabitEthernet0/2 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
RouterA#ping 192.168.10.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:

you made default router on Router 0 pointing to R1 Gi0/1. but the R1 router
doesn't know about the network 192.168.1.X. Thats the problem.

add below static route on R1

ip route 192.168.1.0 255.255.255.0 192.168.10.2


!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/9 ms

RouterA#

for the branch use a router a switch and a end-user pc (standard pc from packet
tracer)
for the HQ use a router a switch and two PCs (that means you'll need a vlan set up,
but even if you put in one, it's ok)
for the remote site a router a switch and a pc.

RouterA con0 is now available


Press RETURN to get started.

You might also like