WHAT’S DEFAULT ROUTING AND HOW TO CONFIGURE DEFAULT ROUTING IN CISCO ROUTERS .

In previous posts i have shown you guys how to configure rip routing , eigrp routing , static routing . In this post we will learn what is default routing and how to configure default routing in cisco routers .

Default routing is designated as zero-address 0.0.0.0 and often called as quad-zero route . Default routing is used in stub networks . Stub networks are the networks containing one output interface and networks has to cross the single exit point. Like in below diagram , network 1 and network 3 is sharing same network that is network 2 So here default routing can be used .

HOW TO CONFIGURE DEFAULT ROUTING IN CISCO ROUTER .

default routing

  • First take two routers and computers .

routers and computers

  • Now select copper cross over wire .

how to connect two different ip or machines with each other using router

  • Now go to pc 1 and select its FAST ETHERNET 0 port .

routers AND computers connection

  • Take that wire connect its other with router R1 ‘s Fast Ethrnet 0/0 port .

routers and computers

  • Take one more copper cross over wire and select Fast ethernet 0/1 port .

routers and computers  connection

  • And connect it with Router R2 ‘s Fast Ethernet 0/1 port .

routers and computers connection

  • Again take copper cross-over wire and connect one end with Router R2 ‘s Fast Ethernet 0/0 port .

routers and computers connection

  • And connect it with laptop  ‘s Fast Ethernet 0 port .

routers and computers connection

Now comes ROUTER’s  configuration .

Router R1 

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 1.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#ip address 2.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

Router(config-if)#exit

Router(config)#ip route 0.0.0.0  0.0.0.0  2.0.0.2

 

Router R2 

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 3.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#ip address 2.0.0.2 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Router(config-if)#exit
Router(config)#ip route 0.0.0.0  0.0.0.0  2.0.0.1

 

Now go to pc >Desktop > ip configuration

ip configuration in cisco packet tracer

  • Select static and provide ip address , subnet mask and default gateway .

static ip configuration in cisco packet tracer

  • Now go to laptop and provide ip address , subnet mask and default gateway .

static ip configuration in cisco packet tracer

  • Then go to one of the end device ( laptop or pc ) and open its command prompt . To check whether default routing is working or not .
  • Like i’m in pc and trying to ping laptop .
  • Laptop ip address i have given is 3.0.0.2
  •  So simply type ping  ipaddress of machine .

ping in command prompt

 

 

HOW TO CONFIGURE EIGRP ROUTING ON CISCO ROUTERS .

HOW TO CONFIGURE RIP ROUTING ON CISCO ROUTERS. (cisco packet tracer)

HOW TO CONFIGURE SINGLE ROUTER TO ACT AS A MULTI DHCP SERVER (cisco packet tracer)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s