[Info-vax] SOLVED: Re: tcpip gateway question
urbancamo
mark at wickensonline.co.uk
Sat Oct 10 15:16:14 EDT 2009
I have a NetBSD box on the network that is the DHCP server for all
boxes on subnet 192.168.1.255. For boxes without a fixed IP address,
the DHCP server will serve requests. For example, when I start up my
laptop with networking I get the following messages from the DHCP
server:
Oct 4 09:39:23 dell7500 dhcpd: DHCPDISCOVER from 00:1d:0d:bb:d2:69
via ex0
Oct 4 09:39:24 dell7500 dhcpd: DHCPOFFER on 192.168.1.67 to 00:1d:
0d:bb:d2:69 via ex0
Oct 4 09:39:24 dell7500 dhcpd: DHCPREQUEST for 192.168.1.67
(192.168.1.252) from 00:1d:0d:bb:d2:69 via ex0
Oct 4 09:39:24 dell7500 dhcpd: DHCPACK on 192.168.1.67 to 00:1d:
0d:bb:d2:69 via ex0
This works great - the DHCP server has the following configuration:
# Set parameters for the 192.168.1.0/24 subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.21 192.168.1.70;
default-lease-time 604800;
option subnet-mask 255.255.255.0;
option domain-name-servers 158.152.1.58, 158.152.1.43;
option domain-name "appsoftint.co.uk";
option routers 192.168.1.20;
So it will automatically assign IP addresses between 192.168.1.21 and
192.168.1.70.
If I want a static IP address for a box (such as the ZX6000 or the
DS10L) then previously adding the following entries in the dhcpd.conf
file did the trick:
host zx6000 {
hardware ethernet 00:30:6e:f3:2c:a5;
fixed-address 192.168.1.230;
}
However, with decnet enabled this no longer works. I updated the
configuration to contain the decnet MAC address assigned to the
interface:
host zx6000 {
hardware ethernet aa:00:04:00:fb:04;
fixed-address 192.168.1.230;
}
The request is granted, but the configuration is incorrect - I can
ping the DHCP server but not the gateway (in my case my ADSL router)
which is very strange as they are both on the same subnet.
Anyone got any clues, or can I provide any further information to help
an investigation.
Cheers, Mark.
More information about the Info-vax
mailing list