Top Banner
27
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Routing
Page 2: Routing

• Routing– Forwarding of packets from one network to

another network choosing the best path from the routing table.

– Routing table consist of only the best routes for every destinations.

Page 3: Routing

Routing Network Diagram

E0 10.1.1.1/8

HYD

LAN – 10.0.0.0/24

E0 20.1.1.1/24

KSA

LAN – 20.0.0.0/24

1.1.1.1/8S0

S11.1.1.2/8

Page 4: Routing

• Head Office Ethernet interface should be in the same network as your Head office LAN and similarly on Branch Office side.

• Head Office S0 and Branch Office S1 should be in same network.

• Head Office LAN and Branch Office LAN should be in different Network.

• All interfaces of Router should be in different network.

Rules of Routing

Page 5: Routing

• Static Routing

• Default Routing

• Dynamic Routing

Types of Routing

Page 6: Routing

• It is configured by Administrator manually.

• Mandatory need of Destination Network ID

• It is Secure & fast

• Used for Small organizations with a network of 10-15 Routers.

• Administrative distance for Static Route is 0 and 1.

• It is the “trustworthiness” of the routing information. Lesser the Administrative distance, higher the preference.

Disadvantages :-• Used for small network.

• Everything to manually

• Network change effect complete n/W

Static Routing

Page 7: Routing

Configuring Static Route

Router(config)# ip route <Destination Network ID> <Destination Subnet Mask> <Next-hop IP address >

Or

Router(config)# ip route <Destination Network ID> <Destination Subnet Mask> <Exit interface type><interface

number>

Example: ip route 11.0.0.0 255.0.0.0 10.0.0.2

Page 8: Routing

Routing Network Diagram

E0 10.1.1.1/8

HYD

LAN – 10.0.0.0/24

E0 20.1.1.1/24

KSA

LAN – 20.0.0.0/24

1.1.1.1/8S0

S11.1.1.2/8

Page 9: Routing

• A Default routing protocol is configured for unknown destinations.

• Generally used in the internet where the destinations are unknown.

• Example : The address of yahoo is unknown.

• Configured at end points

• It is the last preferred routing

• Default routes help in reducing the size of your routing table.

Default Routes

Page 10: Routing

Default Routing - Real Time Example

E0 192.168.1.150/24

LAN - 192.168.1.0/24

E0 202.54.30.150/24

IP 202.54.30.1/24

HYD

INTERNET

Page 11: Routing

Configuring Default 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>

Page 12: Routing
Page 13: Routing
Page 14: Routing
Page 15: Routing
Page 16: Routing
Page 17: Routing
Page 18: Routing
Page 19: Routing
Page 20: Routing
Page 21: Routing
Page 22: Routing
Page 23: Routing
Page 24: Routing
Page 25: Routing
Page 26: Routing
Page 27: Routing