2.4. Connecting to an Ethernet 802.1q VLAN
2009-12-30 20:44
399 查看
2.4. Connecting to an Ethernet 802.1q VLAN
Virtual LANs are a way to take a single switch and subdivide it into logical media segments. A single switch port in a VLAN-capable switch can carry packets from multiple virtual LANs and linux can understand the format of these Ethernet frames. For more on this, see the linux 802.1q VLAN implementation site.Kernels in the late 2.4 series have support for VLAN incorporated into the stock release. The vconfig tool, however needs to be compiled against the kernel source in order to provide userland configurability of the kernel support for VLANs.
There are a few items of note which may prevent quick adoption of VLAN support under linux. Ben McKeegan wrote a good summary of the MTU/MRU issues involved with VLANs and 10/100 Ethernet. Gigabit Ethernet drivers are not hamstrung with this problem. Consider using gigabit Ethernet cards from the outset to avoid these potential problems.
Example 2.11. Bringing up a VLAN interface
[root@real-router]# vconfig add eth0 7 [root@real-router]# ip addr add dev eth0.7 192.168.30.254/24 brd + [root@real-router]# ip link set dev eth0.7 up [/code] |
This documentation is sparse. Visit the main site and the VLAN mailing list archives.
相关文章推荐
- pxssh connecting to an ssh proxy; Timeout exceeded in read_nonblocking()
- NetScaler SNIPs Bound To An Interface Without A VLAN
- 使用L2TPV3桥接互联-----ethernet-to-vlan
- 《An Introduction to Ray Tracing》—— 2.4 Ray/Box Intersection
- 使用MPLS桥接互联-----ethernet-to-vlan
- Connecting to an Oracle Database
- How-to guide: Connecting an InfoPath form to an Access database
- Connecting to an external source via Java Connector(from Jack Wu)
- How to be an expert
- Given a roman numeral, convert it to an integer.
- An application for Apple Watch to control your Tesla Car
- How To Build Multi-control Components when Inheriting from an Existing Control (Intro and TextBox Example)
- An Introduction To Domain-Driven Design
- Ipython console in Spyder stuck on “connecting to kernel”
- 学习MongoDB(三) Add an Arbiter to Replica Set 集群中加入仲裁节点
- windows安装rabbitmq报错Error: unable to perform an operation on node ''. Please see diagnostics...
- Final Steps to Writing an Essay
- An intro to modern OpenGL. Chapter 2.1: Buffers and Textures
- 如何处理Jdeveloper 启动时出现的错误-Unable to create an instance of the Java Virtual Machine