Friday, March 18, 2005

How to Configure a Gateway of Last Resort

We’re often asked about how to connect a LAN to the Internet through a Cisco router. You need to have a way of telling the router, “If you don’t know what else to do with a packet, send it to the default network.” In this case, the default network would be your Internet connection. It’s actually quite simple.

Configure a static route like this:
#conf t(config)#ip route [target IP address (e.g. the Intenet address of the router)]

This command simply tells the router to send any packets addressed to unknown networks to the address specified at the end of the command. The specified address becomes your gateway of last resort. (Sounds pretty desperate, doesn’t it?)

For more information about default routing, register for our two-day Cisco Router Fundamentals Hands-On Workshop, available for onsite scheduling at your location for groups of four or more. Call 206.988.5858 or click here for details. Open-enrollment, public seminars are often available. Check online at for dates and locations.

No comments: