Ubuntu VLAN configuration (modules)

Source: Internet
Author: User

Modules
// View     lsmod// default load    vi/etc/modules// load VLAN module (ieee8021q)     modprobe 8021q// remove 8021q    modprobe-r 8021q
Vlan
//Check VLAN support (with directory support)ls/proc/net/vlan///Installing VLANsAptitude Install VLAN//Add Protocol ieee802.1q support (with this support to create a VLAN NIC)modprobe 8021q//Vi/etc/network/interface Configuration Cases// ======Auto P6P1. Oneiface p6p1. OneinetStaticAddress172.17.2.55netmask255.255.255.0VLAN-raw-device P6P1. One // **Auto P6p1iface p6p1 inetStaticAddress172.17.2.55netmask255.255.255.0// =======
Ubuntu Network operation
// Operation 1/etc/init.d/Networking Restart//  Operation 2service networking Resart      while stopping       is already running:networking // Action 3 ifconfig p6p1 downifconfig p6p1 up // Operation 1, 2 failed to succeed // Action 3 single off after Ifconfig view information has not changed // only restart the hype system

Ubuntu VLAN configuration (modules)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.