Sponsored Content
Full Discussion: Virtual IP address in HACMP
Operating Systems AIX Virtual IP address in HACMP Post 302309460 by zaxxon on Wednesday 22nd of April 2009 01:34:52 AM
Old 04-22-2009
I guess you mean IP alias instead of "virtual IP address".
It depends in which state the cluster node is and if RGs are up. Usually production addresses are configured as alias when RGs are started. Else a cluster node has it's boot addresses configured which are usually permanent addresses, no aliases.

To get a glimpse at current active IP configuration, use:
Code:
/usr/es/sbin/cluster/clstat -o

Not sure if there is an easier way to distinguish what is an alias and what not, you can check with ifconfig -a, which adapter has more than 1 IP configured, example:
Code:
$> ifconfig -a
...
en5: flags=7e040823,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
        inet 10.10.29.111 netmask 0xffffff00 broadcast 10.10.29.255
        inet 10.10.30.111 netmask 0xffffff00 broadcast 10.10.30.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
...

Ok, en5 has 2 addresses; let's check the ODM:

Code:
$> odmget -q "name = en5" CuAt

CuAt:
        name = "en5"
        attribute = "netaddr"
        value = "10.10.30.111"
        type = "R"
        generic = "DU"
        rep = "s"
        nls_index = 4

CuAt:
        name = "en5"
        attribute = "netmask"
        value = "255.255.255.0"
        type = "R"
        generic = "DU"
        rep = "s"
        nls_index = 8

CuAt:
        name = "en5"
        attribute = "state"
        value = "up"
        type = "R"
        generic = "DU"
        rep = "sl"
        nls_index = 5

As you can see the address 10.10.29.111 showing up with ifconfig is not in the ODM. So this is the alias which is only configured on this cluster node, when the related RG (Resource Group) is activated.

Last edited by zaxxon; 04-22-2009 at 02:58 AM.. Reason: Added Info
 

10 More Discussions You Might Find Interesting

1. IP Networking

Binding Virtual IP address to NIC

Hi, I bound a virtual IP to a network card on my E450 server and I am getting this error when I reboot the server, saying, " retrying host, RPC time out. I had to break this sequence and allow other services to load. Of course they didn't load properly. Please how can I sort this out? I do need... (8 Replies)
Discussion started by: Ronny
8 Replies

2. Programming

A Pointer to non-Virtual Address, and All of my Hard drive

How do I get a pointer to any 32 bit address on my hard drive, in which I then could read that memory or write to that memory address? And, while the subject is on, how do get a 32 bit pointer in RAM also, in which I can do the same? I'm using C and Objective-C with gcc on an iBook G4. A... (9 Replies)
Discussion started by: xcoder66
9 Replies

3. IP Networking

Virtual IP address

We currently have a Solaris Wks that is being used as an "ftp server" and it routinely accepts data each night that if ftp'd to it from off site. In the event that this "ftp server" should fail (crash, die, whatever) we would like to have an automatic fail over to a second Solaris Wks as the "ftp... (2 Replies)
Discussion started by: kanejm
2 Replies

4. UNIX for Dummies Questions & Answers

How to assign virtual address?.

Hello,I am new to unix,i want to know how to assign virtual ip address to a system that is in my personal network? (1 Reply)
Discussion started by: veeru_jarugula
1 Replies

5. AIX

NETWORK IP ADDRESS on HACMP

Hi, I try to understand how to configure my ethernet network in a hacmp cluster. I have 2 nodes, 3 lan port on each node, and 1 service ip to cluster. I don't have any serial o iscsi heartbeat. Do you suggest me a possibile ip address configuration? I've many error whene I verify it from hacmp... (3 Replies)
Discussion started by: hacmp
3 Replies

6. AIX

Duplicate IP address makes PowerHA ( HACMP ) down

Hello, I would like to know if anyone has faced this problem. Whenever there is a duplicate IP address, HACMP goes down infact HACMP ( PowerHA ) takes the whole system down. Does anyone know how to solve this problem ? (3 Replies)
Discussion started by: filosophizer
3 Replies

7. UNIX for Dummies Questions & Answers

Static IP address for solaris 10 virtual machine

Hi All I am having a solaris 10 virtual machine on vista (using vmware 7) laptop. Now i want to access virtual machine from vista using putty. Problem is that i insalled the solaris machine as dhcp. and whenever i connect to internet or reboot my system the IP address of solaris... (1 Reply)
Discussion started by: ankurk
1 Replies

8. UNIX for Dummies Questions & Answers

What would the physical address be for virtual address?

Hi guys, I got one problem which I definetily no idea. What would the physical address be for virtual address? 1) 2ABC 2) 3F4B Here is the page table:see attached Thank you sos sososososso much!! (0 Replies)
Discussion started by: lemon_06
0 Replies

9. Solaris

i want to set ip address to a virtual machine

hi all i want to set ip address to a vitrual machine i am using following command. but it is not ifconfig -a command output. what is wrong i dont know bash# ifconfig interfacename plumb bash# ifconfig interfacename auto-dhcp Please use code tags next time for your code and data. (4 Replies)
Discussion started by: nikhil kasar
4 Replies

10. IP Networking

Virtual Adapter MAC address..

Hi, I just want to know whether two MAC address can exist in a adapter.. I mean one there will be mandatory one And another as user defined one.. Any replies will be more helpful.. Please help.. :wall: (0 Replies)
Discussion started by: Priya Amaresh
0 Replies
STF(4)							   BSD Kernel Interfaces Manual 						    STF(4)

NAME
stf -- 6to4 tunnel interface SYNOPSIS
pseudo-device stf DESCRIPTION
The stf interface supports ``6to4'' IPv6 in IPv4 encapsulation. It can tunnel IPv6 traffic over IPv4, as specified in RFC3056. stf inter- faces are dynamically created and destroyed with the ifconfig(8) create and destroy subcommands. Only one stf interface may be created. For ordinary nodes in 6to4 sites, you do not need a stf interface. The stf interface is only necessary on the site border router (called the ``6to4 router'' in the specification). Due to the way the 6to4 protocol is specified, stf interfaces require certain configuration to work properly. A single (no more than one) valid 6to4 address needs to be configured on the interface. ``A valid 6to4 address'' is an address which has the following properties. If any of the following properties are not satisfied, stf raises a runtime error on packet transmission. Read the specification for more details. o matches 2002:xxyy:zzuu::/48, where xxyy:zzuu is the hexadecimal notation of an IPv4 address for the node. The IPv4 address used can be taken from any interface your node has. Since the specification forbids the use of IPv4 private address, the address needs to be a global IPv4 address. o Subnet identifier portion (48th to 63rd bit) and interface identifier portion (lower 64 bits) are properly filled to avoid address colli- sions. If you would like the node to behave as a relay router, the prefix length for the IPv6 interface address needs to be 16 so that the node would consider any 6to4 destination as ``on-link''. If you would like to restrict 6to4 peers to be inside a certain IPv4 prefix, you may want to configure the IPv6 prefix length to be ``16 + IPv4 prefix length''. The stf interface will check the IPv4 source address on packets if the IPv6 prefix length is larger than 16. stf can be configured to be ECN (Explicit Congestion Notification) friendly. This can be configured by IFF_LINK1. See gif(4) for details. Please note that the 6to4 specification is written as an ``accept tunneled packet from everyone'' tunneling device. By enabling the stf device, you are making it much easier for malicious parties to inject fabricated IPv6 packets to your node. Also, malicious parties can inject IPv6 packets with fabricated source addresses to make your node generate improper tunneled packets. Administrators must be cautious when enabling the interface. To prevent possible attacks, the stf interface filters out the following packets (note that the checks are in no way complete): o Packets with IPv4 unspecified addresses as outer IPv4 source/destination (0.0.0.0/8) o Packets with the loopback address as outer IPv4 source/destination (127.0.0.0/8) o Packets with IPv4 multicast addresses as outer IPv4 source/destination (224.0.0.0/4) o Packets with limited broadcast addresses as outer IPv4 source/destination (255.0.0.0/8) o Packets with private addresses as outer IPv4 source/destination (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) o Packets with IPv4 link-local addresses as outer IPv4 source/destination (169.254.0.0/16) o Packets with subnet broadcast addresses as outer IPv4 source/destination. The check is made against subnet broadcast addresses for all of the directly connected subnets. o Packets that do not pass ingress filtering. Outer IPv4 source addresses must meet the IPv4 topology on the routing table. Ingress fil- tering can be turned off by IFF_LINK2 bit. o The same set of rules are applied against the IPv4 address embedded into the inner IPv6 address, if the IPv6 address matches the 6to4 prefix. o Packets with site-local or link-local unicast addresses as inner IPv6 source/destination o Packets with node-local or link-local multicast addresses as inner IPv6 source/destination It is recommended to filter/audit incoming IPv4 packets with IP protocol number 41, as necessary. It is also recommended to filter/audit encapsulated IPv6 packets as well. You may also want to run normal ingress filtering against inner IPv6 addresses to avoid spoofing. By setting the IFF_LINK0 flag on the stf interface, it is possible to disable the input path, making direct attacks from the outside impossi- ble. Note, however, that other security risks exist. If you wish to use the configuration, you must not advertise your 6to4 addresses to others. EXAMPLES
Note that 8504:0506 is equal to 133.4.5.6, written in hexadecimal. # ifconfig ne0 inet 133.4.5.6 netmask 0xffffff00 # ifconfig stf0 create inet6 2002:8504:0506:0000:a00:5aff:fe38:6f86 prefixlen 16 alias The following configuration accepts packets from IPv4 source address 9.1.0.0/16 only. It emits 6to4 packets only for IPv6 destination 2002:0901::/32 (IPv4 destination will match 9.1.0.0/16). # ifconfig ne0 inet 9.1.2.3 netmask 0xffff0000 # ifconfig stf0 create inet6 2002:0901:0203:0000:a00:5aff:fe38:6f86 prefixlen 32 alias The following configuration uses the stf interface as an output-only device. You need to have alternative IPv6 connectivity (other than 6to4) to use this configuration. For outbound traffic, you can reach other 6to4 networks efficiently via stf. For inbound traffic, you will not receive any 6to4-tunneled packets (less security drawbacks). Be careful not to advertise your 6to4 prefix to others (2002:8504:0506::/48), and not to use your 6to4 prefix as a source address. # ifconfig ne0 inet 133.4.5.6 netmask 0xffffff00 # ifconfig stf0 create inet6 2002:8504:0506:0000:a00:5aff:fe38:6f86 prefixlen 16 alias deprecated link0 # route add -inet6 2002:: -prefixlen 16 ::1 -ifp stf0 SEE ALSO
gif(4), inet(4), inet6(4) Brian Carpenter and Keith Moore, Connection of IPv6 Domains via IPv4 Clouds, RFC, 3056, February 2001. C. Huitema, An Anycast Prefix for 6to4 Relay Routers, RFC, 3068, June 2001. F. Baker and P. Savola, Ingress Filtering for Multihomed Networks, RFC, 3704, March 2004. P. Savola and C. Patel, Security Considerations for 6to4, RFC, 3964, December 2004. Jun-ichiro itojun Hagino, Possible abuse against IPv6 transition technologies, draft-itojun-ipv6-transition-abuse-01.txt, July 2000, expired, work in progress. HISTORY
The stf device first appeared in WIDE/KAME IPv6 stack. BUGS
No more than one stf interface is allowed for a node, and no more than one IPv6 interface address is allowed for an stf interface. This is to avoid source address selection conflicts between the IPv6 layer and the IPv4 layer, and to cope with ingress filtering rules on the other side. This is a feature to make stf work right for all occasions. BSD
January 2, 2011 BSD
All times are GMT -4. The time now is 01:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy