Question : IP ROUTE Command

Hi all,
I am confused about this command.  I have my static route 0.0.0.0 0.0.0.0 172.16.0.1 configured on my router, which is my gateway to the internet.  I want to pass this info using EIGRP to all my router behind it, rather than configuring all my routers w/ the same "ip route 0.0.0.0 0.0.0.0 172.16.0.1" command.  
If I were to do this, would it work?

Router(config)# router eigrp 100
Router(config-router)# network 172.16.3.0 0.0.0.255
Router(config-router)# network 0.0.0.0 0.0.0.0
Router(config-router)# end

Would that pass along the route 0.0.0.0 0.0.0.0, do I need to add 'redistribute static' ?

Do I have to use ip default-network command?  When would ip default-network command be useful?

Answer : IP ROUTE Command

>Router(config-router)# network 0.0.0.0 0.0.0.0  <== NO

ip route 0.0.0.0 0.0.0.0 172.16.0.1
Router(config)# router eigrp 100
Router(config-router)# redistribute static  <== YES

You do not need to use the ip default-network commands, unless the designated gateway is not on your local lan.

There may be a more efficient method to do what you want, if you would be more specific on your topology and needs..



Random Solutions  
 
programming4us programming4us