Re: Filtering DHCP Requests so that ICS DHCPD don't get them



stokkeland@xxxxxxxxx wrote:
Scenario:
Mobile System with two nic's,
firewall and NAT serving DHCP and some services to internal network
Getting external IP with dhcp client.

Issue:
dhcpd replies "DHCPNAK" to external interface

Config:
ICS dhcpd requires all available nic subnets to be configured, but when
a range does not have any options, the server sends a DHCPNAK, which is
bad when I hook this system up on network which already have dhcp
servers serving that range..
I have tried various things with IP tables blocking udp 67/68, but I
can not seem to find a way to allow my system to be a dhcp client on
the outside network while blocking traffic or not responding at all as
a dhcp server on that side...

Anyone solved this before?
My tests are a bit bozarre as it looks like when I drop all udp 67/68
packets are still reaching dhcpd..


Tell the daemon at start which interfaces to handle, so
thet it does not attemp to handle the external network
interface.

For details, see the daemon documentation.

My dhcpd3 is started:

/usr/sbin/dhcpd3 -q eth1

--

Tauno Voipio
tauno voipio (at) iki fi
.



Relevant Pages

  • Re: Filtering DHCP Requests so that ICS DHCPD dont get them
    ... firewall and NAT serving DHCP and some services to internal network ... Getting external IP with dhcp client. ... dhcpd replies "DHCPNAK" to external interface ... a range does not have any options, the server sends a DHCPNAK, which is ...
    (comp.os.linux.networking)
  • Highly available DHCP sevice
    ... I'm wondering how to make a highly available dhcp service within my ... network using RedHat 9. ... second dhcp server in active or standby mode that can automatically ... Does dhcpd have any ...
    (comp.os.linux.networking)
  • Filtering DHCP Requests so that ICS DHCPD dont get them
    ... firewall and NAT serving DHCP and some services to internal network ... Getting external IP with dhcp client. ... dhcpd replies "DHCPNAK" to external interface ... a range does not have any options, the server sends a DHCPNAK, which is ...
    (comp.os.linux.networking)
  • Re: dhcp not starting since a couple of days
    ... > dhcpd: network segment to which interface eth1 is attached. ... I found that after running an update last night, my laptop network ... The file /etc/default/dhcp has a list of interfaces in it that DHCP ...
    (Debian-User)
  • Re: networking private and public hosts questions
    ... some systmes in storage to create a test network. ... a WS to the child and attempted to pull an IP from the DHCP server, ...
    (microsoft.public.win2000.networking)