Solaris add and delete virtual network interface IP address 1. view the current network interface IP address configuration www.2cto. comroot @ solaris # ifconfig-alo0: flags2001000849 & lt; UP, LOOPBACK, RUNNING, MULTICAST, IPv4, VIRTUAL & gt; mtu8232index1inet127.0.0.1. add or delete a virtual network card IP address on Solaris 1. view the IP address configuration of the current network card www.2cto.com root @ solaris # ifconfig-alo0: flags = 2001000849 Mtu 8232 index 1 inet 127.0.0.1 netmask ff000000ce0: flags = 1000843 Mtu 1500 index 2 inet 192.168.0.3 netmask ffffff00 broadcast 192.168.0.255groupname ipmp1ether 0: 14: 4f: 7a: 2d: 98 II. add the Virtual nic ip ifconfig ce0 addif 192.168.0.24 netmask 255.255.255.0ifconfig ce0 addif 192.168.0.15 netmask 255.255.255.0 3. View all nic ip configurations root @ solaris # ifconfig-alo0: flags = 2001000849 Mtu 8232 index 1 inet 127.0.0.1 netmask ff000000ce0: flags = 1000843 Mtu 1500 index 2 inet 192.168.0.3 netmask ffffff00 broadcast 192.168.0.255groupname ipmp1ether 0: 14: 4f: 7a: 2d: 98ce0: 1: flags = 9040843 Mtu 1500 index 2 inet 192.168.0.24 netmask ffffff00 broadcast 192.168.0.255ce0: 2: flags = 1000843 Mtu 1500 index 2 inet 192.168.0.15 netmask ffffff00 broadcast 192.168.0.255 4. delete the Virtual nic ip ifconfig ce0 removeif 192.168.0.24ifconfig ce0 removeif 192.168.0.15 5. View all nic ip configurations root @ solaris # ifconfig-alo0: flags = 2001000849 Mtu 8232 index 1 inet 127.0.0.1 netmask ff000000ce0: flags = 1000843 Mtu 1500 index 2 inet 192.168.0.3 netmask ffffff00 broadcast 192.168.0.255groupname ipmp1ether 0: 14: 4f: 7a: 2d: 98
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service