slackware-current/source/n/network-scripts
Patrick J Volkerding 84730d7aba Mon Jul 24 19:26:18 UTC 2023
ap/tmux-3.3a-x86_64-2.txz:  Rebuilt.
  Patched to fix a crash when copying text. Thanks to nullptr, gnw, and Daedra.
d/parallel-20230722-noarch-1.txz:  Upgraded.
l/libarchive-3.7.0-x86_64-1.txz:  Upgraded.
l/pipewire-0.3.75-x86_64-2.txz:  Rebuilt.
  [PATCH] pipewire: add missing stdbool.h include to version.h.in.
  Thanks to marav.
n/network-scripts-15.1-noarch-1.txz:  Upgraded.
  Added netconfig.8 manpage. Thanks to metaed.
extra/brltty/brltty-6.6-x86_64-1.txz:  Upgraded.
2023-07-24 21:58:57 +02:00
..
manpages Mon Jul 24 19:26:18 UTC 2023 2023-07-24 21:58:57 +02:00
modprobe.d Thu Mar 18 23:54:14 UTC 2021 2021-03-19 08:59:51 +01:00
scripts Fri Apr 16 23:29:36 UTC 2021 2021-04-17 08:59:50 +02:00
0000-rc.inet1.new-lxc-additions.patch Thu Nov 11 20:36:12 UTC 2021 2021-11-12 08:59:57 +01:00
0001-netconfig-turn-off-rc.networkmanager-if-networkmanager-is-not-selected.patch Thu Nov 11 20:36:12 UTC 2021 2021-11-12 08:59:57 +01:00
0002-add-hostname-loopback-entries-in-etc-hosts-for-dhcp.patch Sun Jan 2 20:40:21 UTC 2022 2022-01-03 08:59:54 +01:00
0003-76218fa6e7c097c875af2a29cc7670995bef2ae4.patch Mon Jun 26 19:44:44 UTC 2023 2023-06-26 22:33:45 +02:00
0004-8f43a741a36e59b8a9560ff2c4f3e5da2b8dd72b.patch Mon Jun 26 19:44:44 UTC 2023 2023-06-26 22:33:45 +02:00
0005-5925f2bcc500f5198b5c00ab4e635a59bef7a413.patch Mon Jun 26 19:44:44 UTC 2023 2023-06-26 22:33:45 +02:00
doinst.sh Slackware 13.0 2018-05-31 22:41:17 +02:00
network-scripts.SlackBuild Mon Jul 24 19:26:18 UTC 2023 2023-07-24 21:58:57 +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>