Question:
Can a host have more than one IP address? explain?
Maulik
2015-09-30 07:19:31 UTC
Can a host have more than one IP address? explain?
Ten answers:
Richard
2015-09-30 12:20:17 UTC
Before I retired, the company I worked for had two nominally identical servers. The main difference between them was the IP addresses they were assigned. I cannot remember the actual addresses, but I will explain by examples. One had address 192.168.20.1 and the other had the address 192.168.20.2. Administrators could log on to either server by using the correct address for that server.



The business application was run only on one server, with the second server as a warm standby. The application disks were mirrored with shared access from both servers. The access to the disks was software switched on to one server at a time.



The users had front end terminals that were locked to connecting to one IP address only - 192.168.20.100. This address was added to the current live server as a second IP address on the same network card as the server's own specific address. When the application was not available, the 192.168.20.100 address was not assigned to either server so the users could not access it at all.



This whole set up was on Sun Solaris UNIX based servers, and the whole switch-over process was controlled by shell scripts. Similar techniques can be carried out in Windows using the steps that Kevy has described in his excellent answer.



I hope this helps.
efflandt
2015-09-30 11:09:22 UTC
Sure a computer can have more than one IP address. I used to use a Linux PC as a router with 3 nics, one for PPPoE, one for LAN, and one for a wireless access point. Linux even has a way to add alias IP addresses to a single interface. That only helps if you have an application with settings that can bind it to a specific IP address. And it does not help speed any, since all network traffic is going out/in the same wire. It just allows you to access different servers or content on that computer from elsewhere by using different IP addresses instead of having to use non-standard ports for multiple servers of the same type.



Also note that having 2 different nics with different IP addresses connected to the same network does not serve any useful purpose without doing something special because all traffic to the network you are connected to will tend to use the first suitable route in the routing list, which will always be only one of the interfaces.
2015-09-30 08:59:47 UTC
Yes you can...



Go into the Network Adapter properties you want to configure



Find the IP Version you want to configure and click properties.



You must first add a Static IP to that Adapter... with all details...



Click Advance at the bottom...



Under 'IP Settings' tab, Here you can add as many IP address you want to that Network Adapter.



Click okay and done.



This is how one system can manage different Services with different local addresses.



Also you can connect to different networks with predefined Static settings.
?
2015-09-30 07:51:43 UTC
An ip address is assigned to a network card, not to a host per se. So for instance, if your computer had two different network cards, and they were both plugged into the network, they would each get their own ip address. At that point, your computer would have the ability to use both ip addresses. This holds true no matter how many network cards are in the computer.
Cool Guy
2015-10-01 11:39:27 UTC
Technically yes. By having more than one NIC installed, you can have one ip address on each interface. Also, if you have multiple VMs running on your computer, each VM can have its own ip address.
Shawn H
2015-09-30 11:58:09 UTC
One IP address per network Interface, when the Interface supports IP addressing.
?
2015-09-30 11:41:37 UTC
WRONG, it isn't per NIC card. A system can have many IPs assigned to a single NIC card. In fact, that is how VMs work (VirtualBox, VMware, QEMU, KVM) in bridged mode, you have multiple IPs on a single NIC.
Bipul
2015-10-01 02:30:28 UTC
can use VirtualBox soft to use multiple IP
?
2015-09-30 07:26:37 UTC
yes, but user should have two nic card
Albert
2015-10-02 04:21:58 UTC
yeas you can do it.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...