Re: DHCPD &SMTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Watkins wrote:

Question 1:
I don't know why you're occasionally having relaying problems...

Question 2: I have dhcpd setup to dynamically assign the IP addresses on
the internal network and for that purpose it works fine (most of the
workstations are a mix of windows 2000, windows xp and windows millenium).
But I can't seem to get DNS and the gateway passed to the workstations. For example, in the beginning of this email where the configuration is
described, the gateway is 192.168.0.1 -- how do I pass this and the dns
information to the workstations so that the ip and dns can automatically
be set rather than setting each machine manually.

See an example file below, with three subnets. Note that the machine name -> IP mappings are defined in DNS in my case, and that DNS server happens to be on the DHCP server machine. I suspect that /etc/hosts entries on the DHCP server would work as well, but I haven't tested that configuration.


Alan
--
Alan Peery
peery@io.com

ddns-update-style ad-hoc;

subnet 10.88.22.0 netmask 255.255.255.0 {
range 10.88.22.129 10.88.22.250;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 10.88.22.255;
option routers 10.88.22.1;
# use this server, and an external DNS server
option domain-name-servers 10.88.22.1,212.67.96.129;
option domain-name "peery.info";
}


host xxxblp {
hardware ethernet 00:60:08:F3:37:F5;
fixed-address aspex-blp.peery.info;
}

host sol9 {
hardware ethernet 00:50:56:18:07:01;
fixed-address sol9.peery.info;
}

host rocinante {
hardware ethernet 00:06:5B:BC:F7:2E;
fixed-address rocinante.peery.info;
}

subnet 10.88.23.0 netmask 255.255.255.0 {
range 10.88.23.129 10.88.23.250;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 10.88.23.255;
option routers 10.88.23.1;
# use this server, and an external DNS server
option domain-name-servers 10.88.23.1,212.67.96.129;
option domain-name "peery.info";
}

subnet 10.88.24.0 netmask 255.255.255.0 {
range 10.88.24.129 10.88.24.250;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 10.88.24.255;
option routers 10.88.24.1;
# use this server, and an external DNS server
option domain-name-servers 10.88.24.1,212.67.96.129;
option domain-name "peery.info";
}




--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux