Vlan Tagging for Network Configuration

VLAN Tagging allows an individual IP Address to be configured as part of multiple VLANs.

Let's tag the 1002 vlan id;

1- Firstly, install Vlan on Ubuntu with the command as below;

# apt-get install vlan

2- Then kernel should be installed.

# sudo modprobe 8021q

3-  Add the following 1002 vlan id under /etc/network/interfaces;

Note That: The interfaces file location may change depending on the ubuntu version.

4- Add the line “vlan-raw-device eth0” at the bottom.

11.png

5- Then the process is completed by running the following command.

# sudo su -c 'echo "8021q" >> /etc/modules'

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.