Best Internet 4 U Info
Welcome to Best Internet 4 U Info!

Technology Articles


Cisco Routing: "ip default-gateway" vs. Static Default Routes
By Chris Bryant, CCIE #12933


One point of confusion for some CCNA and CCNP candidates is the difference between configuring a static default route and using the Cisco routing command ip default-network.

At first glance, they appear to do the same thing. Both configure a destination to which packets should be routed if there is no more specific route in the routing table.

The major difference between these two options is that configuring a static default route only defines a default route for the router you`re configuring it on, while ip default-network will propagate the route via its routing protocol.

Let`s examine the routing tables of a hub-and-spoke network using the ip default-network command. R1 is the hub and R2 and R3 are the spokes. They are directly connected via the network 172.12.123.0 /24, and each has a loopback with a 32-bit mask that are numbered according to the router number (1.1.1.1, etc.) RIP is running on all three routers and the loopbacks are advertised.

R1 has another serial interface with the IP address 10.1.1.1 /24, and this network has been flagged as a default network with the command ip default-network 10.0.0.0 . It is not being advertised by RIP.

The routing protocol will then advertise this route. With RIP, the default network is advertised as 0.0.0.0 . (With IGRP, it appears as the network number, but is marked as an IGRP External route. ) This route has been designated a candidate default route on R1, as we see with the asterisk next to the 10.0.0.0 /24 network (code table removed for brevity):

R1#show ip route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
R 2.0.0.0/8 [120/1] via 172.12.123.2, 00:00:11, Serial0
R 3.0.0.0/8 [120/1] via 172.12.123.3, 00:00:11, Serial0
172.12.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.12.21.0/30 is directly connected, BRI0
C 172.12.123.0/24 is directly connected, Serial0
* 10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Serial1

On R2 and R3, a default RIP route is now seen (code tables again deleted):

R2#show ip route
Gateway of last resort is 172.12.123.1 to network 0.0.0.0

R 1.0.0.0/8 [120/1] via 172.12.123.1, 00:00:00, Serial0.213
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
R 3.0.0.0/8 [120/2] via 172.12.123.1, 00:00:00, Serial0.213
172.12.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.12.21.0/30 is directly connected, BRI0
C 172.12.123.0/24 is directly connected, Serial0.213
R* 0.0.0.0/0 [120/1] via 172.12.123.1, 00:00:00, Serial0.213

R3#show ip route
Gateway of last resort is 172.12.123.1 to network 0.0.0.0

R 1.0.0.0/8 [120/1] via 172.12.123.1, 00:00:27, Serial0.31
R 2.0.0.0/8 [120/2] via 172.12.123.1, 00:00:28, Serial0.31
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
172.12.0.0/24 is subnetted, 1 subnets
C 172.12.123.0 is directly connected, Serial0.31
R* 0.0.0.0/0 [120/1] via 172.12.123.1, 00:00:28, Serial0.31

And the default route works, since we can ping 10.1.1.1 from both R2 and R3. Since they have no other match in their routing tables, they use the default route.

R2#ping 10.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/68/68 ms

R3#ping 10.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/68/68 ms

When deciding whether to use a default static route or a default network, keep in mind that if you want the routing protocol to propagate the default route, the ip default-network command will do that for you. But if you want only the local router to have the default route, a static IP route is the way to go.

For more information about this article and/or the author visit http://www.thebryantadvantage.com

For more information, news and articles see:

Embedded Computers - Embedded Computers
...t work straight away so companies can benefit from their technology right from the start. The world wide-web is the place to look for new embedded computers because on the internet there are companies...
Visit Embedded Computers...

Rack Mount Pc - Rack Mount Pc
...d you are looking at ways that you can create a little extra space for your workers. You have toyed with the idea of installing rack mounted computers that could be the ideal solution to your problem...
Visit Rack Mount Pc...

3d Building Rendering - 3d Building Rendering
...ree-dimensional tools at their disposal today which they can use to market potential developments. They no longer have to use rather dreary plans to promote their schemes; they can use a 3d Building ...
Visit 3d Building Rendering...

Computer Training - Computer Training
...here to stay and plenty of people have come to rely on them over the past few years. Imagine not being able to surf the web when you liked or type word documents as part of your daily duties? Due to ...
Visit Computer Training...

Lineshaft - Lineshaft
... Whether you require one for simply moving objects from A to B, for use on production or packaging lines and even on order picking stations, you want a system that will guarantee you the very best i...
Visit Lineshaft...

Small Pc - Small Pc
...days of the monstrous towering PC`s that used to take up half of your desk. Today with a Small PC you can reclaim valuable desk space, also a Small PC looks a lot neater than its contemparory full si...
Visit Small Pc...

Hard Drive Disposal - Hard Drive Disposal
...art replacements. This presents you with a problem as you have information stored on the hard drives of the computers that needs to be disposed of in a safe and secure manner. Chances can`t be taken...
Visit Hard Drive Disposal...

Hard Drive Destruction - Hard Drive Destruction
...rd drives fell into the wrong hands? Your competitors would have a field day with their newfound knowledge and your business would suffer as a result. Therefore precautions need to be to be taken wh...
Visit Hard Drive Destruction...

Fibre Patch Leads - Fibre Patch Leads
...r that their copper colleagues. What`s more, Fibre Patch Leads can be easier to install than copper leads and anyone who works within computer-related industries will know what a blessing this can be...
Visit Fibre Patch Leads...

Test Automation Tools - Test Automation Tools
...ftware or programs used in the performance testing of software automatically. Test Automation Tools actually control the execution of tests, the comparison of actual end product to projected end produ...
Visit Test Automation Tools...

Syma Spare Parts - Syma Spare Parts
...nce Christmas he`s managed to master the controls. When he first got the machine he did struggle at first learning how to control it in a smooth manner. Due to this the helicopter received one or tw...
Visit Syma Spare Parts...

Exhibition Stand Design - Exhibition Stand Design
...goes into Exhibition Stand Design. It`s not just a case of throwing together a couple of tables, plonking a Television and VCR on top and blue-tacking some posters to display boards at the back. A t...
Visit Exhibition Stand Design...

Pre Term Fibre - Pre Term Fibre
...rks for a computer cable company and he is responsible for installing the pre term fibre in offices around the city centre of Manchester. He really enjoys his job, particularly because installing pre...
Visit Pre Term Fibre...

Telescopes - Telescopes
... you ask them a question about the Milky Way they will be able to answer all queries. To gaze at the stars powerful Telescopes are used and they can help people of all ages look into the night sky. ...
Visit Telescopes...

Automated Software Testing - Automated Software Testing
...testing is a test method conducted to gather the information about the quality of the product or service and the performance of the same. Software testing also find out whether the objective of the so...
Visit Automated Software Testing...

Air Conditioning Hampshire - Air Conditioning Hampshire
...ices in the South of the county, air conditioning hampshire can be ideal. Currently plenty of offices that are South of the border are benefiting by having air conditioning hampshire within their int...
Visit Air Conditioning Hampshire...

Restaurant Tills - Restaurant Tills
... to be able to view the Restaurant tills. Obviously, if you are in a high street burger chain then the Restaurant tills are one of the most obvious features in the room with a plethora of people to t...
Visit Restaurant Tills...

Cr2032 Battery - Cr2032 Battery
... your car`s key fob stopped working recently? When you press the open button nothing happens and you now have to manually use the key to access the building. Chances are the cr2032 batteryhas stoppe...
Visit Cr2032 Battery...

It Consultants London - It Consultants London
...a very comprehensive service and they`ll be able to find suitable solutions for companies that will be perfect for their needs. it consultants london can help to support existing systems or can recom...
Visit It Consultants London...

Clive Roberts - Clive Roberts
...oberts worked as the lead developer on a VB6 project to deliver a front-end application to Local Government. Councillors used the application during their `surgeries` with the public to record detail...
Visit Clive Roberts...

3d Images - 3d Images
...roperty brochure we were producing for a well known developer, having just six months to get the whole thing done in time for the launch of the new estate the pressure was on and we all had our work c...
Visit 3d Images...

Meade Telescope - Meade Telescope
...oved astronomy and all things to do with stars. At first my parents thought it was quite a strange hobby for him to get into but, over the years, his dedication to the field has really made them quit...
Visit Meade Telescope...

Cat5e Cable - Cat5e Cable
...ype of manufactured cable used to create computer and telephone networks. Computer networks can be found in office buildings throughout the world and most of them will be equipped with this form of ca...
Visit Cat5e Cable...

Industrial Ethernet Switch - Industrial Ethernet Switch
...nside its case the Industrial Ethernet Switch from Korenix is ideal in dusty or dirty scenarios. Information won`t be interrupted at all when this type of switch is in action and you can imagine that...
Visit Industrial Ethernet Switch...

Cisco Training - Cisco Training
...s wanted to work with computers but you haven`t got the right qualifications to make it happen? Don`t worry if you find that your qualifications fall short of the mark because there are training cour...
Visit Cisco Training...

Network Cabling - Network Cabling
... customers to have the cables installed on time and within the set budgets. Whether the network cabling requirements are for fibre optic, electrical or phone systems and support, professional instal...
Visit Network Cabling...

Pallet Conveyors - Pallet Conveyors
...eyors at the local factory. He has to make sure that the pallet conveyors are working property as well as using them to ensure that they do their job properly. Although his job is not very well paid...
Visit Pallet Conveyors...

Epos Tills - Epos Tills
... low cost fashion superstore the other day to get some cheap clothes for myself and my family to take on our annual summer holidays. There are some amazing bargains to be had in shops like this and i...
Visit Epos Tills...

Bluetooth Earpiece - Bluetooth Earpiece
... life. Before she got the Bluetooth Earpiece she had to carry her phone with her everywhere and often, she told me that she would end up cutting people off before speaking to them. Her Bluetooth Ear...
Visit Bluetooth Earpiece...

Software Engineer - Software Engineer
..., as if it were a wooden sculpture, not a series of logic instructions. The problem here is that you cannot engineer art. Programming falls somewhere between an art and a science....
Visit Software Engineer...

Reed Switch - Gettign The Right Reed Switch
...etic contacts or blades held in an insulating case. Within this case, these blades are held a particular distance apart while the case protects the contacts from corrosion because outside air can`t re...
Visit Reed Switch...

Computer Network Support - Computer Network Support
... and have plenty of skill when it comes to networks the chances are you`ll need some form of computer network support to help with your company`s systems. Larger organizations tend to have their own ...
Visit Computer Network Support...

Cnc Turning - Cnc Turning
...would have been carried out by a carpenter in a workshop. These days a workshop might still be involved but a machine will carry out the process. Moreover, the machine will be receiving its instructi...
Visit Cnc Turning...

Solid State Relay - Solid State Relay
...ands of Solid state relay switches all over the world. Solid state relay is a fairly new invention in the engineering world, but it is an invention that has categorically changed the face of the engi...
Visit Solid State Relay...

Exhibition Services - Exhibition Services
...ks for a company that offers exhibition services for large companies who want to put on exhibitions in various locations up and down the country. The exhibition services they offer cover a wide ran...
Visit Exhibition Services...

Air Conditioner - Air Conditioner
...rain we`ve had so far. June was indifferent, air conditioner July was a washout and August is proving to be a bit hit and miss....
Visit Air Conditioner...

Police Earpiece - Police Earpiece
...hey`ll be facing when they report for duty. One day they could be stopping motorists to check their vehicles and the next they might be arresting somebody for shoplifting. It`s vital that the office...
Visit Police Earpiece...

Prototype - Prototype
...eed an effective Prototype to move your product forward you`ll find companies like Thompson Precision can do precisely that. They have been working in the engineering business for many years know and...
Visit Prototype...


Click For More Detailed Information on:
easy phone internet ::best net 4 u ::future testing ::easy budget internet info ::new blood online ::trchnology website ::best exercise online ::my application 4 u online ::big pacing pro ::technology study store

Home  |  About Us  |  Contact Us  |  Articles  |  Special Reports  |  Links  |  Site Map

Copyright © 2003-2012. All Rights Reserved.


Valid CSS!