From 63d68bca484e30a852d4faf03ae2fe37634f909e Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Thu, 7 Nov 2019 04:42:47 +0000 Subject: Added README.VLANs with some basic usage instructions. --- README.VLANs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.VLANs (limited to 'README.VLANs') diff --git a/README.VLANs b/README.VLANs new file mode 100644 index 0000000..22e6866 --- /dev/null +++ b/README.VLANs @@ -0,0 +1,20 @@ +VLAN support +============ + +Slackware's rc.inet1 is now VLAN aware, and can be used to bring up interfaces +bound to specific VLAN IDs. The interfaces support IPv4 and IPv6 IP addressing, +and can be configured on top of a bonded interface. + +VLAN interfaces can be configured quite simply in rc.inet1.conf, in the standard +Slackware way of defining an interface. The key to the configuration is to use +the correct IFNAME[x]="" setting for the underlying ethernet (or bond) interface +and the tagged VLAN ID that should be exposed. + +Here are the basic settings for a VLAN with ID 100 on the eth0 interface, +configured with a static IPv4 address: + IFNAME[0]="eth0.100" + IPADDR[0]="192.168.100.10" + NETMASK[0]="24" + +As you can see, the IFNAME of the interface contains the underlying ethernet +device name (eth0), a period (.), and the VLAN ID to be exposed. -- cgit v1.2.3