You are on page 1of 44

1

Routing Network Diagram

Head Office

10.0.0.1/8 S0

Branch Office

HYD
E0 192.168.1.150/24

S1 10.0.0.2/8

CHE
E0 192.168.2.150/24

LAN - 192.168.1.0/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 Serial S0 and Branch Office Serial 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

Types of Routing

Static Routing

Default Routing

Dynamic Routing

Static Routing

It is configured by Administrator manually.

Mandatory need of Destination Network ID


It is Secure & fast Used for Small organization which have network of 10-15 Routers. Administrative distance for Static Router is 0 and 1. It is the trustworthiness of the routing information. Lesser Administrative distance higher the preference.
5

Static Routing Network Diagram

10.0.0.1/8 S0

HYD
E0 192.168.1.150/24

S1 10.0.0.2/8

CHE
E0 192.168.2.150/24

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24
6

Routing Network Diagram

Head Office

10.0.0.1/8 S0

Branch Office

HYD
E0 192.168.1.150/24

S1 10.0.0.2/8

CHE
E0 192.168.2.150/24

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24
8

Routing Network Diagram

Head Office

10.0.0.1/8 S0

Branch Office

HYD
E0 192.168.1.150/24

S1 10.0.0.2/8

CHE
E0 192.168.2.150/24

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24
9

Routing Network Diagram

Head Office

10.0.0.1/8 S0

Branch Office

HYD
E0 192.168.1.150/24

S1 10.0.0.2/8

CHE
E0 192.168.2.150/24

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24
10

Routing Network Diagram

Head Office

10.0.0.1/8 S0

Branch Office 11.0.0.1/8 S0 S1 10.0.0.2/8

HYD
E0 192.168.1.150/24

CHE
E0 192.168.2.150/24

LAN - 192.168.1.0/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 Router(config)#ip Codes: C - connected, S - static, I - routing 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 Hyderabad#

Diagram 14

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 - EIGRP external, O - OSPF, IA - OSPF inter area Router(config)# ip route Network ID> type 2 N1 - OSPF NSSA external type<Destination 1, N2 - OSPF NSSA external E1 - OSPF external <Destination type 1, E2 - OSPF external type 2, E - EGP Subnet Mask> i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default <Next-hop address > U - per-user static route, o - IP ODR

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

Diagram 15

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 Router(config)#ip Codes: C - connected, S - static, I - routing 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 C 10.0.0.0/8 is directly connected, Serial1 Chennai#

Diagram 18

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 - EIGRP external, O - OSPF, IA - OSPF inter area Router(config)# ip route Network ID> type 2 N1 - OSPF NSSA external type<Destination 1, N2 - OSPF NSSA external E1 - OSPF external <Destination type 1, E2 - OSPF external type 2, E - EGP Subnet Mask> i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default <Next-hop address > U - per-user static route, o - IP ODR

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

Diagram 19

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#

Diagram 20

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#

Diagram 21

Static Routing Network Diagram

10.0.0.1/8 S0

HYD
E0 192.168.1.150/24

S1 10.0.0.2/8

CHE
E0 192.168.2.150/24

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24
22

Static Routing For Multiple Routers - Network Diagram

10.0.0.1/8 S0

11.0.0.1/8 S0

HYD

E0 192.168.1.150/24

S1 10.0.0.2/8

CHE

E0 192.168.2.150/24

S1 11.0.0.2/8

BAN

E0 192.168.3.150/2

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24

LAN - 192.168.3.0/24
23

Disadvantages of Static Routing

Administrative work is more.

Compulsory need of Destination Network ID


Used for only Small organization It cannot dynamically update topology changes.

24

Default 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 last preferred routing
25

Default Routing - Real Time Example

INTERNET
HYD
E0 192.168.1.150/24 E0 202.54.30.150/24

LAN - 192.168.1.0/24 IP 202.54.30.1/24


26

Default Routing - Network Diagram

10.0.0.1/8 S0

11.0.0.1/8 S0

HYD

E0 192.168.1.150/24

S1 10.0.0.2/8

CHE

E0 192.168.2.150/24

S1 11.0.0.2/8

BAN

E0 192.168.3.150/2

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24

LAN - 192.168.3.0/24
27

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

Hyderabad(config)# no Hyderabad(config)# ip Hyderabad(config)# ip Hyderabad(config)# ip Hyderabad(config)# ip Hyderabad(config)#

ip routing routing route 192.168.2.0 255.255.255.0 10.0.0.2 route 192.168.3.0 255.255.255.0 10.0.0.2 route 11.0.0.0 255.0.0.0 10.0.0.2

Diagram 29

Hyderabad(config)# no ip routing Hyderabad(config)# ip routing Hyderabad(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.2 Hyderabad(config)# ip route 192.168.3.0 255.255.255.0 10.0.0.2 Hyderabad(config)# ip route 11.0.0.0 255.0.0.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 10.0.0.0/8 is directly connected, Serial0 S 11.0.0.0/8 [1/0] via 10.0.0.2 C 192.168.1.0/24 is directly connected, Ethernet0 S 192.168.2.0/24 [1/0] via 10.0.0.2 S 192.168.3.0/24 [1/0] via 10.0.0.2 Hyderabad#

Diagram 30

Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\> telnet 192.168.2.150 Connecting ..... ================================ Welcome to Chennai Router Directly Connected Networks on ================================ User Access Verification CHENNAI Router 192.168.2.0 password : **** Chennai> enable 10.0.0.0 password : **** 11.0.0.0 Chennai# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Indirectly Connected interface serial 1 Networks on Chennai(config)# Chennai(config-if)# ip address 10.0.0.2 255.0.0.0 CHENNAI Router Chennai(config-if)# no shut 192.168.1.0 Chennai(config-if)# encapsulation hdlc 192.168.3.0 Chennai(config-if)# interface serial 0 Chennai(config-if)# ip address 11.0.0.1 255.0.0.0 Chennai(config-if)# no shut Chennai(config-if)# encapsulation hdlc Diagram
31

Chennai(config-if)# exit Chennai(config)# no ip routing Chennai(config)# ip routing Chennai(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.1 Chennai(config)# ip route 192.168.3.0 255.255.255.0 11.0.0.2 Chennai(config)#

Diagram 32

Chennai(config-if)# exit Chennai(config)# no ip routing Chennai(config)# ip routing Chennai(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.1 Chennai(config)# ip route 192.168.3.0 255.255.255.0 11.0.0.2 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 10.0.0.0/8 is directly connected, Serial1 C 11.0.0.0/8 is directly connected, Serial0 S 192.168.1.0/24 [1/0] via 10.0.0.1 C 192.168.2.0/24 is directly connected, Ethernet0 S 192.168.3.0/24 [1/0] via 11.0.0.2 Chennai#

Diagram 33

Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\> telnet 192.168.3.150 Connecting ..... ================================ Welcome to Banglore Router Directly Connected Networks on ================================ User Access Verification Banglore Router 192.168.3.0 password : **** Banglore> enable 11.0.0.0 password : **** Banglore# configure terminal Indirectly Connected Networks on Enter configuration commands, one per line. End with CNTL/Z. Banglore Router serial 1 Banglore(config)# interface Banglore(config-if)# ip address 11.0.0.2 255.0.0.0 192.168.1.0 Banglore(config-if)# no shut 192.168.2.0 Banglore(config-if)# clockrate 64000 10.0.0.0 Banglore(config-if)# encapsulation hdlc Banglore(config-if)# exit Banglore(config)#
Diagram 34

Banglore(config)# no Banglore(config)# ip Banglore(config)# ip Banglore(config)# ip Banglore(config)# ip Banglore(config)#

ip routing routing route 192.168.2.0 255.255.255.0 11.0.0.1 route 192.168.1.0 255.255.255.0 11.0.0.1 route 10.0.0.0 255.0.0.0 11.0.0.1

Diagram 35

Banglore(config)# no ip routing Banglore(config)# ip routing Banglore(config)# ip route 192.168.2.0 255.255.255.0 11.0.0.1 Banglore(config)# ip route 192.168.1.0 255.255.255.0 11.0.0.1 Banglore(config)# ip route 10.0.0.0 255.0.0.0 11.0.0.1 Banglore(config)# ^Z Banglore# 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 S 10.0.0.0/8 [1/0] via 11.0.0.1 C 11.0.0.0/8 is directly connected, Serial1 S 192.168.1.0/24 [1/0] via 11.0.0.1 S 192.168.2.0/24 [1/0] via 11.0.0.1 C 192.168.3.0/24 is directly connected, Ethernet0 Banglore#

Diagram 36

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)#
Diagram 37

Hyderabad(config)# no ip routing Hyderabad(config)# ip routing Hyderabad(config)# ip route 0.0.0.0 0.0.0.0 s0 Hyderabad(config)# Configuring Default 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>

Diagram 38

Hyderabad(config)# no ip routing Hyderabad(config)# ip routing Hyderabad(config)# ip route 0.0.0.0 0.0.0.0 s0 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 10.0.0.0/8 is directly connected, Serial0 C 192.168.1.0/24 is directly connected, Ethernet0 S* 0.0.0.0/0 is directly connected, Serial0 Hyderabad# * for Default Route
Diagram 39

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

Banglore(config)# no ip routing Banglore(config)# ip routing Banglore(config)# ip route 0.0.0.0 0.0.0.0 s1 Banglore(config)#

Diagram 41

Banglore(config)# no ip routing Banglore(config)# ip routing Banglore(config)# ip route 0.0.0.0 0.0.0.0 s1 Banglore(config)# ^Z Banglore# 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 11.0.0.0/8 is directly connected, Serial1 C 192.168.3.0/24 is directly connected, Ethernet0 S* 0.0.0.0/0 is directly connected, Serial1 Banglore# * for Default Route
Diagram 42

Hyderabad(config)# no ip routing Hyderabad(config)# ip routing Hyderabad(config)# ip route 0.0.0.0 0.0.0.0 s0 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 10.0.0.0/8 is directly connected, Serial0 C 192.168.1.0/24 is directly connected, Ethernet0 S* 0.0.0.0/0 is directly connected, Serial0 Hyderabad# ping 192.168.3.1 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:

!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms

Hyderabad#

Diagram 43

Banglore(config)# no ip routing Banglore(config)# ip routing Banglore(config)# ip route 0.0.0.0 0.0.0.0 s1 Banglore(config)# ^Z Banglore# 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 11.0.0.0/8 is directly connected, Serial1 C 192.168.3.0/24 is directly connected, Ethernet0 S* 0.0.0.0/0 is directly connected, Serial1 Banglore# 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

Banglore#

Diagram 44

You might also like