Three Routers Configuration in Cisco Packet Tracer
Three Routers Configuration in Cisco Packet Tracer
➢ 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
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#do show ip int brief
➢ 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)#
➢ 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)#
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed
state to up
➢ 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.
➢ 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