仮想インタフェースを作成する
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[CentOS7]]
*仮想インタフェースを作成する [#l2db6d87]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# cd /etc/sysconfig/network-scripts/|
|[root@localhost network-scripts]# cp ifcfg-eth0 ifcfg-et...
|[root@localhost network-scripts]# vi ifcfg-eth0:1|
|DEVICE=&color(lime){eth0:1}; &br; ONBOOT=yes &br; IPADDR...
|[root@localhost network-scripts]# cd|
|[root@localhost ~]# ifup eth0:1 &color(lime){←仮想インタ...
|[root@localhost ~]# ifconfig &color(lime){←仮想インター...
終了行:
[[CentOS7]]
*仮想インタフェースを作成する [#l2db6d87]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# cd /etc/sysconfig/network-scripts/|
|[root@localhost network-scripts]# cp ifcfg-eth0 ifcfg-et...
|[root@localhost network-scripts]# vi ifcfg-eth0:1|
|DEVICE=&color(lime){eth0:1}; &br; ONBOOT=yes &br; IPADDR...
|[root@localhost network-scripts]# cd|
|[root@localhost ~]# ifup eth0:1 &color(lime){←仮想インタ...
|[root@localhost ~]# ifconfig &color(lime){←仮想インター...
ページ名: