One Server, two interfaces
Alan Neville
neville.alan at gmail.com
Fri Mar 7 23:47:16 UTC 2008
Jeff:
I don't quite understand. How does it "figure it out"? Currently, I
have dhcpd working for one of the interfaces. The following is a copy
of my dhcpd.conf. Should I just add another subnet declaration block?
--- snip, snip ---
option domain-name-servers 213.94.190.194, 213.94.190.236;
option subnet-mask 255.255.255.0;
default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;
# dc0 interface
subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.10 192.168.100.200;
option routers 192.168.100.1;
}
--- snip, snip ---
Thanks,
A
On 7 Mar 2008, at 21:31, Jeff Sadowski wrote:
> dhcpd figures it out based on the ip addresses assigned to those
> nodes.
>
> On 3/7/08, Alan Neville <neville.alan at gmail.com> wrote:
>> Hello,
>>
>> I'm currently setting up a FreeBSD server for a project which has two
>> interfaces (rl0 and dc0) both connected to different VLANs
>> (192.168.1.0/24 and 192.168.100.0/24, respectively). I have been
>> reading through the server installation instructions as per the
>> FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/
>> handbook/network-dhcp.html), however, I can't seem to find much re
>> configuring the server to hand out 192.168.1.0/24 addresses through
>> the rl0 interface and 192.168.100.0/24 through the dc0 from the one
>> set up. Could someone provide me with a sample dhcp.conf which covers
>> this type of installation?
>>
>> Many Thanks,
>>
>>
>>
>> ---
>> Alan Neville
>> alan.neville3 at mail.dcu.ie
>> CAIS3 / 55626234
>> ---
>> "Shúil do bothar, scríobh do scéal.."
>>
>>
>>
>>
>>
>>
>>
>
---
Alan Neville
alan.neville3 at mail.dcu.ie
CAIS3 / 55626234
---
"Shúil do bothar, scríobh do scéal.."
More information about the dhcp-hackers
mailing list