File: macvlan-static

package info (click to toggle)
netctl 1.29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 596 kB
  • sloc: sh: 814; makefile: 72
file content (16 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description='Virtual LAN with random MAC address on interface eth0'
Interface=mac0
Connection=macvlan
# The variable name is plural, but needs precisely one interface
BindsToInterfaces=eth0
# MACVLAN Mode
Mode="bridge"
# Optional static MAC Address for MACVLAN interface
#MACAddress="12:34:56:78:9a:bc"
IP=static
Address="192.168.0.100/24"
Gateway="192.168.0.1"
DNS=("192.168.0.2")
Hostname="myhost"
DNSDomain="mydomain.com"
DNSSearch="mydomain.com"