当前位置: 技术问答>linux和unix
如何停止和删除 solaris 的一个IP地址 ???
来源: 互联网 发布时间:2015-01-26
本文导语: 如何停止和删除 solaris 的一个IP地址 ??? | ifconfig interface [ af [ address [ dest_addr ] ] [ up ] [ down ][ netmask mask ] ] [ metric n ] [ arp | -arp ] ...
如何停止和删除 solaris 的一个IP地址 ???
|
ifconfig interface
[ af [ address [ dest_addr ] ] [ up ] [ down ][ netmask mask ] ]
[ metric n ]
[ arp | -arp ]
[ plumb | unplumb ]
e.g. ifconfig lan0 down
As I don't have sun at hand, I don't know your machine's interface name, I can't give you an exact example. My example works in HP-UX. You can man ifconfig in you machine. As I remembered, the interface in Solaris should be something such as le0.
[ af [ address [ dest_addr ] ] [ up ] [ down ][ netmask mask ] ]
[ metric n ]
[ arp | -arp ]
[ plumb | unplumb ]
e.g. ifconfig lan0 down
As I don't have sun at hand, I don't know your machine's interface name, I can't give you an exact example. My example works in HP-UX. You can man ifconfig in you machine. As I remembered, the interface in Solaris should be something such as le0.
|
命令
ipconfig /release_all为删除。
命令
ipconfig /renew_all为重新申请。
ipconfig /release_all为删除。
命令
ipconfig /renew_all为重新申请。