05-02-2008
Connecting To An External Network Using A logical (PACKAGE) IP Address
Hie everyone,
I am currently facing a problem whereby I can not connect to an external network from a package ip address on a HP-UX cluster. Below is the illustration:
Primary Server IP Address : n.n.n.202
Secondary Server IP Address : n.n.n.212
Package IP Address : n.n.n.211
Exterternal IP Address to connect to : x.x.x.1
When I try to connect to the external IP the IP for the Primary Server is the one being recognised instead of that of the package from which the application is running.
Question
Is there a way of overiding the system so that it can use the package ip address to connect to the external network rather than the system using the ip of the primary server upon which the package is running?
Cheers
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
i "accidentedly" added some logical ip address to my solaris 8 machine.
now i want to remove them. i already man ifconfig but some how i just keep getting the wrong syntax.
this is the command i used to add
ifconfig hme0 addif 192.168.100.10 netmask 255.255.2550.0 up
so, now... (2 Replies)
Discussion started by: champion
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have three ip address say x.x.x.x , y.y.y.y and z.z.z.z
I am connecting to x.x.x.x first and from there i am telnet y.y.y.y and getting into y and from there i am telnet to z
i want to know, can we write a script, which can automatically connect from x to y and from y to z..
is... (1 Reply)
Discussion started by: vasikaran
1 Replies
3. UNIX for Dummies Questions & Answers
I am interested in booting up my unix computer by connecting an external SCSI drive( intergraph) to it. The unix box is also an intergraph computer. Whenever I boot it, it gives me an error that says Drive not ready, Insert Boot Diskette in A. What am I doing wrong?
Any input would be... (3 Replies)
Discussion started by: teruotor
3 Replies
4. AIX
Hi all
I need command to give logical and physical IP Address for my machine.
thank you (1 Reply)
Discussion started by: magasem
1 Replies
5. IP Networking
I connect to my client's network via VPN. We have a UNIX box there & I would like to know IP address of my PC when I connect to UNIX box using Putty software. I checked this command - /usr/sbin/ifconfig -a and it showed me the output
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232... (4 Replies)
Discussion started by: gppande
4 Replies
6. 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
7. OS X (Apple)
Hi, How can I use "mailx" command to send message to an email address like this?
echo "This email body" | mailx -s "my subject" "email@hostname.com"
There may be some setup required in sendmail or postfix??
OS = Snow Leopard 10.6 (4 Replies)
Discussion started by: FlyingSquirrel
4 Replies
8. Shell Programming and Scripting
Hi,
I am trying to find the external IP address of a server "XXX".
I logged into server "XXX" and executed nslookup XXX. output number is 123.23.23.45
Later, i have executed "curl http://whatismyip.org". This time i got a different number 611.34.63.22
Out of these two numbers, what number... (1 Reply)
Discussion started by: forums123456
1 Replies
9. Shell Programming and Scripting
hello. this is the code
#!/bin/sh
total1024=0
total2048=0
total8192=0
if ; then
if ; then
while read variable
do
if ; then
total1024=$(( $total1024 + 1 ))
fi
if ; then
total2048=$((... (4 Replies)
Discussion started by: Telis
4 Replies
10. Solaris
Hello,
How can I install a package on Solaris 11.# that is not part of the IPS repo? For example if I want to install vasclient.pgk on a Solaris 11 system? I have the .pkg files copied over to the system but the old pkgadd does not apply to solaris 11. package install don't work either. I... (1 Reply)
Discussion started by: fly3rs
1 Replies
rarpc(1M) rarpc(1M)
NAME
rarpc - Reverse Address Resolution Protocol client
SYNOPSIS
count] interface_name
DESCRIPTION
the Reverse Address Resolution Protocol client, implements the client portion of the Reverse Address Resolution Protocol (see It sends RARP
requests for the specified interface's hardware address and waits for the response from the RARP server. can be used during boot-time ini-
tialization to find the IP address of an interface. To do so, set the i] variable of interface i with in
Options are:
Print debugging information.
Use ethernet encapsulation only.
Use SNAP encapsulation only.
Transmits count requests and waits for each one to time out before
giving up.
interface_name Identifies the interface to request information about.
If a response is received, it prints the IP address to its standard output. This information can be used to configure the interface as
seen in
If a response is not received, the client will retransmit after 2 seconds, and then after 4 seconds. After that, retransmissions occur
every 8 seconds.
RETURN VALUE
Exit status is 1 if the command fails or no RARP response is received. Exit status is 0 and the IP address is printed to standard output
if a response is received.
LIMITATIONS
1. The client cannot be run at the same time a daemon is running on the same interface.
2. The client supports only ethernet, 100VG and FDDI network interfaces.
AUTHOR
was developed by HP.
SEE ALSO
rarpd(1M).
R. Finlayson, T. Mann, J.C. Mogul, M. Theimer, "Reverse Address Resolution Protocol", RFC 903.
rarpc(1M)