Skip to content

Commit 77855df

Browse files
Update README.md
1 parent 6913ac1 commit 77855df

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,5 +153,18 @@ Linux 實做了 802.1Q tagged VLAN 功能,Vlan 就是將乙太網路進行虛
153153

154154
* 使用設定檔作設定
155155

156-
在 /etc/sysconfig/network-scripts/ 準備 eth0.100 用的
156+
在 /etc/sysconfig/network-scripts/ 準備 eth0.100 用的設定檔案,可以在系統啟動時自動建立Vlan 介面。
157+
158+
159+
# cat ifcfg-eth0.100 檔名
157160
161+
DEVICE=etho0.100
162+
TYPE=Ethernet
163+
BOOTPROTO=static
164+
IPADDR=192.168.1.100
165+
ONBOOT=yes
166+
VLAN=yes
167+
168+
169+
170+

0 commit comments

Comments
 (0)