Windows XP Community - XPHeads



Configuring WinXP as Gateway router

microsoft.public.windowsxp.network_web


Reply
  #1 (permalink)  
Old 08-21-2008, 06:24 AM
david2tm
 
Posts: n/a
Configuring WinXP as Gateway router
Hello...
I've WinXP Pro SP3 PC
It have 2 LAN cards and one "internal pci" aDSL modem (a WAN
connection)

I want to share that connection with these 2 LAN "outputs", and, if I
can, be able set which of these outputs gets more traffic priority...

How can I do that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-21-2008, 07:19 AM
Steve Winograd
 
Posts: n/a
Re: Configuring WinXP as Gateway router
On Wed, 20 Aug 2008 23:24:03 -0700 (PDT), david2tm
<david2tm@gmail.com> wrote:

>Hello...
>I've WinXP Pro SP3 PC
>It have 2 LAN cards and one "internal pci" aDSL modem (a WAN
>connection)
>
>I want to share that connection with these 2 LAN "outputs", and, if I
>can, be able set which of these outputs gets more traffic priority...
>
>How can I do that?


Create a network bridge between the network connections for the two
LAN cards. Enable ICS on the aDSL modem connection. If it asks what
to use for the home network connection, tell it to use the network
bridge. I've written a web site with details:

Windows XP Internet Connection Sharing
http://www.practicallynetworked.com/sharing/xp_ics

I don't know of a way to set traffic priority.
--
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-15-2008, 07:43 PM
Psycho-billy
 
Posts: n/a
Re: Configuring WinXP as Gateway router
Steve,

I've run into a similar problem (quoting your article):

WARNING #1: When you enable ICS, the network adapter connected to the local
area network is assigned a static IP address of 192.168.0.1. The client
computers are assigned other IP addresses in the 192.168.0.x range. These
addresses may not be compatible with an existing network

What seems to be happening is that enabling ICS wants to assign the
192.168.0.1 address to the wireless card connected to the DSL gateway, which
already has that address.

Do you know of any way to make this work?

I have networked a W2K Pro machine with my XP machine (the host) using a
crossover Ethernet cable (this actually seems to work better without the
crossover cable???), but have so far failed with static addresses on both
machines, bridging, etc.

Also thinking about trying to network with a router, but it would have to
have RJ45 ports and a way to connect to the DSL gateway wirelessly.

Let me know what you think.

Regards,
Larry Marquardt






--
PB


"Steve Winograd" wrote:

> On Wed, 20 Aug 2008 23:24:03 -0700 (PDT), david2tm
> <david2tm@gmail.com> wrote:
>
> >Hello...
> >I've WinXP Pro SP3 PC
> >It have 2 LAN cards and one "internal pci" aDSL modem (a WAN
> >connection)
> >
> >I want to share that connection with these 2 LAN "outputs", and, if I
> >can, be able set which of these outputs gets more traffic priority...
> >
> >How can I do that?

>
> Create a network bridge between the network connections for the two
> LAN cards. Enable ICS on the aDSL modem connection. If it asks what
> to use for the home network connection, tell it to use the network
> bridge. I've written a web site with details:
>
> Windows XP Internet Connection Sharing
> http://www.practicallynetworked.com/sharing/xp_ics
>
> I don't know of a way to set traffic priority.
> --
> 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
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-15-2008, 09:14 PM
James Egan
 
Posts: n/a
Re: Configuring WinXP as Gateway router

On Sat, 15 Nov 2008 11:43:01 -0800, Psycho-billy
<Psychobilly@discussions.microsoft.com> wrote:

>
>What seems to be happening is that enabling ICS wants to assign the
>192.168.0.1 address to the wireless card connected to the DSL gateway, which
>already has that address.
>
>Do you know of any way to make this work?
>
>I have networked a W2K Pro machine with my XP machine (the host) using a
>crossover Ethernet cable (this actually seems to work better without the
>crossover cable???), but have so far failed with static addresses on both
>machines, bridging, etc.
>



Is the "dsl gateway" a nat device? If so, uninstall ics because it
isn't required. If for some reason bridging doesn't work after this,
put the wired and wireless adaptors on different subnets and enable
routing between the wired and wireless interfaces as follows

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

The crossover cable isn't always required if the network adaptors are
capable of auto sensing transmission and reception.



Jim.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-16-2008, 01:14 AM
Psycho-billy
 
Posts: n/a
Re: Configuring WinXP as Gateway router
James,

Thanks, I did read that my network card could sense a crossover cable, but
apparently the one on the W2K machine can't.

At any rate, it looks like I don't have ICS installed to begin with, not
sure why, but eventually, I'll try this with all that installed.

Also have been reading about TCP/IP binding to the two adapters, and my
system information is telling me that it too is not set up. The odd thing is
that the documentation is supposed to apply to W'98 & ME, yet it's in my Help
and Support App.

Not sure I should be in the Expert forum, because I need to read up on
subnets and masking too.

If I work this out, I'll post my solution.

Regards,
Larry Marquardt
--
PB


"James Egan" wrote:

>
> On Sat, 15 Nov 2008 11:43:01 -0800, Psycho-billy
> <Psychobilly@discussions.microsoft.com> wrote:
>
> >
> >What seems to be happening is that enabling ICS wants to assign the
> >192.168.0.1 address to the wireless card connected to the DSL gateway, which
> >already has that address.
> >
> >Do you know of any way to make this work?
> >
> >I have networked a W2K Pro machine with my XP machine (the host) using a
> >crossover Ethernet cable (this actually seems to work better without the
> >crossover cable???), but have so far failed with static addresses on both
> >machines, bridging, etc.
> >

>
>
> Is the "dsl gateway" a nat device? If so, uninstall ics because it
> isn't required. If for some reason bridging doesn't work after this,
> put the wired and wireless adaptors on different subnets and enable
> routing between the wired and wireless interfaces as follows
>
> System Key:
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters]
> Value Name: IPEnableRouter
> Data Type: REG_DWORD (DWORD Value)
> Value Data: (0 = disabled, 1 = enabled)
>
> The crossover cable isn't always required if the network adaptors are
> capable of auto sensing transmission and reception.
>
>
>
> Jim.
>
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-17-2008, 01:46 PM
Psycho-billy
 
Posts: n/a
Re: Configuring WinXP as Gateway router
James,

The DSL gateway is a NAT machine.

A couple of things on the XP machine:

I have the "Allow other network users to connect through this Internet
connection" option in the Advanced tab on my network connections (XP Pro),
but don't see the service???

"Add Remove Windows Components" does not show "Internet Tools" or any
reference to ICS???

The good news is that your key worked fine and I can connect via the LAN to
the W2K machine (no crossover cable this time), and can connect to the
Internet with the XP machine.

I lose connectivity when bridging the LAN and WLAN cards on the XP machine.

I am still not able to reach the internet from the W2K machine through the
XP Pro machine.

I know W2K isn't supported so if the problem is there, I will have to work
it out somehow.

Regards,
Larry Marquardt
--
PB


"James Egan" wrote:

>
> On Sat, 15 Nov 2008 11:43:01 -0800, Psycho-billy
> <Psychobilly@discussions.microsoft.com> wrote:
>
> >
> >What seems to be happening is that enabling ICS wants to assign the
> >192.168.0.1 address to the wireless card connected to the DSL gateway, which
> >already has that address.
> >
> >Do you know of any way to make this work?
> >
> >I have networked a W2K Pro machine with my XP machine (the host) using a
> >crossover Ethernet cable (this actually seems to work better without the
> >crossover cable???), but have so far failed with static addresses on both
> >machines, bridging, etc.
> >

>
>
> Is the "dsl gateway" a nat device? If so, uninstall ics because it
> isn't required. If for some reason bridging doesn't work after this,
> put the wired and wireless adaptors on different subnets and enable
> routing between the wired and wireless interfaces as follows
>
> System Key:
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters]
> Value Name: IPEnableRouter
> Data Type: REG_DWORD (DWORD Value)
> Value Data: (0 = disabled, 1 = enabled)
>
> The crossover cable isn't always required if the network adaptors are
> capable of auto sensing transmission and reception.
>
>
>
> Jim.
>
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-17-2008, 04:24 PM
James Egan
 
Posts: n/a
Re: Configuring WinXP as Gateway router

On Mon, 17 Nov 2008 05:46:01 -0800, Psycho-billy
<Psychobilly@discussions.microsoft.com> wrote:

>I have the "Allow other network users to connect through this Internet
>connection" option in the Advanced tab on my network connections (XP Pro),
>but don't see the service???


This is ICS which needs to be UNCHECKED. You also need to set your
computer so that it connects to the Internet through a residential
gateway (not a direct connection). The network setup wizard might help
you through this bit. Also look here for general details.
http://www.practicallynetworked.com/sharing/xp_ics/

Once you have this successfully uninstalled and the computer is set to
receive its Internet connection via the LAN check that the machine is
set to receive an ip address automatically and also you might have to
re-make the registry change that I mentioned.

If bridging (the easier solution) doesn't work AFTER you have disabled
ICS successfully, post back and I'll give you some instructions for
connecting using routing. It's a little harder to configure because it
entails adding a static route to your dsl gateway.

Bridging is known to be a bit temperamental on occasions so don't
spend too much time on it if it doesn't work.



Jim.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-19-2008, 12:48 AM
Psycho-billy
 
Posts: n/a
Re: Configuring WinXP as Gateway router
James,

I've done as you suggest, but am unable to connect through a bridged
connection with full LAN connectivity avialable and a good wireless internet
connection.

I seem to be going backwards because I can now only ping from the XP machine
to the W2K machine and not vice verse.

Suspect my jockeying caused the problem, and will continue to troubleshoot.
(I was able to ping both ways at one point and am now waiting on a result
from resetting the duplex mode from auto at both ends to 10/100 on the W2K
and auto on the XP LAN card)

I keep running into the Routing and remote access service which is dependent
on NetBIOSGroup. I'm not sure it's possible to enable NetBIOSGroup and thus
Routing and Remote Access on a W2K workstation (as distinct from a server).

If you will instruct me on the static routing setup, I can hash this out
eventually.

Regards,
Larry
--
PB


"James Egan" wrote:

>
> On Mon, 17 Nov 2008 05:46:01 -0800, Psycho-billy
> <Psychobilly@discussions.microsoft.com> wrote:
>
> >I have the "Allow other network users to connect through this Internet
> >connection" option in the Advanced tab on my network connections (XP Pro),
> >but don't see the service???

>
> This is ICS which needs to be UNCHECKED. You also need to set your
> computer so that it connects to the Internet through a residential
> gateway (not a direct connection). The network setup wizard might help
> you through this bit. Also look here for general details.
> http://www.practicallynetworked.com/sharing/xp_ics/
>
> Once you have this successfully uninstalled and the computer is set to
> receive its Internet connection via the LAN check that the machine is
> set to receive an ip address automatically and also you might have to
> re-make the registry change that I mentioned.
>
> If bridging (the easier solution) doesn't work AFTER you have disabled
> ICS successfully, post back and I'll give you some instructions for
> connecting using routing. It's a little harder to configure because it
> entails adding a static route to your dsl gateway.
>
> Bridging is known to be a bit temperamental on occasions so don't
> spend too much time on it if it doesn't work.
>
>
>
> Jim.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-19-2008, 03:58 AM
James Egan
 
Posts: n/a
Re: Configuring WinXP as Gateway router

On Tue, 18 Nov 2008 16:48:01 -0800, Psycho-billy
<Psychobilly@discussions.microsoft.com> wrote:

>
>I've done as you suggest, but am unable to connect through a bridged
>connection with full LAN connectivity avialable and a good wireless internet
>connection.
>
>I seem to be going backwards because I can now only ping from the XP machine
>to the W2K machine and not vice verse.



In all probability a firewall issue.


>
>Suspect my jockeying caused the problem, and will continue to troubleshoot.
>(I was able to ping both ways at one point and am now waiting on a result
>from resetting the duplex mode from auto at both ends to 10/100 on the W2K
>and auto on the XP LAN card)
>
>I keep running into the Routing and remote access service which is dependent
>on NetBIOSGroup. I'm not sure it's possible to enable NetBIOSGroup and thus
>Routing and Remote Access on a W2K workstation (as distinct from a server).
>


I'm not sure what you are trying to do here. From the point of view of
this networking exercise, the w2k machine is a client whose Internet
access depends on the winxp and no routing and remote access is
required from w2k. Perhaps you could clarify.

>If you will instruct me on the static routing setup, I can hash this out
>eventually.


From your first post the dsl gateway nat device is already at
192.168.0.1 and this needs to be on the same subnet as the winxp
wireless adaptor. The xp wired adaptor needs to be on a different
subnet along with with the w2k wired adaptor. So we will use the
existing 192.168.0.0/24 for the first subnet and use (say)
192.168.5.0/24 for this second subnet.

In addition, the xp machine needs to have a fixed ip address because
this will now be the gateway for the w2k to access the Internet. So
configure the computer tcp/ip properties as follows

xp wireless

static ip address 192.168.0.2 mask 255.255.255.0
default gateway 192.168.0.1
dns server 192.168.0.1 or your isp's nameserver address


xp wired

static ip address 192.168.5.1 mask 255.255.255.0
default gateway leave blank


w2k

static ip address 192.168.5.2 mask 255.255.255.0
default gateway 192.168.5.1
dns server 192.168.0.1 or your isp's nameserver address


dsl gateway

set a static route to send traffic for subnet 192.168.5.0 to go via
192.168.0.2


As stated previously you also need to enable routing between the wired
and wireless interfaces on the xp as follows

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



Jim.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-20-2008, 03:45 PM
Psycho-billy
 
Posts: n/a
Re: Configuring WinXP as Gateway router
James, et al,

It turned out that Winsock was corrupted. Now back to pinging between the
two PC's.

Unable to ping the wireless adapter on the XP machine from the W2K machine
on the local LAN.

Unable to bridge LAN and WLAN on XP machine. Causes loss of internet
connection. Sharing doesn't work because of the DSL gateway (which is a NAT
capable machine - no info on config.)

Wondering whether this can be done more easily through Remote Access? Goal
is to use the XP machine to connect to and download service packs and IE 6
for the W2K machine).

You had mentioned something about static IP addresses?

Regards,
Larry Marquardt

--
PB


"James Egan" wrote:

>
> On Tue, 18 Nov 2008 16:48:01 -0800, Psycho-billy
> <Psychobilly@discussions.microsoft.com> wrote:
>
> >
> >I've done as you suggest, but am unable to connect through a bridged
> >connection with full LAN connectivity avialable and a good wireless internet
> >connection.
> >
> >I seem to be going backwards because I can now only ping from the XP machine
> >to the W2K machine and not vice verse.

>
>
> In all probability a firewall issue.
>
>
> >
> >Suspect my jockeying caused the problem, and will continue to troubleshoot.
> >(I was able to ping both ways at one point and am now waiting on a result
> >from resetting the duplex mode from auto at both ends to 10/100 on the W2K
> >and auto on the XP LAN card)
> >
> >I keep running into the Routing and remote access service which is dependent
> >on NetBIOSGroup. I'm not sure it's possible to enable NetBIOSGroup and thus
> >Routing and Remote Access on a W2K workstation (as distinct from a server).
> >

>
> I'm not sure what you are trying to do here. From the point of view of
> this networking exercise, the w2k machine is a client whose Internet
> access depends on the winxp and no routing and remote access is
> required from w2k. Perhaps you could clarify.
>
> >If you will instruct me on the static routing setup, I can hash this out
> >eventually.

>
> From your first post the dsl gateway nat device is already at
> 192.168.0.1 and this needs to be on the same subnet as the winxp
> wireless adaptor. The xp wired adaptor needs to be on a different
> subnet along with with the w2k wired adaptor. So we will use the
> existing 192.168.0.0/24 for the first subnet and use (say)
> 192.168.5.0/24 for this second subnet.
>
> In addition, the xp machine needs to have a fixed ip address because
> this will now be the gateway for the w2k to access the Internet. So
> configure the computer tcp/ip properties as follows
>
> xp wireless
>
> static ip address 192.168.0.2 mask 255.255.255.0
> default gateway 192.168.0.1
> dns server 192.168.0.1 or your isp's nameserver address
>
>
> xp wired
>
> static ip address 192.168.5.1 mask 255.255.255.0
> default gateway leave blank
>
>
> w2k
>
> static ip address 192.168.5.2 mask 255.255.255.0
> default gateway 192.168.5.1
> dns server 192.168.0.1 or your isp's nameserver address
>
>
> dsl gateway
>
> set a static route to send traffic for subnet 192.168.5.0 to go via
> 192.168.0.2
>
>
> As stated previously you also need to enable routing between the wired
> and wireless interfaces on the xp as follows
>
> System Key:
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters]
> Value Name: IPEnableRouter
> Data Type: REG_DWORD (DWORD Value)
> Value Data: (0 = disabled, 1 = enabled)
>
>
>
> Jim.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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



All times are GMT. The time now is 02:28 PM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74