routing
DESCRIPTION
TRANSCRIPT
![Page 1: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/1.jpg)
![Page 2: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/2.jpg)
E0 192.168.1.150/24
LAN - 192.168.1.0/24 LAN - 192.168.2.0/24
10.0.0.1/8S0
S110.0.0.2/8
Head Office Branch Office
![Page 3: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/3.jpg)
Routing
• Routing is the process through which the router
learns the destination which is directly not
connected
To route, a router needs to do the following
• Know the destination address• Identify the sources from which the router can learn• Discover possible routes to the intended destination• Select the best route• Maintain and verify routing information
![Page 4: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/4.jpg)
Rules of Routing
• Head Office Ethernet interface should be in the
same network as your Head office LAN and similarly
on Branch Office side. Show Diagram
• Head Office S0 and Branch Office S1 should be in same
network. Show Diagram
• Head Office LAN and Branch Office LAN should be in
different Network. Show Diagram
• All interfaces of Router should be in different network.
Show Diagram
![Page 5: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/5.jpg)
Types of Routing
• Static Routing: Uses a route that a network administrator
enters into the router manually
• Dynamic Routing: Uses a route that a network routing
protocol adjusts automatically for topology or traffic changes
![Page 6: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/6.jpg)
Static Routing
• It is configured by Administrator manually.
• Mandatory need of Destination Network ID
• It is Secure & fast
• Used for Small organizations
• Administrative distance for Static Route is 0 and 1.
It is the “trustworthiness” of the routing information.
Lesser the Administrative distance, higher the
preference.
![Page 7: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/7.jpg)
Static Routing Network Diagram
E0 192.168.1.150/24
LAN - 192.168.1.0/24 LAN - 192.168.2.0/24
10.0.0.1/8S0
S110.0.0.2/8
E0 192.168.2.150/24
Head Office Branch Office
![Page 8: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/8.jpg)
![Page 9: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/9.jpg)
Routing Network Diagram
E0 192.168.1.150/24
LAN - 192.168.1.0/24 LAN - 192.168.2.0/24
10.0.0.1/8S0
S110.0.0.2/8
E0 192.168.2.150/24
Head Office Branch Office
![Page 10: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/10.jpg)
Routing Network Diagram
E0 192.168.1.150/24
LAN - 192.168.1.0/24 LAN - 192.168.2.0/24
10.0.0.1/8S0
S110.0.0.2/8
E0 192.168.2.150/24
Head Office Branch Office
![Page 11: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/11.jpg)
Routing Network Diagram
E0 192.168.1.150/24
LAN - 192.168.1.0/24 LAN - 192.168.2.0/24
10.0.0.1/8S0
S110.0.0.2/8
E0 192.168.2.150/24
Head Office Branch Office
![Page 12: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/12.jpg)
Routing Network Diagram
E0 192.168.1.150/24
LAN - 192.168.1.0/24 LAN - 192.168.2.0/24
10.0.0.1/8S0
S110.0.0.2/8
E0 192.168.2.150/24
11.0.0.1/8S0
Head Office Branch Office
![Page 13: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/13.jpg)
exitexit
Hyderabad(config-if)#Hyderabad(config)#
telnet 192.168.1.150
================================Welcome to Hyderabad Router================================User Access Verificationpassword :****
****enable
configure terminal
interface serial 0ip address 10.0.0.1 255.0.0.0no shutclockrate 64000encapsulation hdlc
Hyderabad>password :Hyderabad#Enter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)#Hyderabad(config-if)#Hyderabad(config-if)#Hyderabad(config-if)#Hyderabad(config-if)#
Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>Connecting .....
Hyderabad# Diagram
![Page 14: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/14.jpg)
exitexit
Hyderabad(config-if)#Hyderabad(config)#
telnet 192.168.1.150
================================Welcome to Hyderabad Router================================User Access Verificationpassword :****
****enable
configure terminal
interface serial 0ip address 10.0.0.1 255.0.0.0no shutclockrate 64000encapsulation hdlc
Hyderabad>password :Hyderabad#Enter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)#Hyderabad(config-if)#Hyderabad(config-if)#Hyderabad(config-if)#Hyderabad(config-if)#
Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>Connecting .....
Hyderabad# Diagram
![Page 15: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/15.jpg)
show ip routeHyderabad#Default gateway is not set
Host Gateway Last Use Total Uses InterfaceICMP redirect cache is emptyHyderabad#
show ip routeHyderabad#
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,*- candidate default U - per-user static route, o - ODR
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, Ethernet0C 10.0.0.0/8 is directly connected, Serial0Hyderabad#
configure terminalEnter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)# ip routingHyderabad(config)# ^Z
Enabling RoutingRouter(config)#ip routing
Enabling RoutingRouter(config)#ip routing
Diagram
![Page 16: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/16.jpg)
Hyderabad#
show ip routeHyderabad#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,*- candidate default U - per-user static route, o - ODR
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, Ethernet0S 192.168.2.0/24 [1/0] via 10.0.0.2C 10.0.0.0/8 is directly connected, Serial0Hyderabad#
Enter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.2 Hyderabad(config)# ^Z
configure terminal
S – for Static Routing S – for Static Routing 1 is nothing but Administrative Distance
1 is nothing but Administrative Distance
Configuring Static Route Router(config)# ip route <Destination Network ID>
<Destination Subnet Mask> <Next-hop IP address >
OrRouter(config)# ip route <Destination Network ID>
<Destination Subnet Mask> <Exit interface type><interface number>
Configuring Static Route Router(config)# ip route <Destination Network ID>
<Destination Subnet Mask> <Next-hop IP address >
OrRouter(config)# ip route <Destination Network ID>
<Destination Subnet Mask> <Exit interface type><interface number>
Diagram
![Page 17: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/17.jpg)
exitChennai(config)#Chennai#
================================Welcome to Chennai Router================================User Access Verificationpassword :****
****enable
configure terminal
ip address 10.0.0.2 255.0.0.0no shutencapsulation hdlcexit
Chennai>password :Chennai#Enter configuration commands, one per line. End with CNTL/Z.Chennai(config)#Chennai(config-if)#Chennai(config-if)#Chennai(config-if)#Chennai(config-if)#
Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>Connecting .....
Chennai#
telnet 192.168.2.150
interface serial 1
Diagram
![Page 18: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/18.jpg)
Hyderabad#
show ip routeHyderabad#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,*- candidate default U - per-user static route, o - ODR
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, Ethernet0S 192.168.2.0/24 [1/0] via 10.0.0.2C 10.0.0.0/8 is directly connected, Serial0Hyderabad#
Enter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.2 Hyderabad(config)# ^Z
configure terminal
ping 192.168.2.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msHyderabad#
!!!!!
Diagram
![Page 19: Routing](https://reader033.vdocuments.net/reader033/viewer/2022051612/54be70574a79599b618b45e7/html5/thumbnails/19.jpg)
Chennai#
show ip routeChennai#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,*- candidate default U - per-user static route, o - ODR
Gateway of last resort is not set
C 192.168.2.0/24 is directly connected, Ethernet0S 192.168.1.0 is directly connected, Serial1C 10.0.0.0/8 is directly connected, Serial1Chennai#
Enter configuration commands, one per line. End with CNTL/Z.Chennai(config)# ip route 192.168.1.0 255.255.255.0 S1Chennai(config)# ^Z
configure terminal
ping 192.168.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msChennai#
!!!!!
Diagram