[Info-vax] SOLVED: Re: tcpip gateway question
urbancamo
mark at wickensonline.co.uk
Sun Oct 11 03:26:00 EDT 2009
On Oct 10, 9:23 pm, Ken Fairfield <ken.fairfi... at gmail.com> wrote:
> On Oct 10, 12:16 pm, urbancamo <m... at wickensonline.co.uk> wrote:
>
>
>
> > 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.
>
> Since you want a fixed address for the zx6000, is there a
> reason you insist on having the DHCP server do that? For
> my PWS 600au (VMS 8.3), I just configured TCPIP Services
> with the requisite info and never query the DHCP server (a
> Verizon FIOS router). I admit, I did try to get DHCP working,
> but had no success, and I don't even have DECnet configured.
>
> There's no conflict between DHCP servering one range of
> addresses, and individual systems (statically) configured
> to addresses outside that range. It's a lot easier in the
> end...
>
> -Ken
Yes, I've tried this before, and I've just tried it again and it
doesn't work. It shows the same behaviour as when I set a fixed
address in the DHCP server - I can ping the DHCP server but not the
gateway.
I setup the TCPIP address of the machine and added a default route to
the gateway. Previous, before I installed decnet, this configuration
worked fine.
Regards, Mark.
More information about the Info-vax
mailing list