0% found this document useful (0 votes)
123 views12 pages

Three Routers Configuration in Cisco Packet Tracer

The document describes configuring three routers in Cisco Packet Tracer including adding interfaces, IP addresses, routing protocols, and services. Steps include connecting routers, configuring interfaces and IP addresses on each router, enabling EIGRP routing, and setting up DHCP service.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views12 pages

Three Routers Configuration in Cisco Packet Tracer

The document describes configuring three routers in Cisco Packet Tracer including adding interfaces, IP addresses, routing protocols, and services. Steps include connecting routers, configuring interfaces and IP addresses on each router, enabling EIGRP routing, and setting up DHCP service.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Three routers configuration in cisco packet tracer

1. Create a network structure like below.

2. Add serial port (HWIC-2T) to router 0,1 and 2.


3. Create a network topology similar to the one below with the
connection type selected automatically.
4. Router 0 configuration: (interface serial0/3/0)

➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#interface serial 0/3/0
➢ Router(config-if)#ip address 192.168.100.1 255.255.255.252
➢ Router(config-if)#no shutdown

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


down
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
5. Router 2 configuration (interface serial 0/3/0)
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#do show ip int brief
➢ Router(config)#interface Serial0/3/0
➢ Router(config-if)#ip address 192.168.100.2 255.255.255.252
➢ Router(config-if)#no shutdown

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

➢ %LINEPROTO-5-UPDOWN: Line protocol on Interface


Serial0/3/0, changed state to up

➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#do show ip int brief

6. Router 0 configuration: (interface serial0/3/1)


➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#interface serial 0/3/1
➢ Router(config-if)#ip address 192.168.100.5 255.255.255.252
➢ Router(config-if)#no shutdown

➢ %LINK-5-CHANGED: Interface Serial0/3/1, changed state to


down
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#

7. Router 1 configuration (interface serial 0/3/0)


➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#interface serial0/3/0
➢ Router(config-if)#ip address 192.168.100.6 255.255.255.252
➢ Router(config-if)#no shutdown

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

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

➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#

8. Router 2 configuration (interface gigabitethernet 0/0)


➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#interface gigabitethernet0/0
➢ Router(config-if)#ip address 192.168.100.9 255.255.255.240
➢ % 192.168.100.0 overlaps with Serial0/3/0
➢ Router(config-if)#
➢ Router(config-if)#ip address 192.168.100.9 255.255.255.224
➢ % 192.168.100.0 overlaps with Serial0/3/0
➢ Router(config-if)#ip address 192.168.100.13 255.255.255.252
➢ Router(config-if)#ip address 192.168.100.13 255.255.255.224
➢ % 192.168.100.0 overlaps with Serial0/3/0
➢ Router(config-if)#ip address 192.168.100.64 255.255.255.192
➢ Bad mask /26 for address 192.168.100.64
➢ Router(config-if)#
➢ Router(config-if)#ip address 192.168.100.64 255.255.255.224
➢ Bad mask /27 for address 192.168.100.64
➢ Router(config-if)#ip address 192.168.100.13 255.255.255.252
➢ Router(config-if)#no shutdown

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

➢ Router(config-if)#

9. Router 1 configuration (interface gigabitethernet 0/0)


➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#interface gigabitethernet0/0
➢ Router(config-if)#ip address 192.168.100.19 255.255.255.252
➢ Bad mask /30 for address 192.168.100.19
➢ Router(config-if)#ip address 192.168.100.17 255.255.255.252\
➢ ^
➢ % Invalid input detected at '^' marker.
➢ Router(config-if)#ip address 192.168.100.17 255.255.255.252
➢ Router(config-if)#no shutdown

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

➢ %LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEthernet0/0, changed state to up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#

10. Router 0 ROUTER EIGRP CONFIGURATION


➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#do show ip int brief
➢ Router(config)#do show ip int
➢ Router(config)#router ?
➢ bgp Border Gateway Protocol (BGP)
➢ eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
➢ ospf Open Shortest Path First (OSPF)
➢ rip Routing Information Protocol (RIP)
➢ Router(config)#router
➢ % Incomplete command.
➢ Router(config)#router ?
➢ bgp Border Gateway Protocol (BGP)
➢ eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
➢ ospf Open Shortest Path First (OSPF)
➢ rip Routing Information Protocol (RIP)
➢ Router(config)#router eigrp 100
➢ Router(config-router)#network 192.168.100.0
➢ Router(config-router)#network 192.168.100.0 255.255.255.252
➢ Router(config-router)#network 192.168.100.4 255.255.255.252
➢ Router(config-router)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-router)#

11. Router 2 ROUTER EIGRP CONFIGURATION


➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#router eigrp 100
➢ Router(config-router)#network 192.168.100.0 255.255.255.252
➢ Router(config-router)#
➢ %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.100.1
(Serial0/3/0) is up: new adjacency

➢ Router(config-router)#network 192.168.100.12
255.255.255.252
➢ Router(config-router)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-router)#
12. Router 1 ROUTER EIGRP CONFIGURATION
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#router eigrp 100
➢ Router(config-router)#network 192.168.100.4 255.255.255.252
➢ Router(config-router)#
➢ %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.100.5
(Serial0/3/0) is up: new adjacency

➢ Router(config-router)#network 192.168.100.16
255.255.255.252
➢ Router(config-router)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-router)#end
➢ Router#
➢ %SYS-5-CONFIG_I: Configured from console by console

➢ Router#
13. Router 0 ssh configuration

➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#hostname root
➢ root(config)#do wr
➢ Building configuration...
➢ [OK]
➢ root(config)#enable password 1234
➢ root(config)#do wr
➢ Building configuration...
➢ [OK]
➢ root(config)#do show running
➢ enable password 1234
➢ root(config)#ip domain-name cisco.com
➢ root(config)#crypto key generate rsa
➢ The name for the keys will be: root.cisco.com
➢ Choose the size of the key modulus in the range of 360 to 4096
for your
➢ General Purpose Keys. Choosing a key modulus greater than
512 may take
➢ a few minutes.

➢ How many bits in the modulus [512]: 1024


➢ % Generating 1024 bit RSA keys, keys will be non-
exportable...[OK]

➢ root(config)#line vty 0 2
➢ *Mar 1 2:50:4.257: %SSH-5-ENABLED: SSH 1.99 has been
enabled
➢ root(config-line)#username cisco password root
➢ root(config)#line vty 0 2
➢ root(config-line)#password 1234
➢ root(config-line)#login
➢ root(config-line)#transport input all
➢ root(config-line)#do wr
➢ Building configuration...
➢ [OK]
➢ root(config-line)#
14. Router 2 DHCP Configuration:
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with CNTL/Z.
➢ Router(config)#ip dhcp pool ACN
➢ Router(dhcp-config)#network 192.168.100.12 255.255.255.252
➢ Router(dhcp-config)#default-router 192.168.100.13
➢ Router(dhcp-config)#dns-server 8.8.8.8
➢ Router(dhcp-config)#do wr
➢ Router(dhcp-config)#exit
➢ Router(config)#
15. Verify in PC 0
16. Transfer packets between PC 0 and Router 0.

20231011-1709-56.61
88686.mp4

17. Ping router 0 in PC 0.

18. Show ip route command: show ip route command is used


to gives you detailed information about the networks that are
known to the router, either directly connected to the router,
statically configured using static routing or automatically added
to the routing table using dynamic routing protocols.

You might also like