Networking Forums

Networking Forums > Computer Networking > Windows Networking > DHCP and routing across subnets

Reply
Thread Tools Display Modes

DHCP and routing across subnets

 
 
Eric Nutt
Guest
Posts: n/a

 
      06-30-2005, 03:07 AM
I'm having a devil of a time setting up DHCP to support the following
configuration using 2 DSL routers and a Windows 2000 Server running RRAS.

Internet <-> 68.x.x.x [DSL Router] 192.168.1.1 <Subnet 1> 192.168.1.16
[DHCP/RRAS Server] 192.168.2.16 <Subnet 2> 192.168.2.1 [DSL Router] 65.x.x.x
<-> Internet

The DHCP server is configured with 2 scopes, 192.168.1.0 and 192.168.2.0
Scope ...1.0 (Subnet 1) has 003 Router option set to 192.168.1.1, 192.168.1.16
Scope ...2.0 (Subnet 2) has 003 Router option set to 192.168.2.1, 192.168.2.16

The normal options for DNS and WINS are set on both Scopes.

RRAS is set up for LAN routing only with default settings.

What works:
- The clients on Subnet 1 and Subnet 2 both get the appropriate DHCP
addresses and settings applicable to their scope.
- The clients on both subnets are able to route to the internet over their
respective internet connections (verified using tracert)
- The clients on both subnets are able to access the services and resources
on the DHCP/RRAS server

What does not work:
- The clients on Subnet 1 cannot send/receive traffic to/from Subnet 2 and
vice versa.
- Clients on Subnet 1 cannot ping ...2.16 and clients on Subnet 2 cannot
ping ...1.16

Resolution steps so far:
- Checked routing table on RRAS server, routes exist for both subnets and
their interfaces.
- Successfully pinged clients on both subnets from the RRAS server.
- Checked client routing tables ... Subnet 1 clients have no pre-defined
route for Subnet 2 and vice versa.
- Added 033 Static Route option for Subnet 2: 192.168.1.16, 192.168.2.16,
which allowed me to ping the ...1.16 interface from clients on Subnet 2.
- Modified 033 Static Route option for Subnet 2: 192.168.1.16, 192.168.2.16,
192.168.1.0, 192.168.1.16, which allows me to continue pinging ...1.16, but
does not allow me to ping anything else on Subnet 1 (e.g. ...1.1).
- Checked the routing table for the clients and the subnet mask for the
....1.0 entry is set to 255.255.255.255.

I can't seem to find a way to alter the subnet mask in the routing table as
part of the DHCP options.

Any suggestions on how to resolve this issue?


 
Reply With Quote
 
 
 
 
Bill Grant
Guest
Posts: n/a

 
      06-30-2005, 06:10 AM
You cannot fix this problem by changing things in DHCP or on the RRAS
server. The default gateway settings should point to the DSL routers only
(ie the router option in DHCP should be to the DSL router). This gives both
subnets access to the Internet. The gateway setting to the RRAS server does
nothing useful, so remove it.

All traffic (including that for the other local subnet) goes to the
default gateway (the DSL router) by default. What you need to do is add a
static route to each DSL router to redirect the local traffic to the RRAS
router. For the router at 192.168.1.1 , add a static route

192.168.2.0 255.255.255.0 192.168.1.16

And a corresponding route on the other router at 192.168.2.1

192.168.1.0 255.255.255.0 192.168.2.16

If you cannot add routes to the routers, you will need to add the extra
route to each client to get traffic for the "other" local subnet to the
internal router.

Eric Nutt wrote:
> I'm having a devil of a time setting up DHCP to support the following
> configuration using 2 DSL routers and a Windows 2000 Server running
> RRAS.
>
> Internet <-> 68.x.x.x [DSL Router] 192.168.1.1 <Subnet 1> 192.168.1.16
> [DHCP/RRAS Server] 192.168.2.16 <Subnet 2> 192.168.2.1 [DSL Router]
> 65.x.x.x <-> Internet
>
> The DHCP server is configured with 2 scopes, 192.168.1.0 and
> 192.168.2.0 Scope ...1.0 (Subnet 1) has 003 Router option set to
> 192.168.1.1, 192.168.1.16 Scope ...2.0 (Subnet 2) has 003 Router
> option set to 192.168.2.1, 192.168.2.16
>
> The normal options for DNS and WINS are set on both Scopes.
>
> RRAS is set up for LAN routing only with default settings.
>
> What works:
> - The clients on Subnet 1 and Subnet 2 both get the appropriate DHCP
> addresses and settings applicable to their scope.
> - The clients on both subnets are able to route to the internet over
> their respective internet connections (verified using tracert)
> - The clients on both subnets are able to access the services and
> resources on the DHCP/RRAS server
>
> What does not work:
> - The clients on Subnet 1 cannot send/receive traffic to/from Subnet
> 2 and vice versa.
> - Clients on Subnet 1 cannot ping ...2.16 and clients on Subnet 2
> cannot
> ping ...1.16
>
> Resolution steps so far:
> - Checked routing table on RRAS server, routes exist for both subnets
> and their interfaces.
> - Successfully pinged clients on both subnets from the RRAS server.
> - Checked client routing tables ... Subnet 1 clients have no
> pre-defined route for Subnet 2 and vice versa.
> - Added 033 Static Route option for Subnet 2: 192.168.1.16,
> 192.168.2.16, which allowed me to ping the ...1.16 interface from
> clients on Subnet 2. - Modified 033 Static Route option for Subnet 2:
> 192.168.1.16, 192.168.2.16, 192.168.1.0, 192.168.1.16, which allows
> me to continue pinging ...1.16, but does not allow me to ping
> anything else on Subnet 1 (e.g. ...1.1). - Checked the routing table
> for the clients and the subnet mask for the ...1.0 entry is set to
> 255.255.255.255.
>
> I can't seem to find a way to alter the subnet mask in the routing
> table as part of the DHCP options.
>
> Any suggestions on how to resolve this issue?



 
Reply With Quote
 
Eric Nutt
Guest
Posts: n/a

 
      07-04-2005, 06:59 PM
Bill,

I appreciate your response. I tried your solution and it worked as
advertised, many thanks for helping me resolve a frustrating problem.

Sincerely,

E.

"Bill Grant" wrote:

> You cannot fix this problem by changing things in DHCP or on the RRAS
> server. The default gateway settings should point to the DSL routers only
> (ie the router option in DHCP should be to the DSL router). This gives both
> subnets access to the Internet. The gateway setting to the RRAS server does
> nothing useful, so remove it.
>
> All traffic (including that for the other local subnet) goes to the
> default gateway (the DSL router) by default. What you need to do is add a
> static route to each DSL router to redirect the local traffic to the RRAS
> router. For the router at 192.168.1.1 , add a static route
>
> 192.168.2.0 255.255.255.0 192.168.1.16
>
> And a corresponding route on the other router at 192.168.2.1
>
> 192.168.1.0 255.255.255.0 192.168.2.16
>
> If you cannot add routes to the routers, you will need to add the extra
> route to each client to get traffic for the "other" local subnet to the
> internal router.
>
> Eric Nutt wrote:
> > I'm having a devil of a time setting up DHCP to support the following
> > configuration using 2 DSL routers and a Windows 2000 Server running
> > RRAS.
> >
> > Internet <-> 68.x.x.x [DSL Router] 192.168.1.1 <Subnet 1> 192.168.1.16
> > [DHCP/RRAS Server] 192.168.2.16 <Subnet 2> 192.168.2.1 [DSL Router]
> > 65.x.x.x <-> Internet
> >
> > The DHCP server is configured with 2 scopes, 192.168.1.0 and
> > 192.168.2.0 Scope ...1.0 (Subnet 1) has 003 Router option set to
> > 192.168.1.1, 192.168.1.16 Scope ...2.0 (Subnet 2) has 003 Router
> > option set to 192.168.2.1, 192.168.2.16
> >
> > The normal options for DNS and WINS are set on both Scopes.
> >
> > RRAS is set up for LAN routing only with default settings.
> >
> > What works:
> > - The clients on Subnet 1 and Subnet 2 both get the appropriate DHCP
> > addresses and settings applicable to their scope.
> > - The clients on both subnets are able to route to the internet over
> > their respective internet connections (verified using tracert)
> > - The clients on both subnets are able to access the services and
> > resources on the DHCP/RRAS server
> >
> > What does not work:
> > - The clients on Subnet 1 cannot send/receive traffic to/from Subnet
> > 2 and vice versa.
> > - Clients on Subnet 1 cannot ping ...2.16 and clients on Subnet 2
> > cannot
> > ping ...1.16
> >
> > Resolution steps so far:
> > - Checked routing table on RRAS server, routes exist for both subnets
> > and their interfaces.
> > - Successfully pinged clients on both subnets from the RRAS server.
> > - Checked client routing tables ... Subnet 1 clients have no
> > pre-defined route for Subnet 2 and vice versa.
> > - Added 033 Static Route option for Subnet 2: 192.168.1.16,
> > 192.168.2.16, which allowed me to ping the ...1.16 interface from
> > clients on Subnet 2. - Modified 033 Static Route option for Subnet 2:
> > 192.168.1.16, 192.168.2.16, 192.168.1.0, 192.168.1.16, which allows
> > me to continue pinging ...1.16, but does not allow me to ping
> > anything else on Subnet 1 (e.g. ...1.1). - Checked the routing table
> > for the clients and the subnet mask for the ...1.0 entry is set to
> > 255.255.255.255.
> >
> > I can't seem to find a way to alter the subnet mask in the routing
> > table as part of the DHCP options.
> >
> > Any suggestions on how to resolve this issue?

>
>
>

 
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
Routing between different subnets and VLANs Ed Posch Linux Networking 1 05-10-2006 07:48 AM
Routing problem with 2 subnets Todd Spear Windows Networking 1 05-04-2006 03:33 PM
routing two subnets billbo Linux Networking 2 02-08-2006 12:39 AM
Routing with 2 Subnets on one NIC Rusty Phillips Linux Networking 4 12-15-2003 08:36 PM
routing between subnets Indrek M. Linux Networking 2 07-31-2003 06:42 PM



1 2 3 4 5 6 7 8 9 10 11