Changes the IP or MAC address of an interface on some system.
This changes a virtual interface on some system,
selected with the
The interface to modify is set either with the
--address flag followed by an IP,
--name flag followed by an name like eth0:1.
The new IP address can be set with the
the new MAC with the
or the new netmask with the
Alternately you can have Cloudmin tell the system to generate a MAC address automatically with the
KVM and physical systems running Linux can also have IPv6 addresses added and removed using this command.
To add an address,
--add-address6 flag followed by an IPv6 address or address/netmask.
To delete an existing v6 address,
For real network interfaces on KVM or Xen systems using HVM,
you can set the type of network card that is emulated on the virtual system with the
--new-model flag followed by a model name.
Or you can revert to the default with the
For real network interfaces on Xen or KVM systems,
you can change the host network bridge the interface is connected to with the
followed by a bridge name like
--no-bridge flag can be used to revert the interface to the host's default bridge.
cloudmin modify-interface --host vvirtualmin.home --address 126.96.36.199 --new-mac 02:54:00:50:DE:44 Modified interface eth0
Command Line Help
Changes the IP or MAC address of an interface on some system. cloudmin modify-interface --host hostname --address ip.address | --name ethN [--new-address ip.address] [--new-netmask mask] [--new-ether mac-address | --no-ether] [--new-model type | --no-model] [--new-bridge interface] [--add-address6 ipv6-address]* [--remove-address6 ipv6-address]*