openbsd 多网口 同时支持vlan

OpenBSD的安装、升级、更新等日常问题。

版主: chenjun天地乾坤

回复
openbsdsir008
铁 Fe
帖子: 80
注册时间: 2014-03-20 16:19

openbsd 多网口 同时支持vlan

帖子 openbsdsir008 » 2014-07-12 16:01

ifconfig vlan2 create
ifconfig vlan7 create
ifconfig vlan9 create
ifconfig vlan1 vlan 2 vlandev em0
ifconfig vlan7 vlan 7 vlandev em0
ifconfig vlan9 vlan 9 vlandev em0


这样做可以使em0 支持vlan 2 ,7 , 9 em0接口连接 二层交换机的trunk口。

如果还有一个网络接口em1 ,还可以在这个网络接口上也支持 vlan 2 , 7 ,9 吗?

openbsdsir008
铁 Fe
帖子: 80
注册时间: 2014-03-20 16:19

Re: openbsd 多网口 同时支持vlan

帖子 openbsdsir008 » 2014-08-13 18:54

求助,高手帮帮我

回复

在线用户

正浏览此版面之用户: Ahrefs [Bot] 和 9 访客