Modify ↓
Ticket #2782 (closed defect: fixed)
DHCP Service > Default gateway
| Reported by: | lioncub@… | Owned by: | ejhernandez@… |
|---|---|---|---|
| Milestone: | 2.2 | Component: | dhcp |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In DHCP "Common options" Default gateway as "None". But in /etc/dhcp3/dhcpd.conf option routers exist and clients assigned to a gateway:
clients:
route -n Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.10.41 0.0.0.0 UG 100 0 0 eth0
Zentyal server /etc/dhcp3/dhcpd.conf:
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
pid-file-name "/var/run/dhcp3-server/dhcpd.pid";
ddns-update-style none;
option domain-name-servers 192.168.10.41;
default-lease-time 1800;
max-lease-time 7200;
shared-network eth0 {
subnet 192.168.10.0 netmask 255.255.255.0 {
option routers 192.168.10.51;
option domain-name-servers 192.168.10.41;
default-lease-time 1800;
max-lease-time 7200;
pool {
range 192.168.10.1 192.168.10.50;
}
}
group {
option routers 192.168.10.51;
option domain-name-servers 192.168.10.41;
default-lease-time 1800;
max-lease-time 7200;
}
}
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
(In [20897]) Fixed 'routers' option when gateway is set to 'none' closes #2782