01-05-2011
This output is from one of my database servers that I want to implement IPMP on. The two NICs are the private interconnect between servers and, I want to use IPMP for redundancy. During testing, I've seen where if disconnect the port that houses nge0 then the database will stay up and running. If i disconnect the port that houses nge1 then the database craps out. What I'd like to do is setup IPMP so that if nge1 goes down then nge0 immediately takes over the load.
10 More Discussions You Might Find Interesting
1. IP Networking
i have one private network with one ip address, and i have a seperate network on a seperate ip address.
now, each network is behind a firewall/router. now what i want to do is be able to access one server on the second network from a computer on the first., but with the private ip address, (this... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
2. Solaris
Hi All,
Kindly help me in configuring IPMP or guid me to some link, tried goggling however no luck.
Thanks in anticipation (1 Reply)
Discussion started by: kumarmani
1 Replies
3. Solaris
Hi All,
I have unplumbed one interface.
after that ifconfig -a shows that
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
... (7 Replies)
Discussion started by: jegaraman
7 Replies
4. Solaris
Probe-based IPMP active - active
Probe-based IPMP active - passive
Link-based only active -standby
????
What are differences between
Probe-based IPMP active - passive anddd
Link-based only active -standby
???!!!
For example in active active probe-based IPMP there are
lets... (6 Replies)
Discussion started by: samar
6 Replies
5. Solaris
Guide me in setting up IPMP on solaris 10 box .
my system has 2 physical interface
bge0 - not used
bge1 - 10.10.10.10
bge1:1 - 10.10.10.11
please guide , how can i implement IPMP on this server , how many additional test ip is required ? , as 2 ip's are configured on bge1 interface ,... (3 Replies)
Discussion started by: skamal4u
3 Replies
6. Solaris
Hi all,
Currently i got a server which had two interface. I had study the <SystemAdministration Guide: IP> but still donno what is the correct step to configure it. Can u all help me on it? thanks
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index... (6 Replies)
Discussion started by: SmartAntz
6 Replies
7. Solaris
Dear All,
I have configured IPMP in one of my SUN machine which is having solros 9 version. I have updated all files like /etc/hosts,/etc/hostname.ce0 and /etc/hostname.ce1 and rebooted the server. But IP's are not mounted which i have given in /etc/hosts file.
Please find the below ifconfig... (6 Replies)
Discussion started by: lbreddy
6 Replies
8. Solaris
Please tell me how to configure IPMP in vmware
what is the basic working concept of IPMP.
please help me (1 Reply)
Discussion started by: sijocg
1 Replies
9. Solaris
Hi all
i had two interface
ce0 and ce5
but when i run the ifconfig, it show me alot of extra virtual interface, may i know how to remove it?
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0:... (2 Replies)
Discussion started by: SmartAntz
2 Replies
10. Solaris
Hi
I would like to know whether we can configure link based IPMP in private connectivity in Oracle RAC
Regarsd
---------- Post updated at 04:35 PM ---------- Previous update was at 04:27 PM ----------
Here I am taking about in case of private connectivity through cross cable (6 Replies)
Discussion started by: sb200
6 Replies
LEARN ABOUT OPENSOLARIS
if_nametoindex
if_nametoindex(3SOCKET) Sockets Library Functions if_nametoindex(3SOCKET)
NAME
if_nametoindex, if_indextoname, if_nameindex, if_freenameindex - routines to map Internet Protocol network interface names and interface
indexes
SYNOPSIS
cc [ flag... ] file... -lsocket [ library... ]
#include <net/if.h>
unsigned int if_nametoindex(const char *ifname);
char *if_indextoname(unsigned int ifindex, char *ifname);
struct if_nameindex *if_nameindex(void)
void if_freenameindex(struct if_nameindex *ptr);
PARAMETERS
ifname interface name
ifindex interface index
ptr pointer returned by if_nameindex()
DESCRIPTION
This API defines two functions that map between an Internet Protocol network interface name and index, a third function that returns all
the interface names and indexes, and a fourth function to return the dynamic memory allocated by the previous function.
Network interfaces are normally known by names such as eri0, sl1, ppp2, and the like. The ifname argument must point to a buffer of at
least IF_NAMESIZE bytes into which the interface name corresponding to the specified index is returned. IF_NAMESIZE is defined in
<net/if.h> and its value includes a terminating null byte at the end of the interface name.
if_nametoindex() The if_nametoindex() function returns the interface index corresponding to the interface name pointed to by the
ifname pointer. If the specified interface name does not exist, the return value is 0, and errno is set to ENXIO. If
there was a system error, such as running out of memory, the return value is 0 and errno is set to the proper value,
for example, ENOMEM.
if_indextoname() The if_indextoname() function maps an interface index into its corresponding name. This pointer is also the return
value of the function. If there is no interface corresponding to the specified index, NULL is returned, and errno is
set to ENXIO, if there was a system error, such as running out of memory, if_indextoname() returns NULL and errno
would be set to the proper value, for example, ENOMEM.
if_nameindex() The if_nameindex() function returns an array of if_nameindex structures, one structure per interface. The if_namein-
dex structure holds the information about a single interface and is defined when the <net/if.h> header is included:
struct if_nameindex
unsigned int if_index; /* 1, 2, ... */
char *if_name; /* "net0", ... */
};
While any IPMP IP interfaces are returned by if_nameindex(), the underlying IP interfaces that comprise each IPMP
group are not returned.
The end of the array of structures is indicated by a structure with an if_index of 0 and an if_name of NULL. The
function returns a null pointer upon an error and sets errno to the appropriate value. The memory used for this array
of structures along with the interface names pointed to by the if_name members is obtained dynamically. This memory
is freed by the if_freenameindex() function.
if_freenameindex() The if_freenameindex() function frees the dynamic memory that was allocated by if_nameindex(). The argument to this
function must be a pointer that was returned by if_nameindex().
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
ifconfig(1M), if_nametoindex(3XNET), attributes(5), if(7P)
SunOS 5.11 28 Jan 2009 if_nametoindex(3SOCKET)