Skip navigation
Cisco Learning Home > CCENT/CCNA R&S Study Group > Discussions
1495 Views 5 Replies Latest reply: May 4, 2012 3:58 AM by Daniel RSS

Currently Being Moderated

Deafault route / Gateway of last resort

Mar 22, 2013 12:22 PM

jackattack 77 posts since
Jun 22, 2010

Hi, i built this little PT to demonstrate to me and show me how Default route works,  it does work like i had hoped

i took two routers and using no routing protocols i only used    "  ip route 0.0.0.0 0.0.0.0  192.168.200.2

and i can ping end to end accross the network, this is cool...

I would like to hear comments on the use of this type of command....

 

thanks

 

ps i am uploadig the PT file.

Attachments:
  • learning cookie monster 105 posts since
    Jan 30, 2010
    Currently Being Moderated
    1. Apr 24, 2012 8:10 PM (in response to jackattack)
    Re: Deafault route / Gateway of last resort

    A better term would be a default route as this is layer 3 mechanism. That statement basically says, if I have not more specific matching route in my table, send this traffic to next hop 192.168.200.2.

     

    a little clarifciation as there is a command ip default-gateway which will let a layer 2 only device know where to send anytnig that is not on a local subnet.

     

    Regards,

     

    Marc

  • RG_WB 58 posts since
    Nov 19, 2009
    Currently Being Moderated
    2. Apr 25, 2012 2:50 PM (in response to jackattack)
    Re: Deafault route / Gateway of last resort

    Jack,

     

    Please excuse if the comment is a lil off target for I am unable to view your file from where I am. I'm still learning but, assuming your link between routers is a serial link wouldn't you be able to ping anyway since HDLC is enabled by default?

  • Rajiv Kumar 217 posts since
    Jan 24, 2010
    Currently Being Moderated
    4. Apr 27, 2012 8:16 AM (in response to jackattack)
    Re: Deafault route / Gateway of last resort

    I want to know if you can connect to the internet using all of ur devices thru ur default-route. I have default route set but it is not working from all of my devices.

  • Daniel 197 posts since
    Jul 21, 2011
    Currently Being Moderated
    5. May 4, 2012 3:58 AM (in response to Rajiv Kumar)
    Re: Deafault route / Gateway of last resort

    Rajiv,

     

    The default route can be used to put all traffic not destined for your local lan out to the internet. But if it's not working it means your routing tables are incorrect somewhere. Usually the ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx command is used at the boarder router separating your LAN from internet.

     

    It can be used internally as well but remember that for a device to have full connectivity it must have a destination path and a return path. So interconnecting two devices like this - only using default route will work since they will both send every packet they don't know where it exists - to the other router.

     

    Meaning, if you ping the remote network it will be sent to the other router because of the default route....next router knows where the network is....return path goes the same way back because of the default route.

     

    ...i know this is rather old but try to accomplish the same thing with three routers interconnected like a triangle and see if you can get it to work .

     

    -Daniel

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)