![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
First, what UNIX OS do you have on these locations? Every one is a bit different in how it stores network information.
|
|
#3
|
||||
|
||||
|
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 |