Sponsored Content
Operating Systems HP-UX Connecting To An External Network Using A logical (PACKAGE) IP Address Post 302191424 by cchilenga on Friday 2nd of May 2008 02:06:24 PM
Old 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

how to remove a logical ip address?

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

connecting the ip address

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

Connecting an external SCSI drive to a unix computer

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

Physical and Logical IP address

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

How do I find my IP address when connecting via VPN.

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

How to set server's ip address, router, network mask and set if it is an internal or external ip?

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)

mailx to external email address

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

External IP Address of Linux Server

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

[Solved] problem - connecting code with external file

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

Install vendor (external) package on Solairs 11.#

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
cmpt_get_ifcid(3)					     Library Functions Manual						 cmpt_get_ifcid(3)

NAME
cmpt_get_ifcid(), cmpt_get_addrcid() - get the compartment IDs associated with a network interfaces SYNOPSIS
Parameters ifname Pointer to network interface name string. family Address family of the ipaddress specified. Currently, the AF_INET and AF_INET6 address families are supported. addr Points to a buffer holding an IPv4 address if the family argument is AF_INET or an IPv6 address if the family is AF_INET6. The address should be in numeric format in the network byte order. Numeric format is the binary value that goes into a socket address structure. The binary value is the hex representation of the IPv4/IPv6 address. This binary value resides in the structure for IPv4 address and in the structure for IPv6 address. (See inet(3N) for more details.) mask Network mask in the CIDR representation. DESCRIPTION
The function returns the compartment ID associated with a network interface. The function returns the compartment ID of the tuple as set by a previous invocation of the command. RETURN VALUE
The functions and return the following values: Successful completion. n is the compartment of the interface or the tuple. Function failed. may be set to indicate the error. ERRORS
If any of the following conditions occur, and fails and sets Compartmentalization feature is not supported. The process does not have the appropriate privilege. See privileges(5). Specified interface or the address tuple has no compartment mapping. Specified mask or family is invalid. DEPENDENCIES
These functions are a part of the library. SEE ALSO
compartments(4), compartments(5), privileges(5). cmpt_get_ifcid(3)
All times are GMT -4. The time now is 03:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy