Change the IP address in Debian. Method 2:

Source: Internet
Author: User
Change the IP address in Debian. Method 2: Debian information in the Linux release. See the following for details. I just learned something and noted it down quickly. The top one is to change the IP address under normal circumstances. We have moved and the original IP address cannot be used. Our department's servers only have the chassis, many people can log on to the server remotely through putty. The original IP address of the server is 192.168.14.133. the IP address of the migrated windows Server is 192.168.11.15, and there is only one network cable, the following describes the display of One windows Server, one chassis, and one power cord on one chassis:

1. Change the IP address of the current windows server to 14 as the network segment. You only need to change 192.168.11.15 to 192.168.14.15.

2. Directly plug in the Internet to the server.

3. remotely log on to the server at 192.168.14.20.through putty. The IP address is 192.168.14.20.and is logged on as the root user.

4. in/etc/network/interfaces, delete iface eth0 inet dhcp and add the following content:

Iface eth0 inet static
Address 192.168.0.13
Netmask 255.255.255.0
Gateway 192.168.0.159

Auto eth0

5. Restart the network
#/Etc/init. d/networking restart

Everything is OK.
Related Article

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.