Change IP and MAC address

Dear all,

I want to change the MAC address and IP of an ethernet device dynamically in the network which the device is made by myself.

I want to ask whether I change the IP firstly or the MAC address firstly if I cannot change them in the same time.


Reply to
Loading thread data ...

cell wrote in part:

Well, whether you can change the MAC depends on the etherchip in use. Most can be reprogrammed.

Whether the network passes traffic depends on what the hubs, switches and routers expect and are programmed to support. Some can be very restrictive for security reasons.

The general order on an "open" network is to release the IP, change the MAC, then request a new IP via DHCP. If you are using static IPs, then you have to make sure the router's ARP cache is reset to the new MAC.

-- Robert

Reply to
Robert Redelmeier Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.