Rechercher une page de manuel
ifcfg-vlan
Langue: en
Version: August 2004 (openSuse - 09/10/07)
Section: 5 (Format de fichier)
NAME
ifcfg-vlan - virtual LAN interface configurationSYNOPSIS
/etc/sysconfig/network/ifcfg-vlan*Virtual LANs (802.1q)
To setup a vlan interface you need a configuration file ifcfg-vlan<X> with the usual network settings. Additionally there must be the variable ETHERDEVICE that contains the real interface for the virtual LAN. The real interface will be set UP automatically and doesn't need a config file. (But without a config file YaST will consider this interface as unused. To avoid that just provide and empty config file for it.)When you specify the etherdevice in your configuration, you should preferrably use a hardware description instead of interface names since interface names are not always persistent. See explanation of hardware descriptions in section DESCRIPTION above.
Example that sets up vlan3 on top of eth0:
ifcfg-vlan3
STARTMODE=onboot ETHERDEVICE=eth0 IPADDR=192.168.3.27/24
The configuration of routes for this kind of interface does not differ from ordinary interfaces. See man routes for details.
BUGS
Please report bugs at <http://www.suse.de/feedback>AUTHOR
Christian Zoz <zoz@suse.de> -- ifup script Michal Svec <msvec@suse.cz> -- ifup script Bjoern Jacke -- ifup script Mads Martin Joergensen <mmj@suse.de> -- ifup manpage Michal Ludvig <mludvig@suse.cz> -- tunnel support
SEE ALSO
ifcfg(5), ifup(8).Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre