diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-07 04:42:47 +0000 |
---|---|---|
committer | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-07 04:42:47 +0000 |
commit | 63d68bca484e30a852d4faf03ae2fe37634f909e (patch) | |
tree | 878a5e56df975c59750a4fd0518ba2eb40c6b5a1 | |
parent | faee3d63c19cf5c83e3bfbd4839e6c6de892c5a4 (diff) | |
download | slacknetsetup-63d68bca484e30a852d4faf03ae2fe37634f909e.tar.xz |
Added README.VLANs with some basic usage instructions.
-rw-r--r-- | README.VLANs | 20 |
1 files changed, 20 insertions, 0 deletions
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. |