Sponsored Content
Full Discussion: gateways
Top Forums UNIX for Dummies Questions & Answers gateways Post 10327 by doeboy on Monday 12th of November 2001 06:42:23 PM
Old 11-12-2001
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.
 

7 More Discussions You Might Find Interesting

1. IP Networking

2 gateways on the same unix box

Hello there: I have these situation : I have a unix sco openserver 5.0.7 box and a windows server 2003. There is a main office and 2 remote office that log in trough a vpn tunnel. One tunnel From Main to remote1 and the other from Main to remote 2. Problem! The dsl connection i have is... (2 Replies)
Discussion started by: josramon
2 Replies

2. AIX

setup of 2 gateways on AIX

Please, anybody help on resolving the following problem? I have 2 netwotks ( 10.0.0.0 and 10.0.11.0 ) on 2 different areas I need both networks to telnet the corresponding ethernet card. This is a prblem because AIX is configured with a default gateway. Please advice how to assign 2... (2 Replies)
Discussion started by: mynikolas
2 Replies

3. Solaris

Configuring 1 Nic card with 2 IP addresses and 2 seperate default Gateways in Solaris

Hi ...... I'm trying to configure my Solaris servers with only one NIC card to have 2 IP addresses as well as 2 different default gateways. ( NOT to be confused with multi-pathing - with 2 physical IPs & 1 virtual ip) Thanks, Remi (1 Reply)
Discussion started by: Remi
1 Replies

4. Shell Programming and Scripting

configuring 2-gateways in linux

Hi, I want to configure 2-gateways in Linux . Please tell me how I can achieve this. I am accesing 2-internet connection through these 2-gateways. So I am looking that if 1-gets down then also other one is working. Regards JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

5. AIX

2 default gateways

I have a bunch of servers on AIX, we have at least 2 NIC cards in each of them. We upgraded them from AIX 4.2 to AIX 5.2. Since then when we reboot a server its always coming up with 2 default gateways. Habitually this is not a problem but sometime its causing some connection problem. We... (10 Replies)
Discussion started by: ce9888
10 Replies

6. BSD

Two gateways

I have a web server running FreeBSD 7.2, i have configured two NICs in the following way: fxp0: 200.14.xxx.254 sk0: 200.12.xxx.4 gateway: 200.14.xxx.1 both ip addresses are public but only those requests to fxp0 are successful. I have tried configuring nat and binat in sk0 but it... (4 Replies)
Discussion started by: edgarvm
4 Replies

7. UNIX for Dummies Questions & Answers

iptables / ip route packet routing with multiple gateways

Hi all. Linux noob here. I was hoping someone could help me with configuring some routing rules on my router, an Asus AC68. The router is connected to two gateways, wan0_gateway and wan1_gateway. I have rules set up in the router gui that will push all traffic from every IP other than my own... (0 Replies)
Discussion started by: Bishi
0 Replies
ripquery(8)						      System Manager's Manual						       ripquery(8)

NAME
ripquery - Queries RIP gateways SYNOPSIS
/usr/sbin/ripquery [-1] [-2] [-[a5] authkey] [-n] [-p] [-r] [-v] [-w time] gateway ... FLAGS
Sends the query as a version 1 packet. Sends the query as a version 2 packet (default). Specifies the authentication password to use for queries. If -a specified, an authentication type of SIMPLE will be used, if -5 is specified, an authentication type of MD5 will be used, otherwise the default is an authentication type of NONE. Authentication fields in incoming packets will be displayed, but not validated. Prevents the address of the responding host from being looked up to determine the symbolic name. Uses the RIP POLL command to request information from the routing table. This is the default. If there is no response to the RIP POLL command, the RIP REQUEST command is tried. The gated daemon responds to a POLL command with all the routes learned through RIP. Used the RIP REQUEST command to request information from the gateway's routing table. Unlike the RIP POLL command, all gateways should support the RIP REQUEST. If there is no response to the RIP REQUEST command, the RIP POLL command is tried. The gated daemon responds to a REQUEST command with all the routes he announces out the specified interface. Because of limitations in the UDP interface, on systems based on BSD 4.3 Reno or earlier, REQUESTs respond about the interface used to route packets back to the sender. This can be avoided by running ripquery on the host being queried. Displays version information about ripquery before querying the gateways. Specifies the time in seconds to wait for the initial response from a gateway. The default value is 5 seconds. DESCRIPTION
The ripquery command is used to request all routes known by a RIP gateway by sending a RIP request or POLL command. The routing informa- tion in any routing packets returned is displayed numerically and symbolically. The ripquery command is intended to be used as a tool for debugging gateways, not for network management. SNMP is the preferred protocol for network management. The ripquery command by default uses the RIP POLL command, which is an undocumented extension to the RIP specification supported by routed on SunOS 3.x and later and by gated 1.4 and later. The RIP POLL command is preferred over the RIP REQUEST command because it is not sub- ject to Split Horizon or Poisoned Reverse. See the RIP RFC for more information. RELATED INFORMATION
Commands: gated(8), gdc(8), ospf_monitor(8), routed(8) delim off ripquery(8)
All times are GMT -4. The time now is 02:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy