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.
Thanks!
Didn't find your answer? Ask the community — no account required.
R
Robert Redelmeier
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
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.