docs/examples/macvlan-static
raw| 1 | Description='Virtual LAN with random MAC address on interface eth0' |
| 2 | Interface=mac0 |
| 3 | Connection=macvlan |
| 4 | # The variable name is plural, but needs precisely one interface |
| 5 | BindsToInterfaces=eth0 |
| 6 | # MACVLAN Mode |
| 7 | Mode="bridge" |
| 8 | # Optional static MAC Address for MACVLAN interface |
| 9 | #MACAddress="12:34:56:78:9a:bc" |
| 10 | IP=static |
| 11 | Address="192.168.0.100/24" |
| 12 | Gateway="192.168.0.1" |
| 13 | DNS=("192.168.0.2") |
| 14 | Hostname="myhost" |
| 15 | DNSDomain="mydomain.com" |
| 16 | DNSSearch="mydomain.com" |