slackware-current/source/n/network-scripts
Patrick J Volkerding 90a99655a4 Thu Apr 1 23:50:48 UTC 2021
a/aaa_glibc-solibs-2.33-x86_64-2.txz:  Rebuilt.
ap/inxi-20210329_a539c8fd-noarch-1.txz:  Upgraded.
l/glibc-2.33-x86_64-2.txz:  Rebuilt.
  Applied upstream patch to fix a performance regression:
  [PATCH] linux: Normalize and return timeout on select (BZ #27651)
  Thanks to Fulalas and Adhemerval Zanella.
l/glibc-i18n-2.33-x86_64-2.txz:  Rebuilt.
l/glibc-profile-2.33-x86_64-2.txz:  Rebuilt.
l/imagemagick-7.0.11_5-x86_64-1.txz:  Upgraded.
n/network-scripts-15.0-noarch-15.txz:  Rebuilt.
  netconfig: remove (broken) checks on hostname/domainname validity.
x/libXres-1.2.1-x86_64-1.txz:  Upgraded.
2021-04-02 08:59:52 +02:00
..
manpages Mon Mar 1 20:10:44 UTC 2021 2021-03-02 08:59:52 +01:00
modprobe.d Thu Mar 18 23:54:14 UTC 2021 2021-03-19 08:59:51 +01:00
scripts Thu Apr 1 23:50:48 UTC 2021 2021-04-02 08:59:52 +02:00
doinst.sh Slackware 13.0 2018-05-31 22:41:17 +02:00
network-scripts.SlackBuild Thu Apr 1 23:50:48 UTC 2021 2021-04-02 08:59:52 +02:00
README.bonding Mon Mar 1 20:10:44 UTC 2021 2021-03-02 08:59:52 +01:00
README.IPv6 Mon Mar 1 20:10:44 UTC 2021 2021-03-02 08:59:52 +01:00
README.networking Mon Mar 1 20:10:44 UTC 2021 2021-03-02 08:59:52 +01:00
README.VLANs Mon Mar 1 20:10:44 UTC 2021 2021-03-02 08:59:52 +01:00
slack-desc Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00

VLANs (aka, 802.1q)
===================

Features
--------
* Simple configuration of VLAN interfaces using standard rc.inet1.conf
  variables.
* Utilises the new IFOPTS[x]="" paramter, which allows VLAN interface
  specific configuration, supporting the use of any option.
* VLAN interfaces can be built on top of bonds and virtual or physical
  interfaces.


Configuration
-------------
Configuring VLAN bound interfaces utilises the standard Slackware networking
configuration syntax in rc.inet1.conf, with setting up an interface as simple
as changing the IFNAME[x].

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.  For example:
  IFNAME[0]="eth0.10"
  IFOPTS[0]=""
  IPADDR[0]="192.168.10.1"
  NETMASK[0]="24"

The VLAN ID is taken from the full interface name, which is comprised of the
underlying interface name, a period (.) and then the VLAN ID to expose.
The above example would use the physical interface 'eth0', and expose the VLAN
with ID '10'.

It is also possible to use a bond as the underlying interface, which allows
link aggregated VLAN interfaces to be created for network redundancy.

The interfaces support IPv4 and IPv6 IP addressing configured in the Slackware
way in rc.inet1.conf.

IFOPTS[x] is a pipe (|) delimited list of VLAN kernel module specific settings
to be applied to the interface.  The ip-link(8) man page contains details of
exactly what settings can be used with this option (search for "VLAN Type
Support").  For example:
  VLANOPTS[x]="protocol 802.1ad | reorder_hdr off"

Under normal circumstances, where a standard VLAN interface is required, no
options should be supplied.


--
Darren 'Tadgy' Austin.
<darren (at) afterdark.org.uk>