Education & Development
IT & Security Boot Camps
Security Awareness Training
CCNA & CCENT
CCNA & CCENT
What does the command do
Can Anybody please explain me the idea of default gateway properly
This command is used on EIGRP default routing.
The idea of a "default gateway" is a route that matches all packets, so, in the case of not having a more specific (better prefix) route for a certain destination, it will be matched by this default route then forwarded to the next hop.
In times since past, routers were known as gateways. This is because they separate one network from another, or broadcast domains. When a computer wants to send information to another computer, it performs ANDing logic between the destination IP and its own IP. This way it determines if the destination is on another network or not. If ANDing tells the computer it is on another network, then the computer will send the packet to its configured default gateway. Which, again, is just a router that is separating one network from another.
Short answer, the IP default-network command uses the route to a classful network as the default route. Generally this would be a route in your edge block that is advertised through a routing protocol. It is most often used with EIGRP which does not have a default-information originate command, although there are other ways to advertise a default network.
Default routing options | Route, Switch, Blog
There's no place like ^$
Visit me at
Route, Switch, Blog
Not to hi-jack OP..
ip default-gateway - should essentially allow you to set your gateway?
ex. ip default-gateway 192.168.1.1
I run a sh running-config but don't notice any changes. I'm having difficulty pinging PC from Router, but not from PC to router. Firewall allows ICMPv4 access.