setting up a dhcp server

Associate
Joined
21 Apr 2006
Posts
720
Location
Nottingham
i want use my server to dish out ips instead of my router so i can use microsoft isa. but everytime i try to do this it does not work. when i try to change gateway my server ip it does not do anything. does anyone have any guides for me?
 
if i do that, my router assigns the ip not the server, and as far as i know it needs to be the server to be able to run isa
 
If you have the following setup:

Internet -> Server -> Lan

Then set the IP address to 127.0.0.1 (localhost). Failing that try the IP address of the server (would be something like 192.168.0.1 or 10.0.0.1 as it is the DHCP server)

If you have the following setup:

Internet -> Router -> Lan
(in this instance the server is contained within the Lan)

Then set the IP address to that of your router.

HTH
 
Freakish_05 said:
If you have the following setup:

Internet -> Server -> Lan

Then set the IP address to 127.0.0.1 (localhost). Failing that try the IP address of the server (would be something like 192.168.0.1 or 10.0.0.1 as it is the DHCP server)

etc

HTH

Agreed, I hadn't set up DHCP for an age, but as you have a router, yea, disable DHCP on your router and then set up the rest of the scope. Was probably DHCP being enabled on your router causing you the issues.
 
i have tried to disable the dhcp in my router (linksywag354g) and was not sure if i totally disabled it or set it to relay with the ip of the dhcp server as the relay server
at the moment i have the config as router then server/lan. the server has 2 net cards installed and connected to the router. once i have set the server up correctly, can i leave the ip settings in the clients as automatically assigned and will they find the server?
 
Well yes - this is how DHCP works.
A machine joins the network and sends out a broadcast asking for any available DHCP server to give it some information.
Your now one and only DHCP server will hear the broadcast request and respond.
 
that was the impression i got from reading it up. so if i set my ip address on one of the net cards in the server to say 192.168.1.10 and then make sure dhcp is turned off in the router it should work fine and assign the client an ip from the pool i have set? only other questions are a do i set the router to dhcp relay, or disable it altogether. and i have to net cards in the server what is the best way to configure them?
 
doran1801 said:
that was the impression i got from reading it up. so if i set my ip address on one of the net cards in the server to say 192.168.1.10 and then make sure dhcp is turned off in the router it should work fine and assign the client an ip from the pool i have set? only other questions are a do i set the router to dhcp relay, or disable it altogether. and i have to net cards in the server what is the best way to configure them?

Disable the router DHCP server altogether.

The server should have static IPs, prevents a lot of potential problems on the small scale.

Burnsy
 
so am i correct in thinking that one net card should have a static ip with the gateway of the router still am my ip dns servers for internet access and the other should point back at itself being the dhcp server?
 
doran1801 said:
so am i correct in thinking that one net card should have a static ip with the gateway of the router still am my ip dns servers for internet access and the other should point back at itself being the dhcp server?

Ok, firstly, full stops are your friend :)

I'm not entirely sure what your asking but here goes:

The NICs on the server should be configured with a static IP and this exclusion made in the DHCP scope. The default gateway should point to the router and the DNS servers should be manually entered from the ISP.

If you are using ISA Server don't put the router's IP in the DHCP config, otherwise the LAN clients will simply go around the router.

To make things easier, what internet connection do you have? ADSL or cable? You don't need the routing capibilities of the router so it might be useful for security reasons to get rid of it all together.

Are you sure you want to use ISA? It's not that simple to get working properly.

Burnsy
 
i have an adsl connection The only reason i am using isa is because it was the 1st one that came to mind. i have 1 nic set to static and pointing at my router and isp's dns but what do i do with the other one?
 
doran1801 said:
i have an adsl connection The only reason i am using isa is because it was the 1st one that came to mind. i have 1 nic set to static and pointing at my router and isp's dns but what do i do with the other one?

Do you have an ADSL modem you could just attach to the server?

If not, we need to separate the router from the LAN.

I would have one NIC on a class C address, something like 192.168.0.1 /24 (255.255.255.0) and the other on a different subnet like 172.17.0.1 /16 (255.255.0.0). The router could then be 172.17.0.2 /16.

Can you connect the router directly to the server?

Burnsy
 
i also have a bt home hub router which i could use as the internet connection to the sever. So if i set that up 1st then use the lnksys to create a lan network linking server to clients?
 
doran1801 said:
i also have a bt home hub router which i could use as the internet connection to the sever. So if i set that up 1st then use the lnksys to create a lan network linking server to clients?

You want to avoid routing. ISA will proxy for you, so you want to avoid having other routing devices.

You want to separate the router from the main LAN as you want all outbound traffic to pass through ISA.

If you separate through different address ranges/subnets as in my previous post, you should acieve that. But it's by no means the simpliest option.

Burnsy
 
i have my bt router as the modem connected to the server on a static ip 192.168.1.50 on nic 1 i have the other nic connected to the linksys router static at 192.168.1.60 the problem i have now is that whenever i leave both nic cards enabled i cannot connect with either of them, but when i disable 1 of them i can connect to the router of the enable one. I have disabled dhcp on both routers but am getting stuck now is there an easier way to do this?
 
You don't need two routers.

You should have it connected something like this:

Internet -> Router/ADSL modem -> ISA Server -> LAN

Ideally, you want it impossible for the LAN to talk to the router without going thought ISA sever and Vice Versa.

Burnsy
 
thanks for sticking with me one this one
i have the bt router just acting as a adsl modom to connect to the server only but in order for the lan to connect to the server then don;t i need router to connect them to the other nic card on the server?

can you show me some kind of diagram showing what ip addys i need and some mapping out?
 
Server, Static IP
Router, Static IP
Rest, Dynamic IP

You shouldn't have to relay IPs on the router, it should work without it as long as the server is the only DHCP server on the network.
 
Back
Top Bottom