簡(jiǎn)單正確解決SUSE網(wǎng)絡(luò)配置步驟
怎樣正確的解決SUSE網(wǎng)絡(luò)配置,這里有你想要的SUSE網(wǎng)絡(luò)配置步驟。 從中你能了解到更加簡(jiǎn)潔迅速的配置SUSE網(wǎng)絡(luò)配置知識(shí)。正確的處理SUSE網(wǎng)絡(luò)配置.
1.yast運(yùn)行,啟動(dòng)網(wǎng)卡。
2.進(jìn)入/etc/sysconfig/netwrok/,找對(duì)應(yīng)網(wǎng)絡(luò)文件。一般為ifcfg-eth*文件。
3.vi ifcfg-eth*
4.典型 ifcfg-eth0配置
BOOTPROTO='static'
BROADCAST='2.255.255.255'
IPADDR='2.2.2.123'
MTU=''
NETMASK='255.0.0.0'
NETWORK='2.0.0.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
_nm_name='static-0'
5./etc/init.d/network start啟動(dòng)網(wǎng)絡(luò)
6.臨時(shí)ip: ifconfig eth0 2.2.2.123 up
7.終止和啟動(dòng)一個(gè)網(wǎng)卡:ifdown eth0 , ifup eth0
8.ifconfig -a 顯示ip配置。
這樣你就完成了SUSE網(wǎng)絡(luò)配置。
【編輯推薦】