Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: DHCRELAY through IPTABLES Firewall
Date: Wed, 30 Oct 2002 00:41:49 +0000	[thread overview]
Message-ID: <20021030004153.OKNJ27595.mta05-svc.ntlworld.com@there> (raw)
In-Reply-To: <002b01c27fab$9d590fb0$6d02a8c0@lsmith5953>

On Wednesday 30 October 2002 12:30 am, bigman@monster-solutions.net wrote:

> when I run DHCRELAY -i eth2 it tells me that it is listening on eth2 and
> sending on eth2. I assume this is wrong?

Sounds wrong to me.   Sounds kinda pointless to me.   If you wanted the 
requests to go out on the same network they came in on, you wouldn't need a 
relay....

> how do I fix it? is it my routing table?

Could be - what does your routing table say ?

My copy of "man dhcrelay" says:

dhcrelay [ -p port ] [ -d ] [ -q ] [ -i if0 [ ...  -i ifN ] ] server0
    [ ...serverN ]

The DHCP Relay Agent listens for DHCP requests on all interfaces attached to 
a host, unless one or more  interfaces  are specified on the command line 
with the -i flag.

When a query is received, dhcrelay forwards it to the list of DHCP servers 
specified on the command line.   When a reply is received, it is broadcast or 
unicast on the network from whence the original request came.

Therefore I think your command should be:

dhcrelay -i eth2 192.168.1.70

If this sends packets to 192.168.1.70 out of eth2, try pinging 192.168.1.70 
and see where the packets come out of then.

Antony.

-- 

In science, one tries to tell people
in such a way as to be understood by everyone
something that no-one ever knew before.

In poetry, it is the exact opposite.

 - Paul Dirac


  reply	other threads:[~2002-10-30  0:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-27  4:33 DHCRELAY through IPTABLES Firewall bigman
2002-10-27  8:09 ` Antony Stone
2002-10-27  8:58   ` bigman
2002-10-28  8:49     ` Antony Stone
2002-10-28 10:36       ` bigman
2002-10-28 10:54         ` Antony Stone
2002-10-28 11:26           ` bigman
2002-10-28 11:39             ` Antony Stone
2002-10-29  7:37               ` bigman
2002-10-29  9:15                 ` Antony Stone
2002-10-29 11:20                   ` bigman
2002-10-29 13:03                     ` Antony Stone
2002-10-30  0:30                       ` bigman
2002-10-30  0:41                         ` Antony Stone [this message]
2002-10-30  7:15                           ` bigman
2002-10-29 10:02                 ` bigman
2002-10-29 10:29                   ` Antony Stone
2002-10-29 11:44                     ` bigman

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=20021030004153.OKNJ27595.mta05-svc.ntlworld.com@there \
    --to=antony@soft-solutions.co.uk \
    --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