Hello,
I have configured NAT on Windows XP box by enabling IPEnableRouter in
registry. Everything worked like a sharm. Now I want to forward some ports to
one host on internal network. I know that I need ICS for that. So I enabled
ICS and forwarded some ports and it worked too. The problem is, that just
after I enabled ICS, NAT doesn't work anymore. My question is how can I make
NAT AND ICS work together?
I'd like to help, but I don't have enough information. Please answer
these questions, and include any other information you can think of
that would help people understand the situation:
1. What indicates to you that ICS breaks NAT? What are you doing that
works when ICS isn't enabled? What's different when you enable ICS?
If there are error messages, what do they say?
2. How many network adapters does the Windows XP box have? What is
each one connected to? What is the IP address and subnet mask of each
one?
3. Which network adapter have you told ICS to use as the Internet
connection?
4. Which network adapter have you told ICS to use as the home network
connection? ICS automatically changes that connection's IP address to
192.168.0.1, with a subnet mask of 255.255.255.0.
I think that you and I use different terminology, and I don't want it
to prevent me from understanding your question. As I see it:
1. The IPEnableRouter registry key enables IP forwarding in Windows
XP. IP forwarding causes packets that arrive at one network interface
to be repeated on other network interfaces, allowing an XP computer to
route traffic between multiple subnets. Is that what you mean by
"NAT".
2. NAT (Network Address Translation) is something different. NAT lets
a computer (or broadband router) share a single Internet connection
and a single public IP address between multiple computers. For
details, see these sites:
http://en.wikipedia.org/wiki/Network_address_translation
http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/nattrnsv.mspx
XP's ICS (Internet Connection Sharing) is a NAT program.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com