public:managing_networking_on_debian
This is an old revision of the document!
Table of Contents
Managing networking in Debian
Showing info about a bridge interface
brctl show <bridgename>
This requires the bridge-utils package.
Setting up VLAN interfaces
In /etc/modules add the line to load the module automatically on startup:
8021q
Load the module manually for the current session:
modprobe 8021q
Install VLAN management tools:
apt install vlan
Now, in /etc/network/interfaces, you can define vlan interfaces as such:
auto eth0.222
iface eth0.222 inet static
address 10.10.10.1/24
vlan-raw-device eth0
The vlan-raw-device parameter is optional, if you use the standard name format (interface.vlanid). If you use custom names, it must be added to refer to the underlying interface.
References
public/managing_networking_on_debian.1715880295.txt.gz · Last modified: by thomas
