Hi
I run a DHCP server which supports wired internet in the internal LAN range
192.168.0.1/24. Now I wish to add a wireless internet LAN in the internal
LAN range 10.0.0.1/24. How do I accomplish this ?
/etc/dhcpd.conf :
option www-server 207.75.181.2,141.213.6.5,141.213.6.1;
ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0
{
range 192.168.0.3 192.168.0.10;
}
subnet 10.0.0.0 netmask 255.255.255.0
{
range 10.0.0.3 10.0.0.10;
}
host clientwired
{
hardware ethernet wr:wr:wr:wr:wr:wr;
fixed-address 192.168.0.2;
}
host clientwireless
{
hardware ethernet wl:wl:wl:wl:wl:wl;
fixed-address 10.0.0.2;
}
where wr:wr:wr:wr:wr:wr and wl:wl:wl:wl:wl:wl are the obfuscated hardware
addresses for two clients - one wired and one wireless. How do I make sure
that the server listens on eth0 for the wired connections (192.168.0.1/24 -
as it already does) and wlan0 for wireless connections (10.0.0.1/24) ?
Thanks,
MS
|