Sponsored Content
Full Discussion: IPMP + IPv6 test address
Operating Systems Solaris IPMP + IPv6 test address Post 302451965 by masloff on Wednesday 8th of September 2010 06:11:33 PM
Old 09-08-2010
IPMP + IPv6 test address

Hi,

inspired by this article, I decided to implement IPMP + IPv6 in Solaris 10.

It worked for me only this way:

1. Setup

Code:
# cat /etc/hostname*
10.23.10.113/24 broadcast + group data failover up  <- hostname.e1000g0

0.0.0.0/24 broadcast + group data -failover deprecated up standby <- hostname.nxge3

group data -failover up  <- hostname6.e1000g0
group data -failover up  <- hostname6.nxge3

2. Testing

Code:
# if_mpadm -d e1000g0
Offline failed as there is no other functional interface available in the multipathing group for failing over the network access.

3. Fixing (I guess you can just pick random free IP)

Code:
# ifconfig nxge3 10.23.10.114/24 broadcast + group data -failover deprecated standby up

4. Again testing

Code:
# if_mpadm -d e1000g0

It works!

5. Even more - plubing back 0.0.0.0 on this NIC

Code:
# ifconfig nxge3 0.0.0.0/24 broadcast + group data -failover deprecated standby up
# if_mpadm -d e1000g0

And it magically again works!

How could it be? Why it didn`t work, when I plumbed it with 0.0.0.0 IP originally? And worked after I plumbed some real IP, and also worked when I reverted it back to 0.0.0.0?

This is just plain magic...
 

8 More Discussions You Might Find Interesting

1. Programming

validate IPV6 address in windows using c++

I know there is a function inet_tpon for unix platforms to validate ipv6 addresses.But i need an equivalent of windows.When i use this function with the header file <winsock2.h> the visual studio 2005 on win2003 issues an error saying identifier not found :confused: (3 Replies)
Discussion started by: guru13
3 Replies

2. Shell Programming and Scripting

Regular expression to extract ipv6 address

Hi all , I have a string in my weblog xheader v6-day-2011:xx:yy:zz:qq:qq:ww:ee:rr My requirement is to lookup the sting v6-day-2011 in this header and if found would like to extract the V6 ip part . v6-day-2011 is always constant for a ipv6 entry so i would like to extract every thing... (4 Replies)
Discussion started by: jambesh
4 Replies

3. HP-UX

configuring site-local IPv6 address

How do I configure site-local IPv6 address in HP-UX box? I can get link local IPv6 address automatically when I put IPv6 up. aps39-88-root# ifconfig lan0 inet6 up (0 Replies)
Discussion started by: kirtikjr
0 Replies

4. BSD

Link Local IPv6 Address

Hi, Am using FreeBSD7.4/i386 During IPv6 configuration, I added the following in rc.conf as Restarted IPv6 network using /etc/rc.d/network_ipv6 restart.. My problem is I need to set link local IPv6 address auto-configured.. Is my proceeding right?? I feel something missing to make... (0 Replies)
Discussion started by: Priya Amaresh
0 Replies

5. Shell Programming and Scripting

How to extract IPv6 address from string?

Hi All, Would anyone know how to modify the below, so only the IPv6 address (red) is printed, please? (in other words, what's between inet6 and the / sign) ipv6=`/sbin/ifconfig lo0:5 inet6 | grep 'inet6'` print $ipv6 Currently the output of the above script is: inet6... (7 Replies)
Discussion started by: chatguy
7 Replies

6. IP Networking

IPv6 address block assign/associate with an interface

Hello all, I am trying to receive (tcp/udp/sctp) traffic from all IPs and, eventually, all ports of an IPv6 address block using as few sockets as possible short of implementing my own network stack. One possible solution was to associate an IP block to an interface then bind to that... (6 Replies)
Discussion started by: redwil
6 Replies

7. Red Hat

Find DHCPv6 server's IPv6 address

I want to find out the DHCPv6 server's ip address in the network. I went through the lease files but could find only duid/server-id and not the IPv6 address of the dhcp server. And I couldn't find any commands to get that information. Is there a way to get the DHCPv6 server's IPv6 address? ... (0 Replies)
Discussion started by: bshalini
0 Replies

8. UNIX for Beginners Questions & Answers

What determines DNS will query IPV6 address?

When I do simple nslookup it does not generate any query for IPV6 (AAAA). But sometimes I see DNS query for both A and AAAA are generated. What decides this? The reason I do not want AAAA query is in most of the cases AAAA records are absent. Hence, if one DNS server fails, the clients keeps... (1 Reply)
Discussion started by: broy32000
1 Replies
arp(1M) 						  System Administration Commands						   arp(1M)

NAME
arp - address resolution display and control SYNOPSIS
arp hostname arp -a [-n] arp -d hostname arp -f filename arp -s hostname ether_address [temp] [pub] [trail] [permanent] DESCRIPTION
The arp program displays and modifies the Internet-to-MAC address translation tables used by the address resolution protocol (see arp(7P)). With no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot notation. Options that modify the ARP translation tables (-d, -f, and -s) can be used only when the invoked command is granted the sys_net_config privilege. See privileges(5). OPTIONS
-a Display all of the current ARP entries. The definition for the flags in the table are: d Unverified; this is a local IP address that is currently undergoing Duplicate Address Detection. ARP will not respond to requests for this address until Duplicate Address Detection completes. o Old; this entry is aging away. If IP requests it again, a new ARP query will be generated. This state is used for detecting peer address changes. y Delayed; periodic address defense and conflict detection was unable to send a packet due to internal network use limits for non- traffic-related messages (100 packets per hour per interface). This occurs only on interfaces with very large numbers of aliases. A Authority; this machine is authoritative for this IP address. ARP will not accept updates from other machines for this entry. L Local; this is a local IP address configured on one of the machine's logical interfaces. ARP will defend this address if another node attempts to claim it. M Mapping; only used for the multicast entry for 224.0.0.0 P Publish; includes IP address for the machine and the addresses that have explicitly been added by the -s option. ARP will respond to ARP requests for this address. S Static; entry cannot be changed by learned information. This indicates that the permanent flag was used when creating the entry. U Unresolved; waiting for ARP response. You can use the -n option with the -a option to disable the automatic numeric IP address-to-name translation. Use arp -an or arp -na to display numeric IP addresses. The arp -a option is equivalent to: # netstat -p -f inet ...and -an and -na are equivalent to: # netstat -pn -f inet -d Delete an entry for the host called hostname. Note that ARP entries for IPMP (IP Network Multipathing) data and test addresses are managed by the kernel and thus cannot be deleted. -f Read the file named filename and set multiple entries in the ARP tables. Entries in the file should be of the form: hostname MACaddress [temp] [pub] [trail] [permanent] See the -s option for argument definitions. -s Create an ARP entry for the host called hostname with the MAC address MACaddress. For example, an Ethernet address is given as six hexadecimal bytes separated by colons. The entry will not be subject to deletion by aging unless the word temp is specified in the command. If the word pub is specified, the entry will be published, which means that this system will respond to ARP requests for hostname even though the hostname is not its own. The word permanent indicates that the system will not accept MAC address changes for hostname from the network. Solaris does not implement trailer encapsulation, and the word trail is accepted on entries for compatibility only. arp -s can be used for a limited form of proxy ARP when a host on one of the directly attached networks is not physically present on a subnet. Another machine can then be configured to respond to ARP requests using arp -s. This is useful in certain SLIP configura- tions. Non-temporary proxy ARP entries for an IPMP (IP Network Multipathing) group are automatically managed by the kernel. Specifically, if the hardware address in an entry matches the hardware address of an IP interface in an IPMP group, and the IP address is not local to the system, this will be regarded as an IPMP proxy ARP entry. This entry will have its hardware address automatically adjusted in order to keep the IP address reachable so long as the IPMP group has not entirely failed. ARP entries must be consistent across an IPMP group. Therefore, ARP entries cannot be associated with individual underlying IP inter- faces in an IPMP group, and must instead be associated with the corresponding IPMP IP interface. Note that ARP entries for IPMP data and test addresses are managed by the kernel and thus cannot be changed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
ifconfig(1M), netstat(1M), attributes(5), privileges(5), arp(7P) SunOS 5.11 5 Jan 2009 arp(1M)
All times are GMT -4. The time now is 02:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy