Can I mix DHCP and static IPs?

A

Andrew J. Rozsa

P-to-P home LAN. My PC is connected to the Linksys router via Ethernet
cable. All others in the house are wireless (802.11b).

Previously, I set the router to act as a DHCP server and just let
those IP addresses be assigned as they may. The range of the DHCP
addresses starts at 192.168.1.100. Since setting up an FTP server
behind a Linksys router requires a static IP, I set my PC's TCP/IP to
use the static address 192.168.1.20.

The router software is on my PC (closest to the router), so I monitor
things from here. Now, although the DHCP server is active (have not
heard any blood-curling screams from upstairs yet…today), I can't see
the DHCP Table from my PC.

Clearly, I am pretty uninformed, but I am learning as fast as I can.
Is there anything wrong with the way I set up things, or I am screwing
with things that may end up biting me? I can mix DHCP and static IP
addresses, can't I? The static does have to be outside the dynamic
range, right?

I am getting some mixed information with my Google searches. I would
appreciate some pointers.

Best,

Andrew
 
P

Phillip Windell

You are fine. If the DHCP server only passes out addresses above *.100 then
you can use all the lower addresses below that however you want.
 
D

Dave

i don't know the linksys capabilities, but generically you sound ok. in
other routers you can exclude specific addresses from the dhcp range... so
you could assign the static one in the same range as the rest of the network
then tell the dhcp server to not assign that specific address. if the
router is smart enough you can even let it assign dynamic addresses to
everyone and then route specific services by machine name instead of ip.

the one thing you do have to be careful of when assigning ranges of
addresses is that the net mask is set properly. i would assume you have
your network setup as 192.168.1.* with a mask of 255.255.255.0. this would
mean you could use all addresses from 192.168.1.1 to 192.168.1.255 on your
network... if you change the last number of the mask to something other
than 0 you would have to limit the range of addresses and keep the static
ones you assign in the right range manually.
 
A

Andrew J. Rozsa

:|You are fine. If the DHCP server only passes out addresses above *.100 then
:|you can use all the lower addresses below that however you want.
:|

Thank you, Phillip.

I truly appreciate your input.


Best,

Andrew
 
A

Andrew J. Rozsa

:|i don't know the linksys capabilities, but generically you sound ok. in

:|
:|the one thing you do have to be careful of when assigning ranges of
:|addresses is that the net mask is set properly. i would assume you have
:|your network setup as 192.168.1.* with a mask of 255.255.255.0. this would
:|mean you could use all addresses from 192.168.1.1 to 192.168.1.255 on your
:|> addresses starts at 192.168.1.100. Since setting up an FTP server
:|> behind a Linksys router requires a static IP, I set my PC's TCP/IP to
:|> use the static address 192.168.1.20.

Thank you, Dave, Yes, I was careful about the mask.

Appreciate your help. Sets my mind at ease. :)


Best,

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top