|
Posted by Robert Redelmeier on December 10, 2007, 10:02 am
If you were Registered and logged in, you could reply and use other advanced thread options
> 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.
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
|