Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a static route to a Cisco 2620 router

Status
Not open for further replies.

meby

IS-IT--Management
Dec 1, 2003
43
I'm a total rookie when it comes to programming routers. However, our router specialist isn't available and I need to add an additional static route to the routing table of my router. Can anyone tell me the commands to use to add one?
 
type following


router> en
Password: <type password>
router# conf t
router(confg)# ip route <destination ip> <subnet mask> <ip of next hop>
router(config)# exit
router# copy run start

 
Thank you very much. I was trying to do it from within the interface that was handling the incoming data. I guess I had one too many steps in my attempt.
 
Ok, now that I have the new static IP route entered how do I delete a previously entered route? Or even change a route (if possible)?
 
Simply re-enter the incorrect line with the work 'no' at the front of it.

router#conf t <CR>
router(config)# no ip route 10.10.10.0 255.255.255.0 1.1.1.1

Save the config etc and you should be done......


Andy
 
Thank you. I appreciate the help
 
Hi,

I am having trouble pinging a remote network from my PC.
The route is set up correctly, and I can ping (and get a reply from) the remote if I ping from the router on my LAN.
However, I can't ping from my workstation to the remote although the default gateway is set to that of the router on my LAN, and I can telnet into it.

Anyone help??

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top