beautypg.com

Changing the default mac address (pf_macid), To change the default mac address with pf_macid, Changing the default mac address – Sun Microsystems 1.0 User Manual

Page 112: To change the default mac address with

background image

86

SunFDDI/P 1.0 Adapter User’s GuideMay 1997

8

Changing the Default MAC Address

(pf_macid)

Each attachment to an FDDI network is identified by a unique 48-bit

MAC

address. By default, the first SunFDDI/P card takes the host-resident

MAC

address, which is stored in nonvolatile memory (NVRAM) on the motherboard
of the machine. Each subsequent SunFDDI/P card adopts the card-resident

MAC

address stored in its own IDPROM.

In general, this convention is sufficient to ensure that each SunFDDI/P card
installed in the machine has a unique

MAC

address. However, there may be a

conflict with other

LAN

interfaces that also take the host-resident

MAC

address—for example, an Ethernet (

le

) interface, or a SunFDDI/P 2.0 (

bf

)

interface. In this event, change the default

MAC

address assigned to the first

SunFDDI/P card installed in the system.

To Change the Default MAC Address with

pf_macid

Use the

pf_macid(1M)

utility to recover the card-resident

MAC

address, and

then modify the system files to override the default

MAC

address:

1. Log in as root or become superuser.

2. Use the

pf_macid(1M)

utility to recover the MAC address from the

IDPROM on the SunFDDI/P interface identified by the instance number
.

3. Modify the start-up file on your machine so that the MAC address is

assigned correctly when the system is rebooted.

#

/pf_macid pf