麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統(tǒng) > Solaris > 正文

Solaris如何網(wǎng)卡IP地址?

2024-07-26 00:29:55
字體:
供稿:網(wǎng)友
 ifconfig 
ifconfig用于配置網(wǎng)卡地址,改動(dòng)后立即生效,但并不保存配置,下次啟動(dòng)后失效。 
# ifconfig -a 
lo0: flags=849 mtu 8232 
        inet 127.0.0.1 netmask ff000000 
hme0: flags=863 mtu 1500 
        inet 172.16.255.2 netmask ffff0000 broadcast 172.16.255.255 
        ether 8:0:20:ee:11:51 
#ifconfig hme0 172.16.3.3 netmask 255.255.255.0 
#ifconfig –a 
lo0: flags=849 mtu 8232 
        inet 127.0.0.1 netmask ff000000 
hme0: flags=863 mtu 1500 
        inet 172.16.3.3 netmask ffffff00 broadcast 172.16.3.255 
        ether 8:0:20:ee:11:51 


 /etc/hosts 
想要永久更改配置,則要更改配置文件,以網(wǎng)卡hme0為例: 

#more /etc/hostname.hme0 
Sunland 
#more /etc/hosts 
127.0.0.1       localhost 
172.16.255.2    Sunland     loGhost 
#vi /etc/hosts 
#more /etc/hosts 
127.0.0.1       localhost 
172.16.3.3    Sunland     loghost 
#more /etc/netmasks 

# The netmasks file associates Internet PRotocol (ip) address 
# masks with IP network numbers. 

#       network-number  netmask 

# The term network-number refers to a number obtained from the Internet Network 
# Information Center.  Currently this number is restricted to being a class 
# A, B, or C network number.  In the future we should be able to support 
# arbitrary network numbers per the Classless Internet Domain Routing 
# guidelines. 

# Both the network-number and the netmasks are specified in 
# "decimal dot" notation, e.g: 

#               128.32.0.0 255.255.255.0 
#vi /etc/netmasks 
#more /etc/netmasks 

# The netmasks file associates Internet Protocol (IP) address 
# masks with IP network numbers. 

#       network-number  netmask 

# The term network-number refers to a number obtained from the Internet Network 
# Information Center.  Currently this number is restricted to being a class 
# A, B, or C network number.  In the future we should be able to support 
# arbitrary network numbers per the Classless Internet Domain Routing 
# guidelines. 

# Both the network-number and the netmasks are specified in 
# "decimal dot" notation, e.g: 

#               128.32.0.0 255.255.255.0 
172.16.3.0  255.255.255.0 
#reboot 


發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 亚洲成人黄色片 | 亚洲一级片在线观看 | 久久久久久久高清 | 欧美黄成人免费网站大全 | 久久久久久免费免费 | 桥本有菜免费av一区二区三区 | 久久吊| 午夜天堂在线视频 | 国产一区二区免费 | 日韩视频一区二区三区四区 | 精品三区视频 | 国产亚洲精品影达达兔 | av电影免费观看 | 欧美人与性禽动交精品 | 欧美 国产 综合 | 香蕉久草视频 | 日韩激情| 毛片在线免费观看完整版 | 国内精品伊人久久久久网站 | 亚洲成人免费视频在线 | 色无极影院亚洲 | 国产一级淫片在线观看 | 国产九色91| 国语自产免费精品视频在 | 毛片视频免费观看 | 国产成人av在线 | 伊人亚洲精品 | 91福利在线观看 | 可以免费看的av | 欧美成人视 | 成人店女老板视频在线看 | 久久久www成人免费毛片 | 欧美一级美片在线观看免费 | 斗罗破苍穹在线观看免费完整观看 | 黄色网址进入 | 欧美一级淫片免费视频1 | 午夜久久视频 | 一色桃子av大全在线播放 | 久久亚洲精品视频 | 日韩欧美视频一区二区三区 | 精品国产91一区二区三区 |