linux下网卡配vlan

时间:2021-10-15 11:29:45

作者:admin

来源:纯净之家


 临时用用的话参考下面命令就可以了
  其中505是vlan id
  [root@1 network-scripts]# /sbin/modprobe -a 8021q
  [root@1 network-scripts]# /sbin

linux下网卡配vlan

config add eth0 505
  Added VLAN with VID == 505 to IF -:eth0:-
  [root@1 network-scripts]# ifconfig eth0.505 10.4.3.2/24 
本文来自系统大全为您提供如需转载请注明!推荐win10下载

系统下载排行榜71011xp

提取码
XGZS
关闭 前往下载