07-19-2013
How to set gateway address to a particular interface?
How to set gateway address to a particular interface? waht are the files need to update to make it permanent?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I change the IP address and gateway info on a unix server? (2 Replies)
Discussion started by: gguzman
2 Replies
2. UNIX for Dummies Questions & Answers
Hi, I'm new to unix and have absolutely no experience with it. I am trying to change the network setting on the only computer on our network with SCO Unix. We switched ISP's and now have a new set of IP's. I can't for the life of me figure out how to go in and change these settings, please help.... (12 Replies)
Discussion started by: PBNOSGT
12 Replies
3. UNIX for Dummies Questions & Answers
How can I change the gateway address on my sco Openserver 5.0.6. A cisco firewall is recently installed but the gateway on the system is still pointing at the old one.
I want it to use the gateway address of the router.
Please help. Thanks (2 Replies)
Discussion started by: sshokunbi
2 Replies
4. Programming
how we can get the gateway address.
i know gethostname used for ipaddress
how we can get the system gateway address.
thank u inadvance,
sree (2 Replies)
Discussion started by: phani_sree
2 Replies
5. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
6. IP Networking
Is there a command that can lookup ip address, subnet mask, gateway, and dns all at the same. I know ifconfig can lookup ip address and subnet mask. I know route -n can lookup gateway. Not sure about a dns command. So I hope there is a way to lookup ip address, subnet mask, gateway, and dns all at... (2 Replies)
Discussion started by: cokedude
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Using Redhat 6.1 with all the latest patches. I have the default gateway address but it never gets loaded. I have to add that manually? Not sure. Any idea. Is there any other place which I need to add?
/etc/sysconfig/network-scripts/ifcfg-em1
DEVICE="em1"... (2 Replies)
Discussion started by: samnyc
2 Replies
8. UNIX for Advanced & Expert Users
Hi ,
Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
9. Red Hat
Hi all,
i have a rhel 6.2 with a default gateway.
This server is an Intranet office with no internet access.
DNS are already configured and it's possible to resolve my target.
My goal is to link my application (apache forward) only to http://mytarget.yyy through a new gateway (That does... (0 Replies)
Discussion started by: kamose
0 Replies
10. UNIX for Beginners Questions & Answers
Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
LEARN ABOUT OSF1
ripquery
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)