What the difference between Default Route & Default Gate

hix18hix18 Posts: 16Member ■□□□□□□□□□
Hi,

Can someone tell me the difference between Default Route & Default Gateway?
Basicly they are both use to point to the other networks and I know normally we use default route on a router and default gateway on a switches.

Did you know Cisco 2600 router have the command for Default Gateway.
Here to learn.....

Comments

  • david_rdavid_r Posts: 112Member
    I hope you meant default-network. If not, maybe this will useful to someone else.

    hix,
    It has to do with whether you want the route propagated or not. default-network will be propagated as here. The Los Angeles router doesn't have any default routes defined. This doesn't apply to all routing protocols.

    Texas3
    router rip
     version 2
     network 10.0.0.0
     network 192.168.2.0
     no auto-summary
    !
    ip http server
    ip classless
    ip default-network 192.168.1.0
    

    LosAngeles1
    LosAngeles1#show ip route
    ...
    Gateway of last resort is 192.168.2.3 to network 0.0.0.0
    
         10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
    O       10.2.2.2/32 [110/65] via 192.168.2.2, 00:06:04, Serial0
    O IA    10.3.3.3/32 [110/65] via 192.168.2.3, 00:06:04, Serial0
    R       10.3.3.0/24 [120/1] via 192.168.2.3, 00:00:21, Serial0
    C       10.1.1.0/24 is directly connected, Loopback0
         192.168.2.0/29 is subnetted, 1 subnets
    C       192.168.2.0 is directly connected, Serial0
    R*   0.0.0.0/0 [120/1] via 192.168.2.3, 00:00:21, Serial0
    
  • hix18hix18 Posts: 16Member ■□□□□□□□□□
    Thanx... but that now what I meant.

    Default Network is

    IP route 0.0.0.0 0.0.0.0 192.168.1.1

    Default gateway is

    IP default-gateway 192.168.1.1

    Both pointing to 192.168.1.1 to go outside the network
    Here to learn.....
  • EdTheLadEdTheLad Posts: 2,112Member ■■■■□□□□□□
    hix18 wrote:
    Hi,

    Can someone tell me the difference between Default Route & Default Gateway?
    Basicly they are both use to point to the other networks and I know normally we use default route on a router and default gateway on a switches.

    Did you know Cisco 2600 router have the command for Default Gateway.

    Default route is used as the gateway of last resort meaning if there is no more specific route the default route is used.
    Default Gateway is used on a non routing device, meaning if the destination is off the local subnet use the default gateway.If you config default gateway on a router you must do "no ip routing" first.
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • marlon23marlon23 Posts: 164Member ■■□□□□□□□□
    Dont forget on consequences of classless and classfull routing, becouse this two define when is defaulte route used.

    Everything else was allready written.
    LAB: 7609-S, 7606-S, 10008, 2x 7301, 7204, 7201 + bunch of ISRs & CAT switches
  • EdTheLadEdTheLad Posts: 2,112Member ■■■■□□□□□□
    marlon23 wrote:
    Dont forget on consequences of classless and classfull routing, becouse this two define when is defaulte route used.

    Everything else was allready written.

    You dont really have to think about it so much as current ios has
    "ip classless" enabled by default.
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • hix18hix18 Posts: 16Member ■□□□□□□□□□
    Yup I think ed is right.... I can understand now.
    Thanks

    Because if you can check in your cisco router there is a command
    for default-gateway and that why I ask...
    It like we change our router to be a bridge here then only we can
    use default-gateway...

    Am I right here??
    Here to learn.....
  • lwwarnerlwwarner Posts: 147Member ■■■□□□□□□□
    Configuring a Gateway of Last Resort Using IP Commands

    Summary

    Use the ip default-gateway command when ip routing is disabled on a Cisco router. Use the ip default-network and ip route 0.0.0.0 0.0.0.0 commands to set the gateway of last resort on Cisco routers that have ip routing enabled. The way in which routing protocols propagate the default route information varies for each protocol.
Sign In or Register to comment.