Networking Forums

Networking Forums > Network Hardware > Broadband Hardware > Public & Private IP Addresses

Reply
Thread Tools Display Modes

Public & Private IP Addresses

 
 
Nathan Sokalski
Guest
Posts: n/a

 
      05-19-2004, 05:51 PM
I am a user on a home network which uses Internet Connection Sharing (ICS).
My computer is connected to the other computer on my network, which is the
one connected to our DSL internet connection. Therefore, my computer does
not have a public IP address. I have the XP Pro version of IIS on my
computer to use for testing out my web pages. However, because when a user
enters a URL using an IP address, they can only enter one IP address, their
browser will be unable to find my computer. I know the private IP for my
computer, the public IP my network uses to connect to the Internet, and the
name of my computer. What would I tell someone to enter in their browser to
view a web page on my computer? Any help would be appreciated. Thanks.
--
Nathan Sokalski
(E-Mail Removed)


 
Reply With Quote
 
 
 
 
Guest
Posts: n/a

 
      05-19-2004, 09:32 PM
I don't think that will work, but try this. Run Command
Prompt and enter ipconfig. If you get two IP's, bind the
server to the public IP. Otherwise, try to bridge the
Internet connection and the ICS.

You always give the public address to clients on the
Internet. The private addresses are "private" to your
subnet, and traffic to them is blocked on the Internet --
so you cannot give out the private IP of the PC; you need
to handover the public IP.

With a router one would forward port 80 to the local IP
of the PC with server -- clients then use the public IP
and all requests are automatically converted at the
router level. (You may search for NAT -- Network Address
Translation -- this is what translates the public address
into multiple private address in routers and ICS)

ICS uses NATting, but I'm unaware of any support for port
forwarding. See if the public address interface is
visible on the PC, using ipconfig. If you get two IP's,
bind the server to the public IP.

>-----Original Message-----
>I am a user on a home network which uses Internet

Connection Sharing (ICS).
>My computer is connected to the other computer on my

network, which is the
>one connected to our DSL internet connection. Therefore,

my computer does
>not have a public IP address. I have the XP Pro version

of IIS on my
>computer to use for testing out my web pages. However,

because when a user
>enters a URL using an IP address, they can only enter

one IP address, their
>browser will be unable to find my computer. I know the

private IP for my
>computer, the public IP my network uses to connect to

the Internet, and the
>name of my computer. What would I tell someone to enter

in their browser to
>view a web page on my computer? Any help would be

appreciated. Thanks.
>--
>Nathan Sokalski
>(E-Mail Removed)
>
>
>.
>

 
Reply With Quote
 
Mihail Testov
Guest
Posts: n/a

 
      05-19-2004, 11:24 PM
Nathan Sokalski wrote:

> I am a user on a home network which uses Internet Connection Sharing (ICS).
> My computer is connected to the other computer on my network, which is the
> one connected to our DSL internet connection. Therefore, my computer does
> not have a public IP address. I have the XP Pro version of IIS on my
> computer to use for testing out my web pages. However, because when a user
> enters a URL using an IP address, they can only enter one IP address, their
> browser will be unable to find my computer. I know the private IP for my
> computer, the public IP my network uses to connect to the Internet, and the
> name of my computer. What would I tell someone to enter in their browser to
> view a web page on my computer? Any help would be appreciated. Thanks.


Nobody can connect to your computer until you setup port forwarding on
your "router computer". It should be something like:
source ip 0/0 destination ip <your "router pc" IP> destination port 8000
redirect to <your PC IP> port 80
Actually I think you have to use some thirdparty NAT/PortFW solution.
Microsoft doesn't have any standard (as I know, try KB to verify).
 
Reply With Quote
 
NetEng
Guest
Posts: n/a

 
      05-20-2004, 04:31 PM
Check this out, a little bit of hacking, but it's supposed to work
(personally I use a firewall for translations and suggest you do too).

http://support.microsoft.com/default...NoWebContent=1



"Mihail Testov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Nathan Sokalski wrote:
>
> > I am a user on a home network which uses Internet Connection Sharing

(ICS).
> > My computer is connected to the other computer on my network, which is

the
> > one connected to our DSL internet connection. Therefore, my computer

does
> > not have a public IP address. I have the XP Pro version of IIS on my
> > computer to use for testing out my web pages. However, because when a

user
> > enters a URL using an IP address, they can only enter one IP address,

their
> > browser will be unable to find my computer. I know the private IP for my
> > computer, the public IP my network uses to connect to the Internet, and

the
> > name of my computer. What would I tell someone to enter in their browser

to
> > view a web page on my computer? Any help would be appreciated. Thanks.

>
> Nobody can connect to your computer until you setup port forwarding on
> your "router computer". It should be something like:
> source ip 0/0 destination ip <your "router pc" IP> destination port 8000
> redirect to <your PC IP> port 80
> Actually I think you have to use some thirdparty NAT/PortFW solution.
> Microsoft doesn't have any standard (as I know, try KB to verify).



 
Reply With Quote
 
Mihail Testov
Guest
Posts: n/a

 
      05-21-2004, 10:11 AM

Are you sure this will work for Win2K/XP/2K3?
I don't have time for testing right now, but at the bottom of article is:

The information in this article applies to:

* Microsoft Windows Millennium Edition
* Microsoft Windows 98 Second Edition

Last Reviewed: 8/6/2002 (1.0)
Keywords: kbenv kbhowto KB231162

And as I understand the idea... realisations are completely different
for NT platforms and DOS-based platforms.

But it will be good for check an idea !


NetEng wrote:

> Check this out, a little bit of hacking, but it's supposed to work
> (personally I use a firewall for translations and suggest you do too).
>
> http://support.microsoft.com/default...NoWebContent=1
>
>
>
> "Mihail Testov" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>Nathan Sokalski wrote:
>>
>>
>>>I am a user on a home network which uses Internet Connection Sharing

>
> (ICS).
>
>>>My computer is connected to the other computer on my network, which is

>
> the
>
>>>one connected to our DSL internet connection. Therefore, my computer

>
> does
>
>>>not have a public IP address. I have the XP Pro version of IIS on my
>>>computer to use for testing out my web pages. However, because when a

>
> user
>
>>>enters a URL using an IP address, they can only enter one IP address,

>
> their
>
>>>browser will be unable to find my computer. I know the private IP for my
>>>computer, the public IP my network uses to connect to the Internet, and

>
> the
>
>>>name of my computer. What would I tell someone to enter in their browser

>
> to
>
>>>view a web page on my computer? Any help would be appreciated. Thanks.

>>
>>Nobody can connect to your computer until you setup port forwarding on
>>your "router computer". It should be something like:
>>source ip 0/0 destination ip <your "router pc" IP> destination port 8000
>>redirect to <your PC IP> port 80
>>Actually I think you have to use some thirdparty NAT/PortFW solution.
>>Microsoft doesn't have any standard (as I know, try KB to verify).

>
>
>

 
Reply With Quote
 
Panorama
Guest
Posts: n/a

 
      05-28-2004, 10:57 AM
Dear NetEng,

Your solutions does not apply to this problem. simply because Nathan does
not have access to a Public IP. The DSL cannot not allow that. Access to a
public IP must be given by an ISP. It can be done by using a NAT (Network
Address Translation) or PAT (port Address Translation) or any other
translations available (firewall translations as claimed by few firewalls
[In principle every one uses the NAt or a PAT]).

This is a rough Idea how it works:
(Public IP) Internet --> ISP(Public IP) --> DSL Network+DSL Server (Public
IP) ---> DSLAM (Public IP ends here & Private addressing starts) a few
DSLAMs will allow public IP penetration but ISP's do not like that-->
Transmission through Telco's to Digital Network, Wireless or Radio medium-->
Nathen's Computer.

The below solution does not apply in this case because Nathen cannot see any
Public IP (All requests are multiplexed at one single IP at the DSLAM level.

hope this helps.


"Mihail Testov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Are you sure this will work for Win2K/XP/2K3?
> I don't have time for testing right now, but at the bottom of article is:
>
> The information in this article applies to:
>
> * Microsoft Windows Millennium Edition
> * Microsoft Windows 98 Second Edition
>
> Last Reviewed: 8/6/2002 (1.0)
> Keywords: kbenv kbhowto KB231162
>
> And as I understand the idea... realisations are completely different
> for NT platforms and DOS-based platforms.
>
> But it will be good for check an idea !
>
>
> NetEng wrote:
>
> > Check this out, a little bit of hacking, but it's supposed to work
> > (personally I use a firewall for translations and suggest you do too).
> >
> >

http://support.microsoft.com/default...NoWebContent=1
> >
> >
> >
> > "Mihail Testov" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >
> >>Nathan Sokalski wrote:
> >>
> >>
> >>>I am a user on a home network which uses Internet Connection Sharing

> >
> > (ICS).
> >
> >>>My computer is connected to the other computer on my network, which is

> >
> > the
> >
> >>>one connected to our DSL internet connection. Therefore, my computer

> >
> > does
> >
> >>>not have a public IP address. I have the XP Pro version of IIS on my
> >>>computer to use for testing out my web pages. However, because when a

> >
> > user
> >
> >>>enters a URL using an IP address, they can only enter one IP address,

> >
> > their
> >
> >>>browser will be unable to find my computer. I know the private IP for

my
> >>>computer, the public IP my network uses to connect to the Internet, and

> >
> > the
> >
> >>>name of my computer. What would I tell someone to enter in their

browser
> >
> > to
> >
> >>>view a web page on my computer? Any help would be appreciated. Thanks.
> >>
> >>Nobody can connect to your computer until you setup port forwarding on
> >>your "router computer". It should be something like:
> >>source ip 0/0 destination ip <your "router pc" IP> destination port 8000
> >>redirect to <your PC IP> port 80
> >>Actually I think you have to use some thirdparty NAT/PortFW solution.
> >>Microsoft doesn't have any standard (as I know, try KB to verify).

> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect Public IPs to Private IP garks Windows Networking 2 11-16-2007 03:27 PM
How do I NAT Public to Private? >>Smith Windows Networking 2 04-10-2006 10:21 PM
Configure Public & Private DNS Server No_Spam Linux Networking 1 04-27-2005 11:12 PM
Public IP and private network =?Utf-8?B?R1VS?= Windows Networking 3 11-26-2004 09:38 PM
forwarding between private and public networks Tobias Skytte Linux Networking 2 11-11-2003 08:22 AM



1 2 3 4 5 6 7 8 9 10 11