Networking Forums

Networking Forums > Computer Networking > Linux Networking > One DHCP server - two interfaces - two subnets

Reply
Thread Tools Display Modes

One DHCP server - two interfaces - two subnets

 
 
Madhusudan Singh
Guest
Posts: n/a

 
      08-08-2003, 08:46 PM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP server not responding to clients on other subnets Massimo Windows Networking 7 02-07-2007 02:18 PM
DHCP server setup on RH Linux - Not configured to listen on any interfaces! KAL Linux Networking 1 12-12-2006 10:19 AM
DHCP Server for multiple subnets on different segments vpont Windows Networking 2 10-14-2005 08:46 PM
Dhcp 3 (isc.org): serving multiple subnets on different interfaces Pr. Stephen Falken Linux Networking 1 11-05-2004 10:36 AM
DHCP Question: Moving the same device in various subnets controlledby the same server Anna Markou Linux Networking 0 06-23-2003 08:31 PM



1 2 3 4 5 6 7 8 9 10 11