How to change the MAC Address in HPUX

From Wiki-UX.info
Jump to: navigation, search

Many customers need to change the MAC address of a LAN card due to the way a particular application works, or also sometimes because of the way it conflicts with a MAC address present on the same network.

In HPUX we have 2 options to change the MAC address:

1. Via the drivers configuration files. 2. Via lanadmin.

For the moment this document shows how to change it from lanadmin (which is not a permanent procedure and a reboot will clear the setting)

# lanadmin -A 0x080009bbbbbb 1
Old Station Address               = 0x00306e46996c
New Station Address               = 0x080009bbbbbb