Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Whan is IP Default Gateway command used...?????//

Pl. clarify me the circumastances under which ip Default gateway COmmand is used in a router. has this got any relation to ip routing...???

Rgds

Kalyan

6 REPLIES
Gold

Re: Whan is IP Default Gateway command used...?????//

Use it when there is no IP routing available. For instance, on a switch (layer 2)

we need to tell the management port how to send packets to the network. so we define a default gateway, which essentially says "send any non local packetss to this address"

Gold

Re: Whan is IP Default Gateway command used...?????//

Community Member

Re: Whan is IP Default Gateway command used...?????//

This command is usually issued on a switch (L2). It's like when you configure a default gateway for a PC, you'll need to configure a default gateway for the switch also to be able to access it from a remote location. So on a Cisco switch, the command is "ip default-gateway"

Community Member

Re: Whan is IP Default Gateway command used...?????//

I would like to add to the information provided here. ip default-gateway command can also be used in the cisco routers, when the IP Routing is turned off. There routers just act like network hosts.

This information is available in the BSCN coursebook, however, I really wonder why anyone would really like to turn routing off on a router ???

Regards

Nandan

Community Member

Re: Whan is IP Default Gateway command used...?????//

Sometimes U need to Turn off Routing and enable Bridging for some protocols may be across WAN. Then turning routing off might be helpful..

Gold

Re: Whan is IP Default Gateway command used...?????//

better choice would be IRB in that case

196
Views
0
Helpful
6
Replies
CreatePlease to create content