The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
configuring 2-gateways in linux jagdish.machhi@ Shell Programming and Scripting 1 09-20-2007 07:35 AM
Configuring 1 Nic card with 2 IP addresses and 2 seperate default Gateways in Solaris Remi SUN Solaris 1 04-11-2007 06:06 PM
setup of 2 gateways on AIX mynikolas AIX 2 06-06-2005 01:00 AM
2 gateways on the same unix box josramon IP Networking 2 04-12-2004 08:56 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-12-2001
Registered User
 

Join Date: Sep 2001
Posts: 15
gateways

I cannot change my gateway. I have five locations (simulated) and i try to ping another of my locations but it says host unreachable and it is showing the gateway as the host i'm pinging withs ip address. I have tried the route command but I couldn't get it to work. Any suggestions on how to manually change my gateway to another address.
Forum Sponsor
  #2  
Old 11-12-2001
Registered User
 

Join Date: Nov 2001
Location: Phoenix, AZ
Posts: 5
First, what UNIX OS do you have on these locations? Every one is a bit different in how it stores network information.
  #3  
Old 11-12-2001
doeboy's Avatar
Registered User
 

Join Date: Oct 2001
Location: Here
Posts: 137
For Sun, you can edit the /etc/defaultrouter file to contain the IP address of your gateway.

Or you can mess around with the routing table and add or change your default route using something like this:

route add default <your gateway> <metric>

or

route change default <your gateway> <metric>

Check out the man page for route(1M) for more information.
Google The UNIX and Linux Forums
Closed Thread

« finger | grep tab »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:39 AM.


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

Content Relevant URLs by vBSEO 3.2.0