Networking Forums

Networking Forums > Computer Networking > Windows Networking > PC is receiving IP from the wrong DHCP

Reply
Thread Tools Display Modes

PC is receiving IP from the wrong DHCP

 
 
givemejunke@gmail.com
Guest
Posts: n/a

 
      08-17-2006, 04:56 PM
Hi Everyone,

I have problems with my network setup, I tried googling my problem but
didn't find an answer

Background: Bascially, I have a network setup at home with a Linksys
router and a network address of 192.168.1.x. PC1 is connected through
"wired" and PC2 is wireless. My basement tenant also have a network
setup with the network address 192.168.0.x. They are sharing our
internet through our router ( extrnal network if you will ).

The Problem: When I release the ip address (ipconfig /release) on my
PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip addresses
from my tenant's network (192.168.0.101) when it should be getting an
IP address from my network (192.168.1.101)

The only way I can get this to work is if I setup a Static IP on PC1.
But I am looking for another way around this problem. I was wondering
if there is a way to tell PC1 to only request IP from my network
(192.168.1.x) and not my basement's network (192.168.0.x)

I don't think that PC2 has this problem because its connected through
wireless.Thus it automatically assumes that my router's DHCP is the
right network to connect to.

Any help will be greatly appreciated

 
Reply With Quote
 
 
 
 
Mike Lowery
Guest
Posts: n/a

 
      08-17-2006, 07:35 PM
You need to either run only one DHCP server or create two virtual networks
(VLANs). If you have two DHCP servers on the same network (which you do) you're
going to have this problem. The reason your wireless doesn't experience it is
because it's associating only with your wireless router, not your tenant's.

If you have a Linksys, you can probably run DD-WRT
(http://www.dd-wrt.com/wiki/index.php/Main_Page) which gives you a bunch more
options than the standard firmware.

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hi Everyone,
>
> I have problems with my network setup, I tried googling my problem but
> didn't find an answer
>
> Background: Bascially, I have a network setup at home with a Linksys
> router and a network address of 192.168.1.x. PC1 is connected through
> "wired" and PC2 is wireless. My basement tenant also have a network
> setup with the network address 192.168.0.x. They are sharing our
> internet through our router ( extrnal network if you will ).
>
> The Problem: When I release the ip address (ipconfig /release) on my
> PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip addresses
> from my tenant's network (192.168.0.101) when it should be getting an
> IP address from my network (192.168.1.101)
>
> The only way I can get this to work is if I setup a Static IP on PC1.
> But I am looking for another way around this problem. I was wondering
> if there is a way to tell PC1 to only request IP from my network
> (192.168.1.x) and not my basement's network (192.168.0.x)
>
> I don't think that PC2 has this problem because its connected through
> wireless.Thus it automatically assumes that my router's DHCP is the
> right network to connect to.
>
> Any help will be greatly appreciated
>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      08-17-2006, 07:59 PM
You are all on the same "wire" (physical segment), therefore you all have to
use the same IP Range,...therefore only one of you can run a DHCP.


--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com




<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hi Everyone,
>
> I have problems with my network setup, I tried googling my problem but
> didn't find an answer
>
> Background: Bascially, I have a network setup at home with a Linksys
> router and a network address of 192.168.1.x. PC1 is connected through
> "wired" and PC2 is wireless. My basement tenant also have a network
> setup with the network address 192.168.0.x. They are sharing our
> internet through our router ( extrnal network if you will ).
>
> The Problem: When I release the ip address (ipconfig /release) on my
> PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip addresses
> from my tenant's network (192.168.0.101) when it should be getting an
> IP address from my network (192.168.1.101)
>
> The only way I can get this to work is if I setup a Static IP on PC1.
> But I am looking for another way around this problem. I was wondering
> if there is a way to tell PC1 to only request IP from my network
> (192.168.1.x) and not my basement's network (192.168.0.x)
>
> I don't think that PC2 has this problem because its connected through
> wireless.Thus it automatically assumes that my router's DHCP is the
> right network to connect to.
>
> Any help will be greatly appreciated
>



 
Reply With Quote
 
amedjones
Guest
Posts: n/a

 
      08-17-2006, 09:40 PM
Thanks you all for the response

I do have linkysys router but iam alittle hesitant to install a
thirdparty firmware. Is there any other way. Maybe isolate my Tenant's
port from broadcasting DHCP packets?



Mike Lowery wrote:
> You need to either run only one DHCP server or create two virtual networks
> (VLANs). If you have two DHCP servers on the same network (which you do) you're
> going to have this problem. The reason your wireless doesn't experience it is
> because it's associating only with your wireless router, not your tenant's.
>
> If you have a Linksys, you can probably run DD-WRT
> (http://www.dd-wrt.com/wiki/index.php/Main_Page) which gives you a bunch more
> options than the standard firmware.
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ups.com...
> > Hi Everyone,
> >
> > I have problems with my network setup, I tried googling my problem but
> > didn't find an answer
> >
> > Background: Bascially, I have a network setup at home with a Linksys
> > router and a network address of 192.168.1.x. PC1 is connected through
> > "wired" and PC2 is wireless. My basement tenant also have a network
> > setup with the network address 192.168.0.x. They are sharing our
> > internet through our router ( extrnal network if you will ).
> >
> > The Problem: When I release the ip address (ipconfig /release) on my
> > PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip addresses
> > from my tenant's network (192.168.0.101) when it should be getting an
> > IP address from my network (192.168.1.101)
> >
> > The only way I can get this to work is if I setup a Static IP on PC1.
> > But I am looking for another way around this problem. I was wondering
> > if there is a way to tell PC1 to only request IP from my network
> > (192.168.1.x) and not my basement's network (192.168.0.x)
> >
> > I don't think that PC2 has this problem because its connected through
> > wireless.Thus it automatically assumes that my router's DHCP is the
> > right network to connect to.
> >
> > Any help will be greatly appreciated
> >


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      08-17-2006, 09:57 PM
"amedjones" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Thanks you all for the response
>
> I do have linkysys router but iam alittle hesitant to install a
> thirdparty firmware. Is there any other way. Maybe isolate my Tenant's
> port from broadcasting DHCP packets?


It doesn't work like that. DHCP Servers are "passive", they are sending
anything anywhere. It is the Client that Broadcasts the query and the
fastest DHCP Server respondes to it first. The Client usually receives the
response from both but will go with the first one.

The solution is simple. You can only have one DHCP Server on a single
segment giving out addresses. There are ways to run redundant DHCP Servers
but this isn't one of those situations. So,...someone has to turn theirs off
and every machine on the segment (includes both or you) has to use the same
IP# Range. Either you have to disable DHCP on the Linksys box or your
tennent has to stop running whatever DHCP Service he is running.

You can also eliminate any DHCP Serivces completely and statically assign
all the machine (both of you).

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


 
Reply With Quote
 
Frankster
Guest
Posts: n/a

 
      08-18-2006, 03:32 AM
Why do you care where your dynamic IP comes from and what it is?

-Frank

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hi Everyone,
>
> I have problems with my network setup, I tried googling my problem but
> didn't find an answer
>
> Background: Bascially, I have a network setup at home with a Linksys
> router and a network address of 192.168.1.x. PC1 is connected through
> "wired" and PC2 is wireless. My basement tenant also have a network
> setup with the network address 192.168.0.x. They are sharing our
> internet through our router ( extrnal network if you will ).
>
> The Problem: When I release the ip address (ipconfig /release) on my
> PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip addresses
> from my tenant's network (192.168.0.101) when it should be getting an
> IP address from my network (192.168.1.101)
>
> The only way I can get this to work is if I setup a Static IP on PC1.
> But I am looking for another way around this problem. I was wondering
> if there is a way to tell PC1 to only request IP from my network
> (192.168.1.x) and not my basement's network (192.168.0.x)
>
> I don't think that PC2 has this problem because its connected through
> wireless.Thus it automatically assumes that my router's DHCP is the
> right network to connect to.
>
> Any help will be greatly appreciated
>



 
Reply With Quote
 
md.rend@gmail.com
Guest
Posts: n/a

 
      08-18-2006, 04:11 AM
well when I get a dynamic IP from my Tenant's network (192.168.0.x). I
can't access the internet and I can't access the router configuration
which requires a password.

I would like to have one DHCP server. I'll just have to talk to my
Tenant and come up with a solution

Here's a thought: To me it seems that when PC1 is requesting a DHCP
request packet, it starts with my tenant's router because its its first
in Line "192.168.0.x" as opposed to my network which is 192.168.1.x".
So maybe if I do a "switch-a-roow", Things might work out the way its
supposed to? but I don't think that will work.

I'll take a look at my router setup and see if I can do a VLAN

- What if I put my tenant's port on a DMZ mode ? you think that will
work?

Again thank you all, apperciate you help

Frankster wrote:
> Why do you care where your dynamic IP comes from and what it is?
>
> -Frank
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ups.com...
> > Hi Everyone,
> >
> > I have problems with my network setup, I tried googling my problem but
> > didn't find an answer
> >
> > Background: Bascially, I have a network setup at home with a Linksys
> > router and a network address of 192.168.1.x. PC1 is connected through
> > "wired" and PC2 is wireless. My basement tenant also have a network
> > setup with the network address 192.168.0.x. They are sharing our
> > internet through our router ( extrnal network if you will ).
> >
> > The Problem: When I release the ip address (ipconfig /release) on my
> > PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip addresses
> > from my tenant's network (192.168.0.101) when it should be getting an
> > IP address from my network (192.168.1.101)
> >
> > The only way I can get this to work is if I setup a Static IP on PC1.
> > But I am looking for another way around this problem. I was wondering
> > if there is a way to tell PC1 to only request IP from my network
> > (192.168.1.x) and not my basement's network (192.168.0.x)
> >
> > I don't think that PC2 has this problem because its connected through
> > wireless.Thus it automatically assumes that my router's DHCP is the
> > right network to connect to.
> >
> > Any help will be greatly appreciated
> >


 
Reply With Quote
 
amedjones
Guest
Posts: n/a

 
      08-18-2006, 04:13 AM
well when I get a dynamic IP from my Tenant's network (192.168.0.x). I
can't access the internet and I can't access the router configuration
which requires a password.

I would like to have one DHCP server. I'll just have to talk to my
Tenant and come up with a solution

Here's a thought: To me it seems that when PC1 is requesting a DHCP
request packet, it starts with my tenant's router because its its first
in Line "192.168.0.x" as opposed to my network which is 192.168.1.x".
So maybe if I do a "switch-a-roow", Things might work out the way its
supposed to? but I don't think that will work.

I'll take a look at my router setup and see if I can do a VLAN

- What if I put my tenant's port on a DMZ mode ? you think that will
work?

Again thank you all, apperciate you help
Frankster wrote:
> Why do you care where your dynamic IP comes from and what it is?
>
> -Frank
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ups.com...
> > Hi Everyone,
> >
> > I have problems with my network setup, I tried googling my problem but
> > didn't find an answer
> >
> > Background: Bascially, I have a network setup at home with a Linksys
> > router and a network address of 192.168.1.x. PC1 is connected through
> > "wired" and PC2 is wireless. My basement tenant also have a network
> > setup with the network address 192.168.0.x. They are sharing our
> > internet through our router ( extrnal network if you will ).
> >
> > The Problem: When I release the ip address (ipconfig /release) on my
> > PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip addresses
> > from my tenant's network (192.168.0.101) when it should be getting an
> > IP address from my network (192.168.1.101)
> >
> > The only way I can get this to work is if I setup a Static IP on PC1.
> > But I am looking for another way around this problem. I was wondering
> > if there is a way to tell PC1 to only request IP from my network
> > (192.168.1.x) and not my basement's network (192.168.0.x)
> >
> > I don't think that PC2 has this problem because its connected through
> > wireless.Thus it automatically assumes that my router's DHCP is the
> > right network to connect to.
> >
> > Any help will be greatly appreciated
> >


 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      08-18-2006, 05:07 AM
When you receive your network config from a DHCP server you get much more
than just an IP. One important thing you get is the default gateway address.
This tells your machine how to find the gateway (or router). If you get the
wrong one, you won't get to the Internet.

When a machine boots up, it sends a broadcast on the network to find a
DHCP server. Which one it uses depends simply on which DHCP server answers
first!

amedjones wrote:
> well when I get a dynamic IP from my Tenant's network (192.168.0.x). I
> can't access the internet and I can't access the router configuration
> which requires a password.
>
> I would like to have one DHCP server. I'll just have to talk to my
> Tenant and come up with a solution
>
> Here's a thought: To me it seems that when PC1 is requesting a DHCP
> request packet, it starts with my tenant's router because its its
> first in Line "192.168.0.x" as opposed to my network which is
> 192.168.1.x". So maybe if I do a "switch-a-roow", Things might work
> out the way its supposed to? but I don't think that will work.
>
> I'll take a look at my router setup and see if I can do a VLAN
>
> - What if I put my tenant's port on a DMZ mode ? you think that will
> work?
>
> Again thank you all, apperciate you help
> Frankster wrote:
>> Why do you care where your dynamic IP comes from and what it is?
>>
>> -Frank
>>
>> <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed) ups.com...
>>> Hi Everyone,
>>>
>>> I have problems with my network setup, I tried googling my problem
>>> but didn't find an answer
>>>
>>> Background: Bascially, I have a network setup at home with a Linksys
>>> router and a network address of 192.168.1.x. PC1 is connected
>>> through "wired" and PC2 is wireless. My basement tenant also have a
>>> network setup with the network address 192.168.0.x. They are
>>> sharing our internet through our router ( extrnal network if you
>>> will ).
>>>
>>> The Problem: When I release the ip address (ipconfig /release) on my
>>> PC1 and attempt to renew (ipconfig /renew). PC1 gets its ip
>>> addresses from my tenant's network (192.168.0.101) when it should
>>> be getting an IP address from my network (192.168.1.101)
>>>
>>> The only way I can get this to work is if I setup a Static IP on
>>> PC1. But I am looking for another way around this problem. I was
>>> wondering if there is a way to tell PC1 to only request IP from my
>>> network (192.168.1.x) and not my basement's network (192.168.0.x)
>>>
>>> I don't think that PC2 has this problem because its connected
>>> through wireless.Thus it automatically assumes that my router's
>>> DHCP is the right network to connect to.
>>>
>>> Any help will be greatly appreciated



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      08-18-2006, 03:43 PM
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Here's a thought: To me it seems that when PC1 is requesting a DHCP
> request packet, it starts with my tenant's router because its its first
> in Line "192.168.0.x" as opposed to my network which is 192.168.1.x".


No that is not why it works the way it does. Why don't you just listen to
what we have been telling you. If you're just going to ignore what we say
and do what you want anyway (even if it's wrong) then their isn't much point
is us bothering with it.


--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


 
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
What's wrong with ARP? DHCP? Zieger Linux Networking 5 09-23-2007 05:08 AM
Receiving wrong DNS address with DHCP HELP! David Eaton Windows Networking 1 07-26-2006 05:50 PM
SSL VPN not receiving DHCP MEB Windows Networking 0 08-30-2005 08:04 PM
dhcp client not receiving offer from server Henrik S. Hansen Linux Networking 8 11-19-2004 08:32 AM
Wrong DNS when using DHCP Jens =?ISO-8859-1?Q?Landgr=E9?= Linux Networking 4 10-29-2003 12:08 AM



1 2 3 4 5 6 7 8 9 10 11