Seeking to make a
netctl profile for a tap device. Here is the info I was given about the connection.
GATEWAY=192.168.117.1 DNS=192.168.117.1 BROADCAST=255.255.255.255 **or** 192.168.117.255 (*I was given both of these different values*) PREFIX=31 STATIC IP ADDRESS=192.168.117.2/24 TYPE=TAP
Netctl includes some examples. I used the one I found in
Description='Example tuntap connection' Interface=tun0 Connection=tuntap Mode='tun' User='nobody' Group='nobody' ## Example IP configuration #IP=static #Address='10.10.1.2/16'
Here is the profile I came up with:
Description='My tap connection' Interface=tap0 Connection=tuntap Mode='tap' User='nobody' Group='nobody' IP=static Address='192.168.117.2/24' UsePeerDNS=true DefaultRoute=true SkipDAD=yes DHCPReleaseOnStop=yes
- Do I need to specify the broadcast address or gateway?
- Is a prefix needed (and what is prefix 31)?
- Is there anything else I have overlooked?