The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
AIX 5.3 Routing BlitzSonik UNIX for Dummies Questions & Answers 1 06-05-2007 07:03 AM
Routing jaibw Linux 2 11-27-2005 07:36 PM
routing big123456 UNIX for Advanced & Expert Users 4 11-22-2005 01:45 AM
routing mrthrt UNIX for Dummies Questions & Answers 5 08-21-2003 11:39 AM
Routing DevilGREEN IP Networking 9 11-05-2001 04:08 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-21-2001
Registered User
 

Join Date: May 2001
Posts: 1
Angry

I have SCO Unix. I have 2 routers. as it is now, when someone telnets to UNIX and goes through router #1 everything is fine. The users who go through router #2 can not connect at all. I talked to CISCO and they said I need to set up a second Gateway on UNIX. They said what is happening is that UNIX tries to respond, but it is responding to router #1 becasue that is all that it knows. What is the command for adding a second Gateway?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-21-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,189
Your routing problem is a basic issue that the host has a default gateway that points to a router/gateway that is not the right one. There are numerous ways to solve this, depending on the routing requirements.

If you are coming into the host via the second router from specific IP addresses or subnets; you simply add a static route that points at the second routers (host side) IP address (gateway) for the subnets/IPs.

This is done with the <B>ifconfig</b> command. The exact syntax of ifconfig is machine dependent, so check your man page on this command.

In a nutshell, you must tell the box you are telnetting into how to return the packets based on destination address (of the returning packets) coupled with the IP address of the gateway. This is called static routing and it the best way to go.

You need to understand (1) static routing and (2) the ifconfig command on your system.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0