IBM Support

IV56020: FIRST IP ADDRESS IS ALWAYS REMOVED WHEN ALIAS DELETE KEYWORD IS APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In man page of ifconfig, there is no such restriction
    documented
    in the order of paramters, but deleting alias IP address
    behaves differently how paramters are ordered. APAR
    IV21533
    does not completely fix this issue.
    
    The problem is that the first IP address is being delete
    when
    'alias delete' paramters are placed at the end. For
    example,
    
    # ifconfig en0 10.10.10.1 netmask 255.255.255.0 alias
    delete
    
    However, the specified alias IP address is correctly
    removed
    when alias delete is followed by IP address;
    
    # ifconfig en0 alias delete 10.10.10.1 netmask
    255.255.255.0
    
    Also, if "delete alias" is given at the end, no IP is
    deleted
    at all;
    
    # ifconfig en0 10.10.10.1 netmask 255.255.255.0 delete
    alias
    

Local fix

  • Do not use "alias delete" parameter at the end of
    ifconfig
    command, rather put it before IP address parameter.
    

Problem summary

  • ifconfig command deletes first IP address when 'alias delete'
    parameters are placed at the end. For example,
    # ifconfig en0 10.10.10.1 netmask 255.255.255.0 alias delete
    

Problem conclusion

  • ifconfig code is modified to delete the IP address that is
    passed irrespective of the order of 'alias' and 'delete'
    keywords.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58398
    6100-08 - use AIX APAR IV58061
    6100-09 - use AIX APAR IV56025
    6100-09 - use AIX APAR IV56025
    6100-09 - use AIX APAR IV56025
    7100-01 - use AIX APAR IV57711
    7100-02 - use AIX APAR IV52074
    7100-03 - use AIX APAR IV56020
    7100-04 - use AIX APAR IV56101
    

APAR Information

  • APAR number

    IV56020

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-02-27

  • Closed date

    2014-02-27

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV52074

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U859722

       UP14/05/22 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV56020

Modified date: 10 May 2016