From: "Dr. Lars Hanke" <lars@lhanke.de>
To: netfilter@lists.netfilter.org
Subject: dhcrelay
Date: Tue, 15 Feb 2005 21:58:27 +0100 [thread overview]
Message-ID: <200502152158.27275.lars@lhanke.de> (raw)
Hi,
google told me that dhcrelay has been discussed quite a couple of times on
this list. However,I could not find a solution to my problem.
I want to set up a router, which distributes the DHCP configuration service to
all subnets attached (well currently only one subnet at eth0, 172.16.2.1).
Reading the dhcrelay man page
#> dhcrelay -i eth0 adept.mgr
should do exactly that. In practice - almost:
dhcrelay gets the request, asks the dhcp server, gets a reply, but never sends
it to the requesting device:
#> tcpdump -i any port bootpc or port bootps
09:42:09.996479 172.16.1.12.bootpc > 255.255.255.255.bootps: xid:0x960f0000
flags:0x8000 [|bootp]
09:42:09.997009 surtur.mgr.bootps > adept.mgr.bootps: (request) xid:0x960f0000
flags:0x8000 G:172.16.2.1 ether 0:9:5b:68:19:fb [|bootp] (DF)
09:42:09.997603 adept.mgr.bootps > 172.16.2.1.bootps: (reply) xid:0x960f0000
flags:0x8000 Y:ymir.mgr S:adept.mgr G:172.16.2.1 ether 0:9:5b:68:19:fb [|
bootp] (DF)
... but something like the following never appears (line taken from DHCP
exchange from server installed on router, alternatively):
09:59:38.780364 172.16.2.1.bootps > 255.255.255.255.bootpc: xid:0x960f0000
flags:0x8000 Y:ymir.mgr S:172.16.2.1 [|bootp] [tos 0x10]
Therefore, ymir never gets his IP!
netfilter policies were set to ACCEPT and all tables were flushed (including
nat and mangle). I can ping all NIC from anywhere, ymir of course only if it
is configured!
The system is Debian Woody with 2.4.26-grsec Kernel from backports. grsec
stuff is not activated by gradm.
Any help appreciated,
- lars.
next reply other threads:[~2005-02-15 20:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-15 20:58 Dr. Lars Hanke [this message]
2005-02-15 21:20 ` [OT] dhcrelay Jason Opperisano
-- strict thread matches above, loose matches on Subject: below --
2003-11-29 0:56 dhcrelay zynkx
2003-11-29 1:39 ` dhcrelay Jeffrey Laramie
2003-11-29 8:33 ` dhcrelay Ralf Spenneberg
2003-11-28 20:30 dhcrelay zynkx
2003-11-28 21:01 ` dhcrelay Jeffrey Laramie
2003-11-29 2:34 ` dhcrelay Ramin Dousti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502152158.27275.lars@lhanke.de \
--to=lars@lhanke.de \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox