OpenWrt network Interface (Networking interface in OpenWrt)

Source: Internet
Author: User
Tags tools and utilities

This is a translation of the OpenWrt network interface, source address: http://wiki.openwrt.org/doc/networking/network.interfaces

Network interface types: physical and virtual network interfaces

The physical network interface is what we often see ETH0,RADIO0,WLAN9 and so on, which represent an actual network hardware device, such as the Networks Interface Controller,wireless network interface Controller and a variety of modem equipment. As long as the drivers for these devices are installed into the system, a corresponding physical network interface will appear and be available.

Any physical network interface is a name that is defined by the operating system to the user software, allowing the user to configure hardware network devices and invoke and use them in programs and scripts.

Virtual network ports, such as lo,eth0:1,eth0.1,vlan2,br0,pppoe-dsl,gre0,sit0,tun0,imq0,teql0 and so on, are virtual network interfaces, but these do not represent an actual hardware device, Instead, it is connected to a hardware device. Virtual network Interface (interfaces) is designed to provide system administrators with the flexibility to configure Linux-based systems easily. A virtual network interface is usually associated with a physical interface or another virtual network interface, but can also be used alone (for example, lo).

Virtual network Interface type:

Aliases:eth4:5,eth4:6,ip-aliases is a multi-IP address and mask that controls each interface. The new tool Iproute2 supports multiple address/prefixes per interface, but aliases is still compatible.

vlans:eth4.0,eth4.1,.... is created to split a simple 2-tier network into multiple virtual networks. is consistent with the ieee802.1q description.

Stacked VLANs, this has not met, not very understanding. Paste it:

stacked VLANs: IEEE 802.1ad-support was mainlined in 2013-04-19:net:vlan:add 802.1ad support Configuration is Done using ip link :

1000

Bridgeds:br0,br-lan

These two are used to treat multiple physical or virtual network interfaces as a network interface. will also be used for VPN

and bridging interfaces. The Linux Ethernet bridge is used to connect over an Ethernet device, which is completely transparent: the host is connected to an Ethernet interface device and the host is connected to other Ethernet devices.

Tunnel INTERFACE:PPPOE-DSL,PPPOA-DSL,TUN0,VPN1, these are used to send packets through tunneling protocols, such as Gre,ipsec,pppoe and so on.

Special Purpose:imq0,teql3, these are used to change the order of the device to go out or enter the priority of the packet, which is often used in our QoS.

Wireless operating mode virtual Interfaces:wlan0,wlan0_1,ath3,ath_monitor.

Linux Wireless System: There will always be a physical network interface to the wireless network control interface, as the main interface (master Interface). The main interface is not visible, depending on the wireless operation mode, the main interface can be configured as Ad-hoc (IBSS), Managed,ap,wds,mesh point,monitor,wireless virtual network Interface can have different characteristics. These are automatically configured by default. When Wnic is loaded, there will be a master interface and at least one virtual interface appear.

In addition, the two network interfaces can also be bound together.

The table below is some of the tools and utilities used by OPENWRT. Do not translate, need to use slowly to know. It is not necessary to look at the role of these tools before compiling the kernel.

OpenWrt network Interface (Networking interface in OpenWrt)

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.