linux网桥模式vlantrunk透传
linux网桥模式vlantrunk透传
2007-12-27 08:30
首先使用vconfig创建vlan虚拟接口,并分别在两个接口上增加vlan100\vlan200\vlan300
vconfig add eth0 100
vconfig add eth0 100
vconfig add eth0 300
vconfig add eth1 100
vconfig add eth1 200
vconfig add eth1 300
启用vlan端口
ifconfig eth0.100 up
ifconfig eth0.200 up
ifconfig eth0.300 up
ifconfig eth1.100 up
ifconfig eth1.200 up
ifconfig eth1.300 up
创建网桥(名称为br0)
brctl addbr br0
//加入端口(分别将两个Vlan加入网桥中)
切记:不是将eth0和eth1添加到网桥中
brctl addif br0 eth0.100
brctl addif br0 eth0.200
brctl addif br0 eth0.300
brctl addif br0 eth1.100
brctl addif br0 eth1.200
brctl addif br0 eth1.300
注: 一般情况所有Vlan使用一个网桥即可。如果vlan很少,也可以一个vlan使用一个网桥,但这也有局限性,因为linux2.6最多只允许增加30个网桥,但这对小型的网络来说已经足够用了
相关文档:
1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI) 就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......
这几天装了Ubuntu才发现,Xmark早就被河蟹钳了。难怪之前书签一直传不上去。。幸好win7还没删,不然我整个月的书签都没了。
在此记录一下破墙的方法:
sudo emacs /etc/hosts
添加
64.147.188.86 www.xmark.com
64.147.188.92 api.xmarks.com
64.147.188.89 login.xmarks.com
64.147.188.87 sync.xmarks.com
......
http://server.it168.com/a2008/1016/208/000000208085.shtml
如果在Red Hat Enterprise Linux 5安装时已经默认安装了NFS组件,接下来的工作主要是配置相关文件使服务器提供NFS服务,步骤如下。
(1)设定某台计算机为NFS服务器,并在后台启动相关的守护进程(在"服务配置"中启动)。一般来说,如果NFS服务器要 ......