public ip and local ip

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pradeepjain
    Contributor
    • Jul 2007
    • 563

    public ip and local ip

    Hii guys,
    I am having a server that has a public ip and local ip...when i try to use public ip within the lan it doesnot work.How to make it work ..
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    Try setting the firewall off...

    iptable -F

    If it works then set the proper rule and reset the iptable...

    This link will help you....

    http://www.google.co.i n/search?hl=en&cl ient=firefox-a&rls=org.mozil la%3Aen-US%3Aofficial&h s=oKy&q=accessi ng+public+IP+in +LAN&btnG=Searc h&meta=

    Comment

    • Arulmurugan
      New Member
      • Jan 2008
      • 90

      #3
      Hi,
      I don't your LAN setup, I can answer you from the following assumption.
      1. You have a LAN with all Private/Local IP address.
      2. You have few Public/Global IP address.
      3. There is a NAT box between your Network and public/global/internet.

      Here the NAT is used to communicate with public network. by default NAT converts and maintenance the private IP to public IP. so if you have a Public IP address in side a private network, i can not communicate to Public Address.
      (Because Different N/W , Different Mask, and broadcast IP).

      Of course few people put their Public server inside a private network due to some security issue, and proper configure NAT can help to communicate with outside world.

      Regards,
      Arul

      Comment

      Working...