Re: dhcp server with 2 interfaces and 2 different subnets

2007-06-13 Thread demuel
Hello, Your current /etc/dhcpd.conf configuration will not work no matter how hard you test it . Hint? You should not create a shared-network amongst two different ip blocks and rather instead allocate a specific subnet per ip blocks. Trust me, this will work because I been there done that.

dhcp server with 2 interfaces and 2 different subnets

2007-06-12 Thread Jeff Santos
Hi, I am trying to setup a DHCP server on a multi-homed firewall. One of the interfaces is vr0 and should supply addresses 172.16.255.x/24. The other is sk0 and should supply 200.232.140.x/24. My /etc/dhcpd.interfaces looks like sk0 vr0 My /etc/dhcpd.conf looks like shared-network LOCAL-NET {

Re: dhcp server with 2 interfaces and 2 different subnets

2007-06-12 Thread Brian A. Seklecki
The following: $ sudo tcpdump -i vr0 port bootpc || port bootps tcpdump -i sk0 port bootpc || port bootps $ sudo dhcpd -vf $ sudo netstat -tan|egrep -i 67|68 ~BAS On Tue, 12 Jun 2007, Jeff Santos wrote: Hi, I am trying to setup a DHCP server on a multi-homed firewall. One of the

Re: dhcp server with 2 interfaces and 2 different subnets

2007-06-12 Thread Jussi Peltola
#/etc/dhcpd.conf option domain-name-servers 200.232.140.1; subnet 200.232.140.0 netmask 255.255.255.0 { option routers 200.232.140.1; range 200.232.140.20 200.232.140.200; } subnet 172.16.255.0 netmask 255.255.255.0 { option routers 172.16.255.1; range 172.16.255.20 172.16.255.200;

Re: dhcp server with 2 interfaces and 2 different subnets

2007-06-12 Thread Jeff Santos
, Jeff. - Original Message - From: Brian A. Seklecki To: Jeff Santos Subject: Re: dhcp server with 2 interfaces and 2 different subnets Date: Tue, 12 Jun 2007 16:25:24 -0400 (EDT) The following: $ sudo tcpdump -i vr0 port bootpc || port bootps tcpdump -i sk0 port bootpc || port bootps

Re: dhcp server with 2 interfaces and 2 different subnets

2007-06-12 Thread Peter N. M. Hansteen
Jeff Santos [EMAIL PROTECTED] writes: Now how can I tell the dhcp server to only allocate 172.16.255 addresses to vr0 and 200.232.140.0 to sk0? The two ranges are not subnets of a larger net you control. Put them in separate 'shared-network' definitions and see if that doesn't get you what you

Re: dhcp server with 2 interfaces and 2 different subnets

2007-06-12 Thread Stuart Henderson
On 2007/06/12 16:41, Jeff Santos wrote: My problem is that for some reason, DHCP server is allocating IP addresses from the subnet 200.232.140.0 for stations in the 172.16.255.0 segment. I would like to control which addresses should be given to each segment. Well, describing the problem is a