Itself is a server, a network cable, need to virtualize multiple ip addresses?

Source: Internet
Author: User
Itself is a server, a network cable, need to virtualize multiple ip addresses? The server deployment has the following requirements:
Two applications need to be placed on one server. to facilitate management, you need to configure two domain names for them, and DNS is also set up by yourself. In this way, two ip addresses are required,
The problem is, how can I virtualize two or more ip addresses on a server?


Reply to discussion (solution)

The ip address cannot be virtual.
If it is a public ip address, you need to buy an id from the network supplier
If it is an intranet, the number of available ip addresses is determined based on your network segment.

The ip address cannot be virtual.
If it is a public ip address, you need to buy an id from the network supplier
If it is an intranet, the number of available ip addresses is determined based on your network segment.
It is the intranet. in linux, how about configuring one Nic? eth0 and eth1 take up two intranet ip addresses and assign them an intranet domain name to two different applications, you can access both domain names on this machine.

Configure multiple IP addresses for a linux Nic

Virtual NIC?

Configure multiple IP addresses for a linux Nic

One Nic can be bound to multiple IP addresses, either in windows or linux. if it is divided into intranet and internet, you need to configure the route

One Nic can be bound to multiple IP addresses, either windows or linux. if it is divided into intranet and internet, you need to configure routes. thank you,
[Root @ localhost ~] # Ifconfig eth0: 1 192.168.10.63 netmask 255.255.255.0 up
[Root @ localhost ~] # Ip addr del 192.168.10.63 dev eth0: 1
You can use the statement to configure multiple ip addresses for one Nic.

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.