Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: pietdejong on January 22, 2008, 04:52:36 PM
-
I have an existing network on 172.16.1.0/255
I have added a second network 172.16.3.0/255 in "local networks"
In "Hostnames and addressess" I have added static assignements for mapping hostnames to Ip addresses.
When the client tries to query for an IP address I see the following messages in /var/log/messages:
Jan 22 17:09:14 meserver dhcpd: DHCPDISCOVER from 00:15:60:b1:79:a8 via 172.16.3.1: unknown network segment
I have only one entry for a subnet in dhcpd.conf:
subnet 172.16.1.0 netmask 255.255.255.0
the host names are expanded correctly, ie.:
host host000.myhost.com {
hardware ethernet 00:0d:56:0b:36:52;
fixed-address 172.16.3.100;
}
To me I would imagine I would need a section "subnet XXXXXX" in dhcpd.conf ??
Is the template ok ?
Many thanks
Piet
-
I think you should try:
172.16.1.0/24
The /24 is the number of Bits of the subnet mask that are set to "1", starting from the Most Significant Bit (MSB) - in this case, the first 24 bits = 255.255.255.0 or 11111111111111111111111100000000
In this notation (shorthand for the 255.255.255.0 ) there is no place for "255"
Cheers
Ian
-
I have an existing network on 172.16.1.0/255
I have added a second network 172.16.3.0/255 in "local networks"
In "Hostnames and addressess" I have added static assignements for mapping hostnames to Ip addresses.
SME server doesn't currently have support for DHCP management of more than one subnet/network segment. It's actually a bug therefore that the server manager allowed you to configure an address outside the local network range.
Please open a bug report for that issue, and a new feature request to add support for relayed DHCP requests from additional network segments.
Am I right in guessing that you have a router at 172.16.3.1 which includes a DHCP relay agent?
-
Correct I have a Cisco PIX 515.