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