diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-07 05:04:02 +0000 |
---|---|---|
committer | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-07 05:04:02 +0000 |
commit | 33e35cb8b48d3f7382a6c1ee3fba5f665ffe7c70 (patch) | |
tree | 5d12090ed3d375c5d12ff2c12c6363192cadff42 /manpages | |
parent | 63d68bca484e30a852d4faf03ae2fe37634f909e (diff) | |
download | slacknetsetup-33e35cb8b48d3f7382a6c1ee3fba5f665ffe7c70.tar.xz |
Update rc.inet1.conf in netconfig. Update manpage.
Diffstat (limited to 'manpages')
-rw-r--r-- | manpages/rc.inet1.conf.5 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manpages/rc.inet1.conf.5 b/manpages/rc.inet1.conf.5 index 0771d94..52695de 100644 --- a/manpages/rc.inet1.conf.5 +++ b/manpages/rc.inet1.conf.5 @@ -105,6 +105,27 @@ USE_DHCP[0]="" .br DHCP_HOSTNAME[0]="" .br +.SH EXAMPLE VLAN INTERFACE CREATION +VLAN interfaces can be configured in rc.inet1.conf, in the standard Slackware +way of defining an interface. The key to the configuration is to use the +correct IFNAME setting for the underlying ethernet (or bond) interface and the +tagged VLAN ID that should be exposed. +.LP +Here are the basic settings to expose a VLAN with ID 100 on the eth0 +interface, configured with a static IPv4 address: +.LP +IFNAME[0]="eth0.100" +.br +IPADDR[0]="192.168.100.10" +.br +NETMASK[0]="24" +.LP +The IFNAME of the interface contains the underlying ethernet device name +(eth0), a period (.), and the VLAN ID to be exposed. +.LP +Note that the underlying ethernet (or bond) interface does not need to have an +IP address to be used with the VLAN. +.br .SH GENERAL PARAMETERS This is a list of parameters you can set for any interface. The example section is for `eth0' by default, i.e. |