Using private ip for a server!

Posted on 2004-11-10
Last Modified: 2010-03-17
Hi there.

I want to know what are the consecuences of using a private ip address like 192.168.x.x for a server.
and also what happens if someone use public IP for a private network?

Question by:sm_billy
    LVL 95

    Expert Comment

    by:Lee W, MVP
    Public IP for a private network is fine, but not recommended.  You can use a private IP for a server, but no one on the internet will be able to access it unless you use NAT or a Proxy server and forward the ports for the services you want public.
    LVL 57

    Expert Comment

    by:Pete Long
    correct private ranges like


    are unable to be routed (without NAT or PAT as outlined above) My servers have Private IP's and public IP's simply because Ive got three registered class C networks - these days thats not an option so people use "whatever they want" and simply NAT/PAT it on a router or firewall
    LVL 79

    Accepted Solution

    While it is true that using NAT you can use virtually an network - public or private - on your local LAN, be aware that if you just pull a network out of your hat, like
    Sounds pretty random, right? Well, if you were to use that particular network in your local lan, then you would never be able to go to because it would always resolve to a local address...
    Same if you picked something like, then you would never be able to get to ..

    You would have to be careful to pick an IP address that nobody is using with a commercial web site that your users might want to visit some day. The IETF has taken that guesswork out of it by creating the set of "private" ip ranges as Pete has posted (see RFC 1918).
    LVL 70

    Expert Comment

    by:Chris Dent

    Just wanted to add a really minor point.

    The 169.254 range should really be avoided really, that one is the default address range for DHCP clients (the one they get if no DHCP is available). So there's some potential for IP Conflicts there.

    That still leaves three ranges (Class A, B and C) to play with, giving you an impressive total number of addresses to use (as Pete posted). - - -
    LVL 57

    Expert Comment

    by:Pete Long
    Chris is correct

    but you wont get a conflict if you use this range staticly - any AIPA compliant machine will check a 169.254 IP address is not in use before it awards it to itself

    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

    Join & Write a Comment

    Suggested Solutions

        Over the past few years, small business and home owners have become so dependent on internet that a need for redundancy has arisen.    What happens when your small business or home / home office loses its internet connection?  The results c…
    Cable Modem Provisioning from DPoE compliant server  This Article is to support CMTS administrators to provide an overview of DOCSIS compliance configuration file, and to provision a cable modem located at customer place from a Back office serve…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    728 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

    21 Experts available now in Live!

    Get 1:1 Help Now