Add a new IP address in ubuntu

Source: Internet
Author: User

Adding a new IP vi/etc/network/interfaces in ubuntu will display the following: java code: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 207.210.118.56 netmask has been released without broadcast 207.210.118.63 network 207.210.118.32 gateway worker add new Java code auto eth0: 1. Add new interface information to the Java code auto eth0 in this line. Java code iface eth0: 1 inet static address 207.210.118.58 netmask has been successfully added to broadcast 207.210.118.63 network MASK gateway MASK check whether the MASK and gateway are correctly added, the following Java code is displayed: auto lo iface lo inet loopback auto eth0 auto eth0: 1 iface eth0 inet static address 207.210.118.56 netmask has been released without broadcast 207.210.118.63 network has gateway has iface eth0: 1 inet static address 207.210.118.58 netmask restart multicast broadcast 207.210.118.63 network 207.210.118.32 gateway 207.210.118.33 and then restart the network/etc/init. d/networking restart

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.