Default Gateway Requirements

Posted on July 31, 2008 by nseidm1.
Categories: LAN, Router, default, gateway, route, telnet.

I recently had a server providing telnet service to a local area network. An external connection was required, and therefore port forwarding on the master router needed configuration. I forwarded telnet to the local IP of the server, but a telnet connection could not be established. This was because the server did not see the router as the default gateway.

The server must see the router, which requires the following command for a temporary solution:

route add default 192.168.0.1

Where 192.168.0.1 is the local IP address of the router. Depending on how often the server restarts you may have to set the default router permanently. Although if the server is never expected to restart then the temperatory solution will act as a pseudo permanent solution.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • NewsVine
  • StumbleUpon
  • Technorati

no comments yet.

Leave a comment

Names and email addresses are required (email addresses aren't displayed), url's are optional.

Comments may contain the following xhtml tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>