Koozali.org: home of the SME Server

DHCP Server Only

Walter Padgett

DHCP Server Only
« on: August 08, 2003, 09:06:16 PM »
Good Morning,

Pure and simple, I need the NIC in a server-only box to obtain the IP address via DHCP.

Before everyone starts yelling about servers need to be on a static IP structure, I have no control over the IP structure in the school district where I work. I am wanting to put some SME boxes out in some of the business classrooms for typing and other software packages.

A penny for your thoughts.

Wally

dave

Re: DHCP Server Only
« Reply #1 on: August 11, 2003, 06:17:04 AM »
Wally,

You can accomplish this by using the 'Hostnames and Addresses' pannel from server-manager.  I use this to set static IP's for several workstations on my network, should work for servers too.

You'll need to get the MAC address for the server's NIC.  Then click the 'create a new hostname'  link.  I have all mine set up to be:
Visibility= local
location= local
global IP= " "  no global IP assigned.
local IP= an addy on the same subnet as everything else but a statically assigned IP outside the range setup for DHCP.  

Example: DHCP range is  192.168.1.100-192.168.1.199, statically assigned IP for workstations are between 192.168.1.200 and 192.198.1.205.

Make sure to set the 'hostname' to match the actual machine's name, if it's a windows system it can cause problems if these names don't match.

Dave

Boris

Re: DHCP Server Only
« Reply #2 on: August 11, 2003, 08:42:20 AM »
Dave,
it looks like Wally wants SME server to have dynamic IP, not to give DHCP to the clients.
Wally,
login to console as admin (not root) and select from the menu configure server option. You should have a choice to obtain IP from DHCP in the network configuration menu.

> A penny for your thoughts.
can you send it via PayPal? ;-)

Walter Padgett

Re: DHCP Server Only
« Reply #3 on: August 26, 2003, 02:34:49 AM »
Good Afternoon,

Thanks for your replies. You are correct as to what I want to do Boris but DHCP is not an option under Configure this server on the console screen. It doesn't even say anything about DHCP until after you have setup the local network nic. I don't want to provide DHCP to my local network and I want my server-only box to pick up a dynamic IP from the district DHCP server for the local network nic.

Thanks

Wally

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
DHCP Server Only
« Reply #4 on: April 19, 2004, 11:26:19 PM »
Does anyone have an answer for this?

I am assigning the IP of my test server (which is server-only) as a static IP, but I would prefer it to pick it up from my main SME box via DHCP (were it would be allocated based on MAC address)

Ian
............

Chris Buechler

DHCP
« Reply #5 on: April 24, 2004, 02:15:13 PM »
Wally,

I haven't tried it, but what if you set it up as a Server+Gateway -- when setting up the External Ethernet adapter, it allows you to pick DHCP or Static..  Then just hook up to the school network on the external adapter and make whatever services you want available through the firewall.

Chris

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
DHCP Server Only
« Reply #6 on: July 25, 2004, 06:11:08 PM »
Time to return to this issue.

It would make life easier if the IP and name could be picked up from DCHP.

If someone gives a hint then I'll start looking.
............

buzolich

DHCP Server Only
« Reply #7 on: October 18, 2004, 08:35:48 PM »
Yeah, I'd like to have my 5.6 server pick up an ip address from my router instead of having it done statically.  Any new thoughts on this?

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
DHCP Server Only
« Reply #8 on: October 19, 2004, 06:14:29 AM »
Quote from: "wellsi"
Time to return to this issue.

It would make life easier if the IP and name could be picked up from DCHP.

If someone gives a hint then I'll start looking.


Hi Ian, long time no talk  :-)

Unfortunately the major issue with server-only mode is that it treats the nic as the Internal interface (not the external one), so there are no easy fixes that I know of (eg. settings in the configuration db).

Will look a little harder, but I know that all the standard config files (like /etc/sysconfig/network-scripts) are generated.

What generates these for a server-only setup is probably the place to start investigations...

Trevor B

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
DHCP Server Only
« Reply #9 on: October 19, 2004, 09:42:23 PM »
Quote from: "TrevorB"

Hi Ian, long time no talk  :-)
Trevor B


Real Life has thrown a lot at me since Summer, but I'll be back.

This (DHCP)issue is still of interest
Ian
............