| | 16 | |
| | 17 | * [http://www.bertera.it/index.php/2011/10/04/howto-configure-multiple-mac-address-over-a-single-ethernet-interface/ Howto configure multiple mac address over a single ethernet interface ‹ Bertera] |
| | 18 | * [http://ubuntuforums.org/showthread.php?t=1923806 (ubuntu) save ip link macvlan interfaces after reboot? - Ubuntu Forums] |
| | 19 | * /etc/network/interfaces 例 |
| | 20 | {{{ |
| | 21 | auto macvlan0 |
| | 22 | iface macvlan0 inet static |
| | 23 | address 192.168.abc.def |
| | 24 | netmask 255.255.255.0 |
| | 25 | pre-up /sbin/ip link add dev macvlan0 link eth0 \ |
| | 26 | address 00:16:3e:XX:YY:ZZ type macvlan mode bridge |
| | 27 | post-down /sbin/ip link del dev macvlan0 |
| | 28 | }}} |