The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 10:35 AM
Configuring 1 Nic card with 2 IP addresses and 2 seperate default Gateways in Solaris Remi SUN Solaris 1 04-11-2007 09:06 PM
setup of 2 gateways on AIX mynikolas AIX 2 06-06-2005 04:00 AM
2 gateways on the same unix box josramon IP Networking 2 04-12-2004 11:56 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-12-2001
Deuce Deuce is offline
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.
  #2 (permalink)  
Old 11-12-2001
cybler cybler is offline
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 (permalink)  
Old 11-12-2001
doeboy's Avatar
doeboy doeboy is offline
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.
Closed Thread

Bookmarks

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

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0