diff options
Diffstat (limited to 'README.VLANs')
-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. |