Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP alias in NOARP mode

Status
Not open for further replies.

trifo

MIS
May 9, 2002
269
HU
Hi!

I would have to set up some AIX network interfaces to use behind LVS load balancers. The LVS admin required me to set the service IP adresses in NOARP mode, as they really reside on the LVS cluster.

Now, I see that I can set an adapter to NOARP mode, using either
Code:
chdev -l interface -a arp=no
, or I can use
Code:
ifcofig iface -arp
, but both of the set all the device to noarp, thus the host to reply to ARP request for its own address as well.

I've seen that there is an option to set up a VIPA device, which is rather some kind of device alias, but I did not succeed to set up such a device on my AIX 5.3 box:

Code:
# mkdev -c if -s VI -t vi -a netaddr="10.0.5.180" -a netmask="255.255.255.0" -w en1 -a state=down
Method error (/usr/lib/methods/chgif):
        0514-006 Cannot retrieve an object from the device
                 configuration database.
0821-224 chgif: Expected one if instance, retrieved 0.

Method error (/usr/lib/methods/udefif):
        0514-006 Cannot retrieve an object from the device
                 configuration database.
0821-122 udefif: Expected one interface instance, retrieved 0.

#

Does VIPA need some extra filesets to be installed, or why might I not be able to create such a device?

Thanks in advance,

--Trifo
 

I did. Failed the same way. SMIT uses the same command with same params.

By the way, I was confused on SMIT panel: there is 2 lines on network interface names:
Code:
                       Add a Virtual IP Address Interface

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* INTERNET ADDRESS (dotted decimal)                  []
  Network MASK (hexadecimal or dotted decimal)       []
* Network Interface                                  []
* ACTIVATE the Interface after Creating it?           yes                    +
  Network Interface(s) using this VIPA               []                      +










F1=Help             F2=Refresh          F3=Cancel           F4=List
F5=Reset            F6=Command          F7=Edit             F8=Image
F9=Shell            F10=Exit            Enter=Do

What should I write to "network interface" and what to "network interfaces usint this VIPA"?

--Trifo
 

One step ahead: finally I found out that the interface (say en1) should not be in use when adding it to a vipa interface. Now I succeeded to create a VIPA on a real interface, and it is working OK

Now, how can I create yet another? Or is my reading bad? I thought that I can use VIPA as a replacement of IP aliases, thus I can create several VIPA-s on the top of a single real interface. Is that idea wrong?

--Trifo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top