Using routes in XPpro to get Internet access. Unusualconfig.

  • Thread starter Thread starter Geoff Peel
  • Start date Start date
G

Geoff Peel

I'm trying to setup routes to allow internet access for all my PCs.

I have 2 pcs and a laptop. PC1 is connected to the internet via a NIC_1 and with ICS. The other NIC_2 on PC1 goes to PC2 on it's NIC_1. Internet works fine on both PCs.

However, on the laptop I connect to PC2 on it's NIC_2. But it cannot talk to internet.
Summary:
Internet 10.1.100.12
PC1 NIC_1(10.1.100.10),NIC_2(192.168.0.1)
PC2 NIC_1(192.168.0.10),NIC_2(192.168.2.1)
Laptop NIC_1(192.168.2.10)

I presume I need routes on PC2 (and/or others) to transfer between the two NICs on PC2. I do not want to bridge as I also run Virtual Srv on PC2, and that interupts its networking.

What routes will achieve this?

Any help would be appreciated.
Geoff.
 
I'm trying to setup routes to allow internet access for all my PCs.

I have 2 pcs and a laptop. PC1 is connected to the internet via a NIC_1 and with ICS. The other NIC_2 on PC1 goes to PC2 on it's NIC_1. Internet works fine on both PCs.

However, on the laptop I connect to PC2 on it's  NIC_2. But it cannot talk to internet.
Summary:
Internet 10.1.100.12
PC1 NIC_1(10.1.100.10),NIC_2(192.168.0.1)
PC2 NIC_1(192.168.0.10),NIC_2(192.168.2.1)
Laptop NIC_1(192.168.2.10)

I presume I need routes on PC2 (and/or others) to transfer between the two NICs on PC2. I do not want to bridge as I also run Virtual Srv on PC2, and that interupts its networking.

What routes will achieve this?

Any help would be appreciated.
Geoff.

The easiest way to network more than one PC for shared Internet access
is to place a broadband router, which every PC/laptop will connect
to. Then, only one NIC card is ever need it each.

Example: http://www.newegg.com/Product/Product.aspx?Item=N82E16833124022
 
I'm trying to setup routes to allow internet access for all my PCs.

I have 2 pcs and a laptop. PC1 is connected to the internet via a NIC_1
and with ICS. The other NIC_2 on PC1 goes to PC2 on it's NIC_1.
Internet works fine on both PCs.

However, on the laptop I connect to PC2 on it's NIC_2. But it cannot talk
to internet.
Summary:
Internet 10.1.100.12
PC1 NIC_1(10.1.100.10),NIC_2(192.168.0.1)
PC2 NIC_1(192.168.0.10),NIC_2(192.168.2.1)
Laptop NIC_1(192.168.2.10)

I presume I need routes on PC2 (and/or others) to transfer between the
two NICs on PC2. I do not want to bridge as I also run Virtual Srv on PC2,
and that interupts its networking.

What routes will achieve this?

Any help would be appreciated.
Geoff.

Just setting up routes isn't enough to give Internet access to the
laptop. For your setup to work, PC2 would have to act as a software
router. That's what ICS does.

The best solution would be to connect all three computers to a
broadband router. You wouldn't need to use PC1 NIC_2 or PC2 NIC2.

If that isn't possible, get a network switch and connect it to PC1
NIC_2, PC2_NIC_1, and Laptop NIC_1. You wouldn't need to use PC2
NIC_2.
--
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
 
I'm trying to setup routes to allow internet access for all my PCs.

I have 2 pcs and a laptop. PC1 is connected to the internet via a NIC_1 and with ICS. The other NIC_2 on PC1 goes to PC2 on it's NIC_1. Internet works fine on both PCs.

However, on the laptop I connect to PC2 on it's NIC_2. But it cannot talk to internet.
Summary:
Internet 10.1.100.12
PC1 NIC_1(10.1.100.10),NIC_2(192.168.0.1)
PC2 NIC_1(192.168.0.10),NIC_2(192.168.2.1)
Laptop NIC_1(192.168.2.10)

I presume I need routes on PC2 (and/or others) to transfer between the two NICs on PC2. I do not want to bridge as I also run Virtual Srv on PC2, and that interupts its networking.

What routes will achieve this?

Any help would be appreciated.
Geoff.

Laptop config -
Default gateway set to 192.168.2.1

PC2 config -
Enable routing between the two interfaces as follows

System Key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
Value Name: IPEnableRouter
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)

Default gateway set to 192.168.0.1

PC1 config -
route add 192.168.2.0 mask 255.255.255.0 192.168.0.10


Jim.
 
I'm trying to setup routes to allow internet access for all my PCs.

I have 2 pcs and a laptop. PC1 is connected to the internet via a NIC_1 and with ICS. The other NIC_2 on PC1 goes to PC2 on it's NIC_1. Internet works fine on both PCs.

However, on the laptop I connect to PC2 on it's NIC_2. But it cannot talk to internet.
Summary:
Internet 10.1.100.12
PC1 NIC_1(10.1.100.10),NIC_2(192.168.0.1)
PC2 NIC_1(192.168.0.10),NIC_2(192.168.2.1)
Laptop NIC_1(192.168.2.10)

I presume I need routes on PC2 (and/or others) to transfer between the two NICs on PC2. I do not want to bridge as I also run Virtual Srv on PC2, and that interupts its networking.

What routes will achieve this?

Any help would be appreciated.
Geoff.

Laptop config -
Default gateway set to 192.168.2.1

PC2 config -
Enable routing between the two interfaces as follows

System Key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
Value Name: IPEnableRouter
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)

Default gateway set to 192.168.0.1

PC1 config -
route add 192.168.2.0 mask 255.255.255.0 192.168.0.10


Jim.

Jim, I don't think that will do what Geoff wants: give Internet access
to his laptop computer. That would require PC2 to act as a software
NAT router, like ICS does.

Without NAT, PC2 has no way of knowing which data received from the
Internet it should send to the laptop. PC2 will think that all
received data is meant for PC2, and it won't send anything to the
laptop.
--
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
 
Jim, I don't think that will do what Geoff wants: give Internet access
to his laptop computer. That would require PC2 to act as a software
NAT router, like ICS does.

Without NAT, PC2 has no way of knowing which data received from the
Internet it should send to the laptop. PC2 will think that all
received data is meant for PC2, and it won't send anything to the
laptop.

Hello Steve,

I don't follow what you mean here. Why isn't it just a matter of
simple routing?

With PC1 being a nat device, it will strip off the private address
(192.168.2.10) oubound and replace it on return traffic so PC2 only
ever sees a source or destination of 192.168.2.10. I can't see any
need for a second nat device on pc2.


Jim.
 
[snip]
Jim, I don't think that will do what Geoff wants: give Internet access
to his laptop computer. That would require PC2 to act as a software
NAT router, like ICS does.

Without NAT, PC2 has no way of knowing which data received from the
Internet it should send to the laptop. PC2 will think that all
received data is meant for PC2, and it won't send anything to the
laptop.

Hello Steve,

I don't follow what you mean here. Why isn't it just a matter of
simple routing?

With PC1 being a nat device, it will strip off the private address
(192.168.2.10) oubound and replace it on return traffic so PC2 only
ever sees a source or destination of 192.168.2.10. I can't see any
need for a second nat device on pc2.


Jim.

PC1, with ICS acting as a NAT router, can receive information for
itself and PC2, and it can route the correct information to PC2.

PC2 needs a NAT router in order to do the same thing for PC3.
With simple routing, PC2 can send an information request to the
Internet on behalf of PC3. But when a reply returns, PC2 doesn't know
that PC3 originated the request, and PC2 can't send the reply to PC3.

A NAT router like ICS keeps a database of each Internet information
request that it sends out, including the private IP address of the
computer that originated the request. When the reply arrives, a NAT
router matches the reply to the request, sends the reply to the
private IP address of the originating computer, and removes the
request from its database.
--
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
 
PC1, with ICS acting as a NAT router, can receive information for
itself and PC2, and it can route the correct information to PC2.

PC2 needs a NAT router in order to do the same thing for PC3.

It will still work with PC2 as a second nat device but I can't see why
it's *essential*. In other words, why can't PC1 do the address
translation for PC3?
With simple routing, PC2 can send an information request to the
Internet on behalf of PC3.

No. PC2 forwards an information request to PC1 and PC1 then sends it
off to the Internet.
But when a reply returns, PC2 doesn't know
that PC3 originated the request, and PC2 can't send the reply to PC3.

This would only happen if PC2 was also a nat device. If it isn't a nat
device, the packets from the laptop (PC3) would reach PC1 showing a
source address of 192.168.2.10

PC1 could then re-address return packets with this IP and forward them
off to PC2 as determined by a static route.

This is the logic as I see it, but having said that the only network I
ever deal with is my own small home network and I don't use ICS at
all. Is there something about ICS which makes it unable to translate
ip's ouside of it's own subnet or something like that?


Jim.
 
Jim, I don't think that will do what Geoff wants: give Internet access
to his laptop computer. That would require PC2 to act as a software
NAT router, like ICS does.

I recalled having a similar discussion a while back so I had a trawl
through the google archives to see if I could find it and having
re-read it there's an eerie similarity to this thread.

The only real difference with the archive thread is that instead of
PC1 running ICS there is a nat router and instead of winxp on the
multi-homed PC2 there is win98se (so the registry entries for routing
are different). Other than that the two theads cover the same
territory.

http://tinyurl.com/6fsvgu
http://preview.tinyurl.com/6fsvgu
http://groups.google.com/group/micr...8b75dd8bc8/3032824c9cc536b3?#3032824c9cc536b3


Jim.
 
Back
Top