Re: Tricky routing with XP Pro?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In article <1158872733.958606.65920@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"LifeBoy" <rolandgiesler@xxxxxxxxx> wrote:
Steve Winograd [MVP] wrote:
If I understand your question:

1. The developer already has access to the rest of the network on DEV
MACHINE via NIC2.
Correct

2. He now needs to access the rest of the network from the notebook
computer. You want to know how to do that by using DEV MACHINE as a
router for the notebook computer.
Correct again.

Here are two possible solutions that don't require creating routes or
making any changes on the other LAN machines:

=============================
Solution 1
=============================
He does use a wifi link to access the corporate network, however, I
would like to learn how to do this by using XP as a router. This is a
scenario that I have often encountered and I would like to get a
solution for more than just this specific case.

1. Disable IP routing on DEV MACHINE.

2. Add a second NIC (USB or CardBus) to the notebook computer and
connect it to the corporate network. It will get a 192.168.100.x
address for access to the rest of the network.
<snip>

=============================
Solution 2
=============================
1. Disable IP routing on DEV MACHINE.

2. Enable Internet Connection Sharing on DEV MACHINE's NIC2
connection. If it asks what to use for the home network connection,
tell it to use the high-speed link.

This is a problem, since the corporate network policy enforced by the
domain does not allow ICS to be turned on on the DEV machine or
anywhere else for that matter. Since DHCP is in use on the network, it
would create chaos with clients not getting addresses from the correct
DHCP server.

So, although this may be a workaround in certain situations, it doesn't
solve the problem on how to set up XP as a full network to network
router.

(BTW. I have seen numerous articles and posting that refer to the
routing of subnets, when in fact the do not use subnets (ie they use
netmasks like 255.255.255.0 which is not a subnet, but a full network)

I understand the reason for the no-ICS policy and the need to prevent
unauthorized DHCP servers on the corporate network. However, enabling
ICS on the DEV machine in the way that I suggested would enable a DHCP
server only on the developer's private two-computer high-speed
network. It wouldn't enable a DHCP server on the corporate network,
and it wouldn't create chaos.

Since your network is set up as a domain, I recommend working with the
network administrators to see if, and how, you goal can be
accomplished without disrupting the network. In general terms, the
DEV's desktop computer must route traffic between its two network
interfaces, and the other LAN computers must have a static route
defined to send traffic to the notebook's high-speed link via the
desktop computer. If the desktop computer's IP addresses are
192.168.110.1 (high-speed) and 192.168.100.60 (LAN), those routes
would specify that traffic for the 192.168.110.0/24 subnet goes
through the interface 192.168.100.60. A command line for that is:

route add 192.168.110.0 mask 255.255.255.0 192.168.100.60

I'm sorry, but I don't know what you mean when you say that
255.255.255.0 is a full network, not a subnet. 255.255.255.0 is a
subnet mask. The logical AND of a network interface's subnet mask and
its IP address defines a subnet. For an interface with an IP address
of 192.168.100.1 and a subnet mask of 255.255.255.0 (sometimes written
as 192.168.100.0/24), the subnet consists of IP addresses
192.168.100.1 through 192.168.100.254. That interface can reach
computers with those IP addresses directly. Any other IP address is
in a different subnet, and access to such an address has to be routed
through the default gateway to a router with connections to multiple
subnets.
--
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
.



Relevant Pages

  • Re: A duplicate name has been detected on the TCP network...
    ... Our esteemed network Administrator discovered when joining an XP box to the ... > The DHCP Server is on a different subnet and is an NT DHCP server. ... > are happing in the subnet, and for reasons I am unclear of, workstations ...
    (microsoft.public.win2000.setup_deployment)
  • Re: Static Vs dynamic IP address in XP SP2
    ... The subnet mask got was ... If there's a DHCP server on the network, ... Please post any reply as a follow-up message in the news group ...
    (microsoft.public.windowsxp.network_web)
  • Re: ICS questions and confusion
    ... >>>It doesn't HAVE to be on a different subnet, ... but that requires that the ICS host become a bridge. ... >> ICS is a software based NAT router, and routers work best when the ... >> network already had the required address 192.168.0.1" is confusing. ...
    (microsoft.public.windowsxp.network_web)
  • Re: [SLE] Networking DHCP questions and problems
    ... > I have a Speedstream 5861 DSL modem acting as the dhcp server. ... > All computers get on network, ... I have a printer on the network that is on a different subnet ...
    (SuSE)
  • Re: How to set my MAC address
    ... because the VLAN isolation fails between the wifi side and the wired ... ports that I started experimenting with the 2nd subnet feature. ... there is no option to isolate the wireless from the VLAN. ... give out the password of my own wifi network, ...
    (uk.comp.sys.mac)