ifconfig does not set local IP address

KDCarey

Registered
I am using the ifconfig command to change my ip address as follows:

ifconfig en0 down
ifconfig en0 169.254.x.x netmask 255.255.0.0
ifconfig en0 -arp up

The commands claim to complete succesfully, but the ip stack does not seem to recognize its new ip address.
For example: from a remote machine I issue the command
ping 169.254.x.x
and receive no response. Using wire shark I can see the ping request are being received on machine 169.254.x.x, yet no response is sent.

What do I need to do to get my local ip stack to recognize a new ip adress using the ifconfig command with the -arp option?

Using ipconfig command will work, but is not an option for me because ipconfig does not have an -arp option.


Thanks
- Ken
 
If your machine is getting a 169.254.x.x ip address, then that is a machine assigned address that is non routable. That machine won't be seeing the network.
 
Back
Top