| Author |
ip default-network
|
|
| richard21 2001-08-19, 3:35 pm |
| Could anyone explain me how this command works and what it does ?
Thx in advance. | |
| Yeti-GBR1 2001-08-19, 4:59 pm |
| Hi Richard21,
I would suggest doing a search on the cisco website for "ip default-network"
here are some links from the search I did for you:
There are more, so search on.... | |
| strikeattack 2001-08-20, 8:01 pm |
| IP DEFAULT-NETWORK <NETWORK>
This configures a default route- make sure this is a directly connected network. Different protocols handle this command differently. For example, EIGRP will NOT redistribute the 0.0.0.0 0.0.0.0 by default. If you want to redistribute static routes, make sure you enter the NETWORK 0.0.0.0 command for that protocol so that static routes are now part of the network area that it services. The DEFAULT-NETWORK command can be useful if the router has limited connections to two or more routers with large routing tables. | |
| Retired-Mod 2001-08-21, 3:21 am |
| Strike, you sure about the Network 0.0.0.0?
Think most use the "redistribute-static" command.
Retired | |
| depamo 2001-08-21, 11:35 am |
| Default-Network pops up next to the default network route in the active routing table on the router. How do you do this??
Enter a default network route--
ip route 0.0.0.0 0.0.0.0 <network or port>
once you do this, it is understood that this is the default network and will be stated next to it in the routing table. If you use a port, the admin distance will be 0, if you use an IP Address, it will be 1.
It will only be used if the router cannot find any other way to route the packet using the information in the routing table. This is useful if you use static routes to the ISP and don't feel like redistributing all the internets addresses into your network. You use a default route to get the packet to the router that has a routing table with the routes that you need to get the packet to where it needs to go (usually your edge BGP or other router).
The 'redistrubite-static' is usefull to push this into your network so you don't have to configure it on every single router. OSPF will do some freaky stuff with this but that is too much to mention here. EIGRP is pretty good with redistribution so long as you keep your admin distance high on your static routes so you will let the routing protocol make the decisions and these are used in a last case.
Hope that helps, talk to you all later. | |
|
|
|
|