mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
57f9e5505b
patches/packages/network-scripts-15.0-noarch-19_slack15.0.txz: Rebuilt. This update fixes a bug and adds a new feature: Re-add support for the DHCP_IPADDR parameter from rc.inet1.conf. Expand the help text for DHCP_IPADDR in rc.inet1.conf. Add support for a DHCP_OPTS parameter. Thanks to ljb643 and Darren 'Tadgy' Austin. patches/packages/vim-9.0.1667-x86_64-1_slack15.0.txz: Upgraded. This fixes a rare divide-by-zero bug that could cause vim to crash. In an interactive program such as vim, I can't really see this qualifying as a security issue, but since it was brought up as such on LQ we'll just go along with it this time. :) Thanks to marav for the heads-up. (* Security fix *) patches/packages/vim-gvim-9.0.1667-x86_64-1_slack15.0.txz: Upgraded.
52 lines
1.9 KiB
Text
52 lines
1.9 KiB
Text
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>
|