netconf命令詳解,linux
1、netconf命令簡介:
netconf是Red Hat linux發行版專門用來調整Linux各項設置的程序。netconf是Red Hat Linux提供的Linuxconf的一部分,主要用於設置與網絡相關的參數,它可以在consle下運行(文本菜單),也可以在X-Window中運行(圖形界面)。
2、語法:
netconf [參數]
3、常用參數:
[root@linuxcool ~]# netconf
命令行下調出網卡eth2配置界面並使之生效:
[root@linuxcool ~]# netconf eth2
[root@linuxcool ~]# service network restart
命令行下調出網卡eth0配置界面並使之生效:
[root@linuxcool ~]# netconf eth0
[root@linuxcool ~]# ifdown eht0
[root@linuxcool ~]# ifup eht0