Re: DHCP clients; where does the preffered routes come from?
- From: "vidro" <vidro@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 Nov 2005 03:10:05 -0800
I may not have articulated my concern correctly.
I understand that my DHCP clients are going to get a default gateway in
their same subnet. GW 192.168.1.10
The gateway to get to the 192.168.1.x subnet from 192.168.2x subnet is
192.168.2.20 but I have 2 other interfaces 192.168.2.5 and 192.168.2.10 that
are actually my default gateways. I have gateways, plural because I am
testing performance and bottle necks, both gateways go to the same place just
different interfaces.
None of the computers in the 192.168.2.x subnet will point to 192.168.2.20
as a default gateway.
They will either point to 192.168.2.5 or 192.168.2.10 for GW
Again, to get to the 192.168.1.x subnet you have to go through 192.168.2.20.
Now this being the case why are those computers pointing to 192.168.2.5 able
to be access by the DHCP clients on 192.168.1.x subnet and those computer
that are configured with 192.168.2.10 GW can not be accessed by the DHCP
clients except with a manually added ”route add”?
I know that these computers are picking up routing tables, I guess that
question is more of where?
Both these interface that are used as default gateways have the same values
in their routing tables.
"Bill Grant" wrote:
> Your DHCP clients in the 192.168.1 subnet will be getting a default
> gateway from DHCP. That default gateway must be a 192.168.1.x address. The
> default gateway must be "reachable" - ie it must be on the same segment and
> in the same IP subnet as the host machine.
>
> The problem you are seeing will be caused by the default gateway
> settings on the machines in the 192.168.2 subnet. The traffic from a
> machine in the 192.168.1 subnet will go to the router which is defined as
> the default gateway for the subnet. This router will deliver the packet to
> the target machine in the 192.168.2 subnet.
>
> The problem is then how does that machine send a reply back to the
> 192.168.1 subnet? As you say, if you give them a default gateway of
> 192.168.2.5 it will work. It will also work if you add a route to the target
> machine to send traffic for 192.168.1 to that address.
>
> I presume you want to leave the machines in 192.168.2 pointing to
> 192.168.2.10 as their default gateway but still be able to "see" the
> machines in 192.168.1 ? The simplest way to achieve this is to add a static
> route to the router at 192.168.2.10 . All traffic goes to that router by
> default. Add a static route to it to "bounce" the local traffic to the
> router at 192.168.2.5 . eg
>
> 192.168.1.0 255.255.255.0 192.168.2.5
>
>
> vidro wrote:
> > Where do my DHCP clients pick up the gate way to point to the
> > 192.168.2.5?
> >
> > Is the default gateway that is configure in the IP address of the DNS
> > server passed on to the DHCP clients?
> >
> > I have 3 router on a network some clients have configured different IP
> > address for their Default gateway.
> >
> > Scenario:
> > Subnet 1: 192.168.1.x has DHCP server and clients
> > subnet 2: 192.168.2.x has DNS server
> > Two routers on subnet two 192.168.2.5 and 192.168.2.10.
> > The DHCP clients on subnet 1 can attach to shared resource of those
> > clients on subnet 2 that have been configured with a default gateway
> > of 192.168.2.5 but the DHCP clients can not access client on subnet 2
> > with default gateway of 192.168.2.10.
> > If the clients with Gateways of 192.168.2.10 are reconfigured with a
> > GW of 192.168.2.5 the DHCP clients can access the resources.
> > If the clients with a GW of 192.168.2.10 have a "Route add" pointing
> > to the gate way ( not shown in this scenario) to get to the
> > 192.168.1.x network. Than the DHCP clients on 192.168.1.x can access
> > the resources.
> >
> > My question than is it looks like my DHCP clients are picking up a
> > preferred gateway of 192.168.2.5 where is this value coming from, if
> > my DHCP clients are on a subnet 192.168.1.X?
>
>
>
.
- Follow-Ups:
- Re: DHCP clients; where does the preffered routes come from?
- From: Bill Grant
- Re: DHCP clients; where does the preffered routes come from?
- References:
- Re: DHCP clients; where does the preffered routes come from?
- From: Bill Grant
- Re: DHCP clients; where does the preffered routes come from?
- Prev by Date: Re: Split DNS
- Next by Date: Re: Routed-Subnet problem
- Previous by thread: Re: DHCP clients; where does the preffered routes come from?
- Next by thread: Re: DHCP clients; where does the preffered routes come from?
- Index(es):
Relevant Pages
|
|