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
LEARN ABOUT NETBSD
networks
NETWORKS(5) BSD File Formats Manual NETWORKS(5)
NAME
networks -- Internet Protocol network name data base
DESCRIPTION
The networks file is used as a local source to translate between Internet Protocol (IP) network addresses and network names (and vice versa).
It can be used in conjunction with the DNS, as controlled by nsswitch.conf(5).
While the networks file was originally intended to be an exhaustive list of all IP networks that the local host could communicate with, dis-
tribution and update of such a list for the world-wide Internet (or, indeed, for any large "enterprise" network) has proven to be prohibi-
tive, so the Domain Name System (DNS) is used instead, except as noted.
For each IP network a single line should be present with the following information:
name network [alias ...]
These are:
name Official network name
network IP network number
alias Network alias
Items are separated by any number of blanks and/or tab characters. A ``#'' indicates the beginning of a comment; characters up to the end of
the line are not interpreted by routines which search the file.
Network number may be specified in the conventional dot (``.'') notation using the inet_network(3) routine from the IP address manipulation
library, inet(3). Network names may contain "a" through "z", zero through nine, and dash.
IP network numbers on the Internet are generally assigned to a site by its Internet Service Provider (ISP), who, in turn, get network address
space assigned to them by one of the regional Internet Registries (e.g. ARIN, RIPE NCC, APNIC). These registries, in turn, answer to the
Internet Assigned Numbers Authority (IANA).
If a site changes its ISP from one to another, it will generally be required to change all its assigned IP addresses as part of the conver-
sion; that is, return the previous network numbers to the previous ISP, and assign addresses to its hosts from IP network address space given
by the new ISP. Thus, it is best for a savvy network manager to configure his hosts for easy renumbering, to preserve his ability to easily
change his ISP should the need arise.
FILES
/etc/networks The networks file resides in /etc.
SEE ALSO
getnetent(3), nsswitch.conf(5), resolv.conf(5), hostname(7), dhclient(8), dhcpd(8), named(8)
Classless IN-ADDR.ARPA delegation, RFC 2317, March 1998.
Address Allocation for Private Internets, RFC 1918, February 1996.
Network 10 Considered Harmful, RFC 1627, July 1994.
Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy, RFC 1519, September 1993.
DNS Encoding of Network Names and Other Types, RFC 1101, April 1989.
HISTORY
The networks file format appeared in 4.2BSD.
BSD
November 17, 2000 BSD