Download presentation
Presentation is loading. Please wait.
Published byArchibald Hines Modified over 9 years ago
2
E0 192.168.1.1/24 LAN - 192.168.1.0/24LAN – 172.16.0.0/16 10.0.0.1/8 S0 S1 10.0.0.2/8 Head Office Branch Office E0 172.16.0.1/16
3
Routing Routing is the process of moving packets from one network to another network. Routing involves two basic activities: –Determining best paths. –Forwarding Packets through these paths.
4
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
5
Types of Routing Static Routing Default Routing Dynamic Routing
6
Static Routing It is configured manually by Administrator. It is Secure & fast. Require Destination Network ID for configuration Used in Small Networks Administrative distance for Static Route is 0 and 1. {Administrative Distance (AD) is the “trustworthiness” of the routing information. AD range is 0-255, lesser the Administrative distance, higher the priority}
7
Static Routing Network Diagram E0 192.168.1.1/24 LAN - 192.168.1.0/24LAN – 172.16.0.0/16 10.0.0.1/8 S0 S1 10.0.0.2/8 E0 172.16.0.1/16 Head Office Branch Office
9
Routing Network Diagram E0 192.168.1.1/24 LAN - 192.168.1.0/24 10.0.0.1/8 S0 S1 10.0.0.2/8 Head Office Branch Office LAN – 172.16.0.0/16 E0 172.16.0.1/16
10
Routing Network Diagram E0 192.168.1.1/24 LAN - 192.168.1.0/24 10.0.0.1/8 S0 S1 10.0.0.2/8 Head Office Branch Office LAN – 172.16.0.0/16 E0 172.16.0.1/16
11
Routing Network Diagram E0 192.168.1.1/24 LAN - 192.168.1.0/24 10.0.0.1/8 S0 S1 10.0.0.2/8 Head Office Branch Office LAN – 172.16.0.0/16 E0 172.16.0.1/16
12
Routing Network Diagram E0 192.168.1.1/24 LAN - 192.168.1.0/24 10.0.0.1/8 S0 S1 10.0.0.2/8 11.0.0.1/8 S0 Head Office Branch Office LAN – 172.16.0.0/16 E0 172.16.0.1/16
13
Routing Network Diagram E0 192.168.1.1/24 LAN - 192.168.1.0/24 10.0.0.1/8 S0 S1 10.0.0.2/8 Head Office Branch Office LAN – 172.16.0.0/16 E0 172.16.0.1/16
14
exit Chennai(config-if)# Chennai(config)# telnet 192.168.1.1 ================================ Welcome to Chennai Router ================================ User Access Verification password : **** enable configure terminal interface serial 0 ip address 10.0.0.1 255.0.0.0 no shut clockrate 64000 encapsulation hdlc Chennai> password : Chennai# Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# Chennai(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\> Connecting..... Chennai# Diagram
15
show ip route Chennai# Default gateway is not set Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty Chennai# show ip route 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, Ethernet0 C 10.0.0.0/8 is directly connected, Serial0 Chennai# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# ip routing ^ Z Enabling Routing Router(config)#ip routing Enabling Routing Router(config)#ip routing Diagram
16
Chennai# show ip route 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, Ethernet0 S 172.16.0.0/16 [1/0] via 10.0.0.2 C 10.0.0.0/8 is directly connected, Serial0 Chennai# Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# ip route 172.16.0.0 255.255.0.0 10.0.0.2 ^ Z configure terminal S – for Static Routing 1 is nothing but Administrative Distance Configuring Static Route Router(config)# ip route Or Router(config)# ip route Configuring Static Route Router(config)# ip route Or Router(config)# ip route Diagram
17
exit Hyderabad1(config)# Hyderabad1# ================================ Welcome to Hyderabad1 Router ================================ User Access Verification password : **** **** enable configure terminal ip address 10.0.0.2 255.0.0.0 no shut encapsulation hdlc exit Hyderabad1> password : Hyderabad1# Enter configuration commands, one per line. End with CNTL/Z. Hyderabad1(config)# Hyderabad1(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\> Connecting..... Hyderabad1# telnet 172.16.0.1 interface serial 1 Diagram
18
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.1.0/24 is directly connected, Ethernet0 S 172.16.0.0/16 [1/0] via 10.0.0.2 C 10.0.0.0/8 is directly connected, Serial0 Chennai# Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# ip route 172.16.0.0 255.255.0.0 10.0.0.2 Chennai(config)# ^Z^Z configure terminal ping 172.16.0.10 Type 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 ms Chennai# !!!!! Diagram
19
Hyderabad1# show ip routeHyderabad1# 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 172.16.0.0/16 is directly connected, Ethernet0 S 192.168.1.0 is directly connected, Serial1 C 10.0.0.0/8 is directly connected, Serial1 Hyderabad1# Enter configuration commands, one per line. End with CNTL/Z. Hyderabad1(config)# ip route 192.168.1.0 255.255.255.0 S1 Hyderabad1(config)# ^Z^Z configure terminal ping 192.168.1.1 Type 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 ms Hyderabad1# !!!!! Diagram
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.