I am tring to set up a central DHCP server for a large WLAN network. All client requests are forwarded b routers around the network, so there are no broadcast requests.
Anyway, we like to set up our servers with a physical address, and then dummy addresses behind it for the services that the server runs (easier to move services around between servers). So, this is what I have:
Quote:
dummy0 Link encap:Ethernet HWaddr 32:45:59:F1:07:87
inet6 addr: fe80::3045:59ff:fef1:787/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:210 (210.0 b)
dummy0:4 Link encap:Ethernet HWaddr 32:45:59:F1:07:87
inet addr:172.21.127.4 Bcast:172.21.127.4 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
dummy0:14 Link encap:Ethernet HWaddr 32:45:59:F1:07:87
inet addr:172.21.127.14 Bcast:172.21.127.14 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:08:74:92:AE:7B
inet addr:172.21.127.34 Bcast:172.21.127.47 Mask:255.255.255.240
inet6 addr: fe80::208:74ff:fe92:ae7b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36496 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2569172 (2.4 MiB) TX bytes:12817 (12.5 KiB)
Interrupt:18 Base address:0x8c00
|
The DHCP server does not want to start on the dummy interfaces!! Why is this? I can send dhcp requests to the dummy address, but the server replies with the eth0 address.
The ifcfg for the dummy interface looks like this:
Quote:
DEVICE=dummy0:14
IPADDR=172.21.127.14
NETMASK=255.255.255.255
ONBOOT=yes
|
I have also tried to force the DHCP server to start on the dummy interface with DHCPDARGS set to dummy0:14 but I get the following error:
Quote:
|
No subnet declaration for dummy0:14 (no IPv4 addresses).
|
But I do have it declared in the conf!
Quote:
subnet 172.21.127.14 netmask 255.255.255.255 {
}
|
Anyone? I have googled but found no answer...
/Carl