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.