文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Linux Vlan Setting

Linux Vlan Setting

时间:2007-06-21  来源:evegl

linux box作为trunk透明。也就是说trunk可以透过linux box


VLAN2---------------|           |
VLAN3---------------| switch|--------| linux box|--------|switch|--------VLAN3
                                                                                               |___VLAN2


//建vlan虚拟接口
vconfig add eth0 2
vconfig add eth0 3
vconfig add eth1 2
vconfig add eth1 3

//启用端口
ifconfig eth0.2 up
ifconfig eth0.3 up
ifconfig eth1.2 up
ifconfig eth1.3 up

//建桥
brctl addbr bridge2
brctl addbr bridge3

//加入端口
brctl addif bridge2 eth0.2
brctl addif bridge2 eth1.2
brctl addif bridge3 eth0.3
brctl addif bridge3 eth1.3

相关阅读 更多 +
排行榜 更多 +
云海之下手游

云海之下手游

角色扮演 下载
战玲珑2最新版本

战玲珑2最新版本

角色扮演 下载
逃跑吧少年虫虫助手正式版

逃跑吧少年虫虫助手正式版

体育竞技 下载