Solved

Static IP Addresses

Posted on 2004-10-22
317 Views
Last Modified: 2011-05-19
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
0
Question by:Peter_Fabri
    7 Comments
     
    LVL 20

    Expert Comment

    by:DVation191
    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
     
    LVL 5

    Assisted Solution

    by:AutoSponge
    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
     
    LVL 6

    Expert Comment

    by:Technicon-SG
    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
     
    LVL 6

    Expert Comment

    by:Technicon-SG
    Whoops...too slow
    0
     
    LVL 3

    Assisted Solution

    by:Felix2000
    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
     

    Author Comment

    by:Peter_Fabri
    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
     
    LVL 3

    Accepted Solution

    by:
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
    Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    845 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now