SlideShare a Scribd company logo
1
Routing Network Diagram

Head Office

10.0.0.1/8
S0

HYD
E0
192.168.1.150/24

LAN - 192.168.1.0/24

Branch Office

S1
10.0.0.2/8

CHE
E0
192.168.2.150/24

LAN - 192.168.2.0/24

2
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

3
Types of Routing

• Static Routing

• Default Routing

• Dynamic Routing

4
Static 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.

5
Static Routing Network Diagram

10.0.0.1/8
S0

HYD
E0
192.168.1.150/24

LAN - 192.168.1.0/24

S1
10.0.0.2/8

CHE
E0
192.168.2.150/24

LAN - 192.168.2.0/24

6
7
Routing Network Diagram

Head Office

10.0.0.1/8
S0

HYD
E0
192.168.1.150/24

LAN - 192.168.1.0/24

Branch Office

S1
10.0.0.2/8

CHE
E0
192.168.2.150/24

LAN - 192.168.2.0/24

8
Routing Network Diagram

Head Office

10.0.0.1/8
S0

HYD
E0
192.168.1.150/24

LAN - 192.168.1.0/24

Branch Office

S1
10.0.0.2/8

CHE
E0
192.168.2.150/24

LAN - 192.168.2.0/24

9
Routing Network Diagram

Head Office

10.0.0.1/8
S0

HYD
E0
192.168.1.150/24

LAN - 192.168.1.0/24

Branch Office

S1
10.0.0.2/8

CHE
E0
192.168.2.150/24

LAN - 192.168.2.0/24

10
Routing Network Diagram

Head Office

10.0.0.1/8
S0

HYD
E0
192.168.1.150/24

LAN - 192.168.1.0/24

Branch Office
11.0.0.1/8
S0
S1
10.0.0.2/8

CHE
E0
192.168.2.150/24

LAN - 192.168.2.0/24

11
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Hyderabad(config)# interface serial 0
Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0
Hyderabad(config-if)# no shut
Hyderabad(config-if)# clockrate 64000
Hyderabad(config-if)# encapsulation hdlc
Hyderabad(config-if)# exit
Hyderabad(config)# exit
Hyderabad#
Diagram

12
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Hyderabad(config)# interface serial 0
Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0
Hyderabad(config-if)# no shut
Hyderabad(config-if)# clockrate 64000
Hyderabad(config-if)# encapsulation hdlc
Hyderabad(config-if)# exit
Hyderabad(config)# exit
Hyderabad#
Diagram

13
Hyderabad# show ip route
Default gateway is not set
Host
Gateway
Last Use
Total Uses Interface
ICMP redirect cache is empty
Hyderabad# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Hyderabad(config)# ip routing
Hyderabad(config)# ^Z
Hyderabad# show ip route
Enabling Routing
Enabling Routing
Router(config)#ip routing
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
Router(config)#ip routing
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
Hyderabad#

14

Diagram
Hyderabad# configure terminal
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
Hyderabad# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
Configuring Static Route
D - EIGRP, EX - EIGRPConfiguring Static Route OSPF inter area
external, O - OSPF, IA N1 Router(config)# ip route 1, N2 - OSPF NSSA external type 2
- OSPF NSSA external type <Destination Network ID>
Router(config)# ip route<Destination Network ID>
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
<Destination Subnet Mask>
<Destination Subnet Mask>
i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default
<Next-hop IP address >
<Next-hop IP
U - per-user static route, o - ODR address >

Or
Or
Gateway of last resort is not set
Router(config)# ip route <Destination Network ID>
Router(config)# ip route <Destination Network ID>
<Destination Subnet Mask>
<Destination Subnet Mask>
C
192.168.1.0/24 is directly connected, Ethernet0
<Exit interface type><interface number>
<Exit 10.0.0.2
S
192.168.2.0/24 [1/0] via interface type><interface number>
C
10.0.0.0/8 is directly connected, Serial0
Hyderabad#
1 is nothing but
1 is nothing but
S – for Static Routing
S – for Static Routing
Administrative Distance
Administrative Distance

15

Diagram
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:> telnet 192.168.2.150
Connecting .....
================================
Welcome to Chennai Router
================================
User Access Verification
password : ****
Chennai> enable
password : ****
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# interface serial 1
Chennai(config-if)# ip address 10.0.0.2 255.0.0.0
Chennai(config-if)# no shut
Chennai(config-if)# encapsulation hdlc
Chennai(config-if)# exit
Chennai(config)# exit
Chennai#
Chennai#
Diagram

16
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:> telnet 192.168.2.150
Connecting .....
================================
Welcome to Chennai Router
================================
User Access Verification
password : ****
Chennai> enable
password : ****
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# interface serial 1
Chennai(config-if)# ip address 10.0.0.2 255.0.0.0
Chennai(config-if)# no shut
Chennai(config-if)# encapsulation hdlc
Chennai(config-if)# exit
Chennai(config)# exit
Chennai#
Chennai#
Diagram

17
Chennai# show ip route
Default gateway is not set
Host
Gateway
Last Use
Total Uses Interface
ICMP redirect cache is empty
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# ip routing
Chennai(config)# ^Z
Chennai# show ip route
Enabling Routing
Enabling Routing
Router(config)#ip routing
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
Router(config)#ip routing
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, Ethernet0
C
10.0.0.0/8 is directly connected, Serial1
Chennai#

18

Diagram
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# ip route 192.168.1.0 255.255.255.0 S1
Chennai(config)# ^Z
Chennai# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
Configuring Static Route
D - EIGRP, EX - EIGRPConfiguring Static Route OSPF inter area
external, O - OSPF, IA N1 Router(config)# ip route 1, N2 - OSPF NSSA external type 2
- OSPF NSSA external type <Destination Network ID>
Router(config)# ip route<Destination Network ID>
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
<Destination Subnet Mask>
<Destination Subnet Mask>
i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default
<Next-hop IP address >
<Next-hop IP
U - per-user static route, o - ODR address >

Or
Or
Gateway of last resort is not set
Router(config)# ip route <Destination Network ID>
Router(config)# ip route <Destination Network ID>
<Destination Subnet Mask>
<Destination Subnet Mask>
C
192.168.2.0/24 is directly connected, Ethernet0
<Exit interface type><interface number>
<Exit interface Serial1
S
192.168.1.0 is directly connected,type><interface number>
C
10.0.0.0/8 is directly connected, Serial1
Chennai#
If is directly connected
If is directly connected
S – for Static RoutingAdministrative Distance
S – for Static RoutingAdministrative Distance
is 0
is 0

19

Diagram
Hyderabad# configure terminal
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
Hyderabad# 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
192.168.2.0/24 [1/0] via 10.0.0.2
C
10.0.0.0/8 is directly connected, Serial0
Hyderabad# ping 192.168.2.1
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

Hyderabad#

20

Diagram
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# ip route 192.168.1.0 255.255.255.0 S1
Chennai(config)# ^Z
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.2.0/24 is directly connected, Ethernet0
S
192.168.1.0 is directly connected, Serial1
C
10.0.0.0/8 is directly connected, Serial1
Chennai# 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

Chennai#

21

Diagram

More Related Content

What's hot

Access Control List (ACL)
Access Control List (ACL)Access Control List (ACL)
Access Control List (ACL)
ISMT College
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
rajshreemuthiah
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
Arash Foroughi
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
Smriti Tikoo
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
Najmul Hossain Nayan
 
VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)
Netwax Lab
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)
Shanza Sohail
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
NetProtocol Xpert
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
Jothi Lakshmi
 
Static Routing
Static RoutingStatic Routing
Static Routing
Sachii Dosti
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
TheGodfather HA
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
Muhammad Arshad
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPFarpit
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
AIRTEL
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
shakeel khan
 
Dynamic Routing IGRP
Dynamic Routing IGRPDynamic Routing IGRP
Dynamic Routing IGRPKishore Kumar
 

What's hot (20)

Access Control List (ACL)
Access Control List (ACL)Access Control List (ACL)
Access Control List (ACL)
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
 
VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
 
Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 
Dynamic Routing IGRP
Dynamic Routing IGRPDynamic Routing IGRP
Dynamic Routing IGRP
 

Viewers also liked

Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
Yaser Rahmati
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
Kishore Kumar
 
Dynamic Routing
Dynamic RoutingDynamic Routing
Dynamic Routing
tmavroidis
 
CCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingCCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static Routing
Vuz Dở Hơi
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
yasir1122
 
Routers.ppt
Routers.pptRouters.ppt
Routers.ppt
kirbadh
 
Configuring dynamic and static routing
Configuring dynamic and static routingConfiguring dynamic and static routing
Configuring dynamic and static routingAnand Dhouni
 
Routing Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaat
Routing Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaatRouting Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaat
Routing Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaat
lingacing
 
Dynamic routing under_sec
Dynamic routing under_secDynamic routing under_sec
Dynamic routing under_secsubhash85
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
Kishore Kumar
 
Routing, Different types of forwarding technique
Routing, Different types of forwarding techniqueRouting, Different types of forwarding technique
Routing, Different types of forwarding technique
rajib_
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
Kishore Kumar
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
Kishore Kumar
 
IP Routing Tutorial
IP Routing TutorialIP Routing Tutorial
IP Routing Tutorial
ShortestPathFirst
 
Cisco Routing and Switching by yateendra sahu ppt
Cisco Routing and Switching by yateendra sahu pptCisco Routing and Switching by yateendra sahu ppt
Cisco Routing and Switching by yateendra sahu ppt
yateendrasahu
 
Rip Update Timers
Rip Update TimersRip Update Timers
Rip Update Timers
Kishore Kumar
 

Viewers also liked (20)

Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
 
Dynamic Routing
Dynamic RoutingDynamic Routing
Dynamic Routing
 
CCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingCCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static Routing
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
Presentation on router
Presentation on routerPresentation on router
Presentation on router
 
Routers.ppt
Routers.pptRouters.ppt
Routers.ppt
 
Configuring dynamic and static routing
Configuring dynamic and static routingConfiguring dynamic and static routing
Configuring dynamic and static routing
 
Routing Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaat
Routing Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaatRouting Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaat
Routing Dynamic dan Routing Static, pengertian, perbedaan , contoh, dan manfaat
 
Dynamic routing under_sec
Dynamic routing under_secDynamic routing under_sec
Dynamic routing under_sec
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
Routing, Different types of forwarding technique
Routing, Different types of forwarding techniqueRouting, Different types of forwarding technique
Routing, Different types of forwarding technique
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
1. Introduction
1. Introduction1. Introduction
1. Introduction
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
Routing
RoutingRouting
Routing
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
IP Routing Tutorial
IP Routing TutorialIP Routing Tutorial
IP Routing Tutorial
 
Cisco Routing and Switching by yateendra sahu ppt
Cisco Routing and Switching by yateendra sahu pptCisco Routing and Switching by yateendra sahu ppt
Cisco Routing and Switching by yateendra sahu ppt
 
Rip Update Timers
Rip Update TimersRip Update Timers
Rip Update Timers
 

Similar to Static Routing

acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
Sleek International
 
OSPF 3
OSPF 3OSPF 3
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config97148881557
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)
IT Tech
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrpzafar85
 
Dynamic routing OSPF 1
Dynamic routing OSPF 1Dynamic routing OSPF 1
Dynamic routing OSPF 1
Kishore Kumar
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
arjuntrk
 
Dynamic routing EIGRP
Dynamic routing EIGRPDynamic routing EIGRP
Dynamic routing EIGRP
Kishore Kumar
 
How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)IT Tech
 
Eigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configurationEigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configuration3Anetwork com
 
How to configure Default Routing
How to configure Default RoutingHow to configure Default Routing
How to configure Default Routingtcpipguru
 
Labmannual
LabmannualLabmannual
Labmannual
Matiullah Jamil
 
第8讲 Rip和Igrp
第8讲 Rip和Igrp第8讲 Rip和Igrp
第8讲 Rip和IgrpF.l. Yu
 
BGP Next-hop-self
BGP Next-hop-selfBGP Next-hop-self
BGP Next-hop-self
NetProtocol Xpert
 
Site to Site VPN between Cisco Routers
Site to Site VPN between Cisco RoutersSite to Site VPN between Cisco Routers
Site to Site VPN between Cisco Routers
Sandeep Kumar
 
Rip version1 configuration on Cisco router
Rip version1 configuration on Cisco routerRip version1 configuration on Cisco router
Rip version1 configuration on Cisco routertcpipguru
 
Routing Information Protocol (RIP)
Routing Information Protocol (RIP)Routing Information Protocol (RIP)
Routing Information Protocol (RIP)
Tharindu Sankalpa
 
Routing information protocol & rip configuration
Routing information protocol & rip configurationRouting information protocol & rip configuration
Routing information protocol & rip configuration
3Anetwork com
 

Similar to Static Routing (20)

acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
 
Dynamic routing OSPF 1
Dynamic routing OSPF 1Dynamic routing OSPF 1
Dynamic routing OSPF 1
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
Dynamic routing EIGRP
Dynamic routing EIGRPDynamic routing EIGRP
Dynamic routing EIGRP
 
How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)
 
Eigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configurationEigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configuration
 
How to configure Default Routing
How to configure Default RoutingHow to configure Default Routing
How to configure Default Routing
 
Labs ospf
Labs ospfLabs ospf
Labs ospf
 
Labmannual
LabmannualLabmannual
Labmannual
 
第8讲 Rip和Igrp
第8讲 Rip和Igrp第8讲 Rip和Igrp
第8讲 Rip和Igrp
 
BGP Next-hop-self
BGP Next-hop-selfBGP Next-hop-self
BGP Next-hop-self
 
Site to Site VPN between Cisco Routers
Site to Site VPN between Cisco RoutersSite to Site VPN between Cisco Routers
Site to Site VPN between Cisco Routers
 
Rip version1 configuration on Cisco router
Rip version1 configuration on Cisco routerRip version1 configuration on Cisco router
Rip version1 configuration on Cisco router
 
Routing Information Protocol (RIP)
Routing Information Protocol (RIP)Routing Information Protocol (RIP)
Routing Information Protocol (RIP)
 
Routing information protocol & rip configuration
Routing information protocol & rip configurationRouting information protocol & rip configuration
Routing information protocol & rip configuration
 

More from Kishore Kumar

Switching Types
Switching TypesSwitching Types
Switching Types
Kishore Kumar
 
Route Authentication
Route AuthenticationRoute Authentication
Route AuthenticationKishore Kumar
 
Recognizing security threats
Recognizing security threatsRecognizing security threats
Recognizing security threatsKishore Kumar
 
Ccna simulation exam practice guide
Ccna simulation exam practice guideCcna simulation exam practice guide
Ccna simulation exam practice guideKishore Kumar
 
RIP Update Timers
RIP Update TimersRIP Update Timers
RIP Update Timers
Kishore Kumar
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
Kishore Kumar
 
OSPF 2
OSPF 2OSPF 2
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital NetworkKishore Kumar
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
Kishore Kumar
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
Kishore Kumar
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
Kishore Kumar
 
OSPF 2
OSPF 2OSPF 2
IP Addressing
IP AddressingIP Addressing
IP Addressing
Kishore Kumar
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
Kishore Kumar
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
Kishore Kumar
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
Kishore Kumar
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
Kishore Kumar
 

More from Kishore Kumar (20)

Switching Types
Switching TypesSwitching Types
Switching Types
 
Switching Types
Switching TypesSwitching Types
Switching Types
 
Route Authentication
Route AuthenticationRoute Authentication
Route Authentication
 
Recognizing security threats
Recognizing security threatsRecognizing security threats
Recognizing security threats
 
Ccna simulation exam practice guide
Ccna simulation exam practice guideCcna simulation exam practice guide
Ccna simulation exam practice guide
 
RIP Update Timers
RIP Update TimersRIP Update Timers
RIP Update Timers
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 

Recently uploaded

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 

Static Routing

  • 1. 1
  • 2. Routing Network Diagram Head Office 10.0.0.1/8 S0 HYD E0 192.168.1.150/24 LAN - 192.168.1.0/24 Branch Office S1 10.0.0.2/8 CHE E0 192.168.2.150/24 LAN - 192.168.2.0/24 2
  • 3. 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 3
  • 4. Types of Routing • Static Routing • Default Routing • Dynamic Routing 4
  • 5. Static 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. 5
  • 6. Static Routing Network Diagram 10.0.0.1/8 S0 HYD E0 192.168.1.150/24 LAN - 192.168.1.0/24 S1 10.0.0.2/8 CHE E0 192.168.2.150/24 LAN - 192.168.2.0/24 6
  • 7. 7
  • 8. Routing Network Diagram Head Office 10.0.0.1/8 S0 HYD E0 192.168.1.150/24 LAN - 192.168.1.0/24 Branch Office S1 10.0.0.2/8 CHE E0 192.168.2.150/24 LAN - 192.168.2.0/24 8
  • 9. Routing Network Diagram Head Office 10.0.0.1/8 S0 HYD E0 192.168.1.150/24 LAN - 192.168.1.0/24 Branch Office S1 10.0.0.2/8 CHE E0 192.168.2.150/24 LAN - 192.168.2.0/24 9
  • 10. Routing Network Diagram Head Office 10.0.0.1/8 S0 HYD E0 192.168.1.150/24 LAN - 192.168.1.0/24 Branch Office S1 10.0.0.2/8 CHE E0 192.168.2.150/24 LAN - 192.168.2.0/24 10
  • 11. Routing Network Diagram Head Office 10.0.0.1/8 S0 HYD E0 192.168.1.150/24 LAN - 192.168.1.0/24 Branch Office 11.0.0.1/8 S0 S1 10.0.0.2/8 CHE E0 192.168.2.150/24 LAN - 192.168.2.0/24 11
  • 12. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> telnet 192.168.1.150 Connecting ..... ================================ Welcome to Hyderabad Router ================================ User Access Verification password : **** Hyderabad> enable password : **** Hyderabad# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Hyderabad(config)# interface serial 0 Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0 Hyderabad(config-if)# no shut Hyderabad(config-if)# clockrate 64000 Hyderabad(config-if)# encapsulation hdlc Hyderabad(config-if)# exit Hyderabad(config)# exit Hyderabad# Diagram 12
  • 13. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> telnet 192.168.1.150 Connecting ..... ================================ Welcome to Hyderabad Router ================================ User Access Verification password : **** Hyderabad> enable password : **** Hyderabad# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Hyderabad(config)# interface serial 0 Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0 Hyderabad(config-if)# no shut Hyderabad(config-if)# clockrate 64000 Hyderabad(config-if)# encapsulation hdlc Hyderabad(config-if)# exit Hyderabad(config)# exit Hyderabad# Diagram 13
  • 14. Hyderabad# show ip route Default gateway is not set Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty Hyderabad# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Hyderabad(config)# ip routing Hyderabad(config)# ^Z Hyderabad# show ip route Enabling Routing Enabling Routing Router(config)#ip routing Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP Router(config)#ip routing 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 Hyderabad# 14 Diagram
  • 15. Hyderabad# configure terminal 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 Hyderabad# show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP Configuring Static Route D - EIGRP, EX - EIGRPConfiguring Static Route OSPF inter area external, O - OSPF, IA N1 Router(config)# ip route 1, N2 - OSPF NSSA external type 2 - OSPF NSSA external type <Destination Network ID> Router(config)# ip route<Destination Network ID> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP <Destination Subnet Mask> <Destination Subnet Mask> i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default <Next-hop IP address > <Next-hop IP U - per-user static route, o - ODR address > Or Or Gateway of last resort is not set Router(config)# ip route <Destination Network ID> Router(config)# ip route <Destination Network ID> <Destination Subnet Mask> <Destination Subnet Mask> C 192.168.1.0/24 is directly connected, Ethernet0 <Exit interface type><interface number> <Exit 10.0.0.2 S 192.168.2.0/24 [1/0] via interface type><interface number> C 10.0.0.0/8 is directly connected, Serial0 Hyderabad# 1 is nothing but 1 is nothing but S – for Static Routing S – for Static Routing Administrative Distance Administrative Distance 15 Diagram
  • 16. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> telnet 192.168.2.150 Connecting ..... ================================ Welcome to Chennai Router ================================ User Access Verification password : **** Chennai> enable password : **** Chennai# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# interface serial 1 Chennai(config-if)# ip address 10.0.0.2 255.0.0.0 Chennai(config-if)# no shut Chennai(config-if)# encapsulation hdlc Chennai(config-if)# exit Chennai(config)# exit Chennai# Chennai# Diagram 16
  • 17. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> telnet 192.168.2.150 Connecting ..... ================================ Welcome to Chennai Router ================================ User Access Verification password : **** Chennai> enable password : **** Chennai# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# interface serial 1 Chennai(config-if)# ip address 10.0.0.2 255.0.0.0 Chennai(config-if)# no shut Chennai(config-if)# encapsulation hdlc Chennai(config-if)# exit Chennai(config)# exit Chennai# Chennai# Diagram 17
  • 18. Chennai# show ip route Default gateway is not set Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty Chennai# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# ip routing Chennai(config)# ^Z Chennai# show ip route Enabling Routing Enabling Routing Router(config)#ip routing Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP Router(config)#ip routing 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, Ethernet0 C 10.0.0.0/8 is directly connected, Serial1 Chennai# 18 Diagram
  • 19. Chennai# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# ip route 192.168.1.0 255.255.255.0 S1 Chennai(config)# ^Z Chennai# show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP Configuring Static Route D - EIGRP, EX - EIGRPConfiguring Static Route OSPF inter area external, O - OSPF, IA N1 Router(config)# ip route 1, N2 - OSPF NSSA external type 2 - OSPF NSSA external type <Destination Network ID> Router(config)# ip route<Destination Network ID> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP <Destination Subnet Mask> <Destination Subnet Mask> i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default <Next-hop IP address > <Next-hop IP U - per-user static route, o - ODR address > Or Or Gateway of last resort is not set Router(config)# ip route <Destination Network ID> Router(config)# ip route <Destination Network ID> <Destination Subnet Mask> <Destination Subnet Mask> C 192.168.2.0/24 is directly connected, Ethernet0 <Exit interface type><interface number> <Exit interface Serial1 S 192.168.1.0 is directly connected,type><interface number> C 10.0.0.0/8 is directly connected, Serial1 Chennai# If is directly connected If is directly connected S – for Static RoutingAdministrative Distance S – for Static RoutingAdministrative Distance is 0 is 0 19 Diagram
  • 20. Hyderabad# configure terminal 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 Hyderabad# 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 192.168.2.0/24 [1/0] via 10.0.0.2 C 10.0.0.0/8 is directly connected, Serial0 Hyderabad# ping 192.168.2.1 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 Hyderabad# 20 Diagram
  • 21. Chennai# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# ip route 192.168.1.0 255.255.255.0 S1 Chennai(config)# ^Z 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.2.0/24 is directly connected, Ethernet0 S 192.168.1.0 is directly connected, Serial1 C 10.0.0.0/8 is directly connected, Serial1 Chennai# 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 Chennai# 21 Diagram