Sponsored Content
Full Discussion: Unable to perform IPMP
Operating Systems Solaris Unable to perform IPMP Post 302794133 by tiger09 on Monday 15th of April 2013 08:17:11 AM
Old 04-15-2013
Unable to perform IPMP

Hi,
I have perform IPMP on server. but its showing following errors,
root@DEVTEST10 # dladm show-dev
ce0 link: up speed: 100 Mbps duplex: full
ce1 link: up speed: 100 Mbps duplex: full
root@DEVTEST10 #
root@DEVTEST10 # ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=9040843 mt u 1500 index 4
inet 10.45.23.21 netmask ffffff00 broadcast 10.45.23.255
groupname accgrp
ether 0:14:4f:4a:c7:37
ce0:1: flags=1000843 mtu 1500 index 4
inet 10.45.23.20 netmask ffffff00 broadcast 10.45.23.255
ce1: flags=9040843 mt u 1500 index 3
inet 10.45.23.22 netmask ffffff00 broadcast 10.45.23.255
groupname accgrp
ether 0:14:4f:4a:c7:36
cat /etc/hosts
10.45.23.20 DEVTEST10 DEVTEST10..com loghost
10.45.23.21 DEVTEST10-ce0
10.45.23.22 DEVTEST10-ce1
root@DEVTEST10 # cat /etc/hostname.ce0
DEVTEST10-ce0 netmask + broadcast + deprecated -failover group accgrp addif DEVTEST10 netmask + broadcast + up
root@DEVTEST10 # cat /etc/hostname.ce1
DEVTEST10-ce1 netmask + broadcast + deprecated -failover group accgrp
root@DEVTEST10 #
root@DEVTEST10 # if_mpadm -d ce0
connect: Connection refused
bind: Cannot assign requested address
Cannot establish communication with in.mpathd.
I does not get what wrong i have done that why it's not done....
One more thing in /etc/hostname.ce0 file if gave “+failover” same in /etc/hostname.ce1 file also thn whats happended????
 

10 More Discussions You Might Find Interesting

1. Solaris

Ipmp

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

2. Solaris

IPMP config

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

3. Solaris

IPMP questions

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

4. Solaris

Unable to perform FTP from Window to OpenSolaris

Hi All, I installed OpenSolaris and I try to do FTP from window to opensolaris via WinSCP 3.7.6 then I am getting the following error-- Couldn't agree a client-to-server cipher(available: aes128-ctr,aes192-ctr,aes256-ctr,arcfour128,arcfour256,arcfour)Please provide me your valuable... (3 Replies)
Discussion started by: smartgupta
3 Replies

5. Solaris

IPMP Configuration

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

6. Solaris

IPMP problem

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

7. HP-UX

Unable To Perform A "Passwordless" SSH Login To A Server

Greetings! I am trying to perform a passwordless SSH login from a HPUX 11.31 client to a HPUX 11.31 server. Whenever I do a "ssh -l root serverA" from the client, I am prompted for a password. Giving the password, I am able to successfully login. However I am trying to accomplish a... (9 Replies)
Discussion started by: Rob Sandifer
9 Replies

8. Solaris

Solaris IPMP

Can any one please explain me the concept behind IPMP in solaris clustering.Basic explanation would be really appreciated... Thanks in Advance vks (2 Replies)
Discussion started by: vks47
2 Replies

9. Shell Programming and Scripting

Unix Script -- Unable to perform division

I'm new to scripts, i wrote the below script to capture the percentage of FreeMemory available in Linux box. Output of UsedfreeMemory is displayed as '0'. I'm expecting the output like 0.89 (or) .89 --- ( 0.89 perferable) Anyone can help me on this pls. ... (3 Replies)
Discussion started by: murali1687
3 Replies

10. Red Hat

Unable to perform yum update

Hi, I run RHEL 5.2 as a server in my lab. Now the issue I am facing is that I am unable to update my machine using yum update. It shows an error of missing dependencies though dependencies are already installed. Please help me to do that. Error screen shot is also attached. (9 Replies)
Discussion started by: Ankur Goyal
9 Replies
IPv4Addr(3)						User Contributed Perl Documentation					       IPv4Addr(3)

NAME
Net::IPv4Addr - Perl extension for manipulating IPv4 addresses. SYNOPSIS
use Net::IPv4Addr qw( :all ); my ($ip,$cidr) = ipv4_parse( "127.0.0.1/24" ); my ($ip,$cidr) = ipv4_parse( "192.168.100.10 / 255.255.255.0" ); my ($net,$msk) = ipv4_network( "192.168.100.30" ); my $broadcast = ipv4_broadcast( "192.168.100.30/26" ); if ( ipv4_in_network( "192.168.100.0", $her_ip ) ) { print "Welcome !"; } etc. DESCRIPTION
Net::IPv4Addr provides functions for parsing IPv4 addresses both in traditional address/netmask format and in the new CIDR format. There are also methods for calculating the network and broadcast address and also to see check if a given address is in a specific network. ADDRESSES
All of Net::IPv4Addr functions accepts addresses in many format. The parsing is very liberal. All these addresses would be accepted: 127.0.0.1 192.168.001.010/24 192.168.10.10/255.255.255.0 192.168.30.10 / 21 10.0.0.0 / 255.0.0.0 255.255.0.0 Those wouldn't though: 272.135.234.0 192.168/16 Most functions accepts the address and netmask or masklength in the same scalar value or as separate values. That is either my($ip,$masklength) = ipv4_parse($cidr_str); my($ip,$masklength) = ipv4_parse($ip_str,$msk_str); USING
No functions are exported by default. Either use the ":all" tag to import them all or explicitly import those you need. FUNCTIONS
ipv4_parse my ($ip,$msklen) = ipv4_parse($cidr_str); my $cidr = ipv4_parse($ip_str,$msk_str); my ($ip) = ipv4_parse($ip_str,$msk_str); Parse an IPv4 address and in scalar context the address in CIDR format and in an array context the address and the mask length. If the parameters doesn't contains a netmask or a mask length, in scalar context only the IPv4 address is returned and in an array context the mask length is undefined. If the function cannot parse its input, it croaks. Trap it using "eval" if don't like that. ipv4_network my $cidr = ipv4_network($ip_str); my $cidr = ipv4_network($cidr_str); my ($net,$msk) = ipv4_network( $net_str, $msk_str); In scalar context, this function returns the network in CIDR format in which the address is. In array context, it returns the network address and its mask length as a two elements array. If the input is an host without a netmask of mask length, the default netmask is assumed. Again, the function croak if the input is invalid. ipv4_broadcast my ($broadcast) = ipv4_broadcast($ip_str); my $broadcast = ipv4_broadcast($ip_str,$msk_str); This function returns the broadcast address. If the input doesn't contains a netmask or mask length, the default netmask is assumed. This function croaks if the input is invalid. ipv4_network my $cidr = ipv4_network($net_str); my $cidr = ipv4_network($cidr_sstr); my ($net,$msk) = ipv4_network( $ip_str, $mask_str); In scalar context, this function returns the network in CIDR format in which the address is. In array context, it returns the network address and its mask length as a two elements array. If the input is an host without a netmask or mask length, the default netmask is assumed. Again, the function croak if the input is invalid. ipv4_in_network print "Yes" if ipv4_in_network( $cidr_str1, $cidr_str2); print "Yes" if ipv4_in_network( $ip_str1, $mask_str1, $cidr_str2 ); print "Yes" if ipv4_in_network( $ip1, $mask1, $ip2, $msk2 ); This function checks if the second network is contained in the first one and it implements the following semantics : If net1 or net2 is a magic address (0.0.0.0 or 255.255.255.255) than this function returns true. If net1 is an host, net2 will be in the same net only if it is the same host. If net2 is an host, it will be contained in net1 only if it is part of net1. If net2 is only part of net1 if it is entirely contained in net1. Trap bad input with "eval" or else. ipv4_checkip if ($ip = ipv4_checkip($str) ) { # Do something } Return the IPv4 address in the string or undef if the input doesn't contains a valid IPv4 address. ipv4_cidr2msk my $netmask = ipv4_cidr2msk( $cidr ); Returns the netmask corresponding to the mask length given in input. As usual, croaks if it doesn't like your input (in this case a number between 0 and 32). ipv4_msk2cidr my $masklen = ipv4_msk2cidr( $msk ); Returns the mask length of the netmask in input. As usual, croaks if it doesn't like your input. AUTHOR
Francis J. Lacoste <francis.lacoste@iNsu.COM> COPYRIGHT
Copyright (c) 1999, 2000 iNsu Innovations Inc. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms as perl itself. SEE ALSO
perl(1) ipv4calc(1). perl v5.12.1 2000-08-01 IPv4Addr(3)
All times are GMT -4. The time now is 09:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy