Static IP Addresses

Can the same static IP address be assigned to more than one service on the same server? If so, how are conflicts avoided. I was under the impression that each device/host/service needs its own static IP address in order to communicate. I appreciate that workstations can be configured to request IP addresses from the DHCP server, but I'm referring to other devices/services.

Peter
Peter_FabriAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DVation191Commented:
If the server already has a static IP address, every service on that service is already referenced by that static IP address. The services conflicts are avoided by the use of "virtual" ports. In other words, FTP typically uses port 21. So if your server has the FTP service running, I could connect to it with an FTP client using the address 192.168.0.100:21 (notice my reference to the port to tell the application I want to access the service listening on port 21)
0
AutoSpongeCommented:
If you mean can a server have both FTP and HTTP services running for the same IP address, yes you can.  There aren't conflicts because the services have different port numbers.  If you mean you have 2 print servers with the same IP address, you're going to have problems with those until you can change an IP or put in a switch/router that can isolate them from each other but communitcate to both of them.
0
Technicon-SGCommented:
Not quite sure what you are asking here...maybe an explanation of what you are trying to do would help...

As to what I have read...

The Static IP addres is assigned to the Manchine (or Host).  The services (HTTP, SMTP, TELNET, RDP, POP, etc...) are assigned to ports that are attached to the IP address...ie... HTTP uses port 80, TELNET uses port 23

If a machine had multiple network cards...each card would need to have its own IP address
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Technicon-SGCommented:
Whoops...too slow
0
Felix2000Commented:
Well there are times which protocols like HSRP / VRRP that 2 devices like routers / firewalls share one IP and MAC address for load balancing or redundancy purposes.
Otherwise yes IP addresses must be unique.  Kinda like your house number mailman can't deliver your mail if 2 houses on your street have the same address. You might get some of your mail the other person might get the other half etc.

-= Felix =-
0
Peter_FabriAuthor Commented:
At work we have a voice mail service and a service for the swipe card systems for staff. Both services residing on the same stand alone pc, which is acting as a server for these services. I was asked if the same static IP address could be used for the voice mail bedore activating it. It appears it can as there was no conflict, but I am not sure if ports are involved. Maybe this works much in the same way as the DNS/DHCP server having the same IP address as my server!

Any comments/clarification is much appreciated.

Peter
0
Felix2000Commented:
Yes those services probably run on 2 difference ports.  No two applications can use the same port on the same ip.  Think of ports like and extention to a phone number.

So if we look at maybe an all round server for example
It could run
FTP on port 21
DNS on 53
DHCP (67/68)
Webserver on 80
POP3 Mail on 110

So all these could be "connected" to one IP.  You could not however run say FTP and Webserver both on port 80.

-= Felix =-


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.