public:managing_networking_on_debian

This is an old revision of the document!


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 the alternative naming scheme (vlanXXX), then it must be added to refer to the underlying interface.

References

public/managing_networking_on_debian.1715881265.txt.gz · Last modified: by thomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki