Question : Change Default Gateway on Router

I am unfamiliar with the Cisco command line, and have found myself in the situation that I need to change the default gateway on one of the three Router we have here at my company. We have one main office and two remote offices, and each remote office is connected to our main site via dedicated T1's. There is a router at each location for internal routing (hub and spoke topo, assymetric routing). At one of our remote offices, they were never eligible for anything other than dialup- so they were originally set up to share our internet connection here at the main site (by using our Router as a gateway). They have finally gotten an internet connection and I was wondering how I go about changing the IP for there gateway (which would be there firewall - 192.168.1.1). Am I correct in the assumption that I will modify the Route "ip route 0.0.0.0.0 0.0.0.0.0 192.168.255.1" to "ip route 0.0.0.0 0.0.0.0 192.168.1.1"? Also do I need to specify an interface? Please explain.

Thanks

Answer : Change Default Gateway on Router

yes.  but you need to remove the original one, like this  

no ip route 0.0.0.0.0 0.0.0.0.0 192.168.255.1

ip route 0.0.0.0 0.0.0.0 192.168.1.1

thats it.  and dont forget to write to memory

write memory
Random Solutions  
 
programming4us programming4us