sossego
Retired from the forums
I'm lost when it comes to the dhcpd.conf file because of the comments and examples.
The machine needs to act as a router.
I know that I have something wrong here but not sure what.
Is it the different addresses?
The subnet declarations?
The routers?
The machine needs to act as a router.
Code:
ddns-update-style interim;
include "/etc/bind/rndc.key";
zone dyn.floppy-peoples.org. {
primary 127.0.0.1;
key "rndc-key";
}
ddns-domainname "dyn.floppy-peoples.org";
option domain-name "static.floppy-peoples.org dyn.floppy-peoples.org";
option domain-name-servers 172.30.200.254;
option routers 172.30.200.254;
option broadcast-address 172.30.255.255;
option ntp-servers 172.30.200.254;
default-lease-time 86400;
max-lease-time 86400;
authoritative;
log-facility local7;
subnet 172.30.0.0 netmask 255.255.0.0 {
range 172.30.201.10 172.30.201.200;
# DNS zones to update
zone 201.30.172.in-addr.arpa. {
primary 172.30.200.254;
key "rndc-key";
}
zone dyn.floppy-peoples.org. {
primary 172.30.200.254;
key "rndc-key";
}
}
host floppy-peoples
{
hardware ethernet 00:15:f2:7a:dc:83;
fixed-address 192.168.1.7;
}
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.100 192.168.1.200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option domain-name-servers 123.123.123.10, 123.123.123.20;
option routers 192.168.1.1;
}
I know that I have something wrong here but not sure what.
Is it the different addresses?
The subnet declarations?
The routers?