Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Sathi" <sathiyan@gmx.net>
To: Antony Stone <Antony@Soft-Solutions.co.uk>,
	netfilter <netfilter@lists.samba.org>
Subject: Re: need to forward req between same network ip within same machine
Date: Fri, 21 Jun 2002 09:47:47 +0530	[thread overview]
Message-ID: <002201c218dc$3cc35060$870110ac@samsi> (raw)
In-Reply-To: 200206201313.g5KDDwU32555@vulcan.rissington.net

> On Thursday 20 June 2002 2:14 pm, Sathi wrote:
>
> > Hello All,
> >
> > I have a Redhat linux box with two NIC which i am going to use as
firewall
> > machine.
> >
> > Foe some reason i want to assign a ip address for these 2 NIC in same
> > network say
> >
> > eth0: 10.10.10.1/24----------> to router
> > eth1: 10.10.10.2/24<---------- from client
>
> Why do you want to do this ?

I will be replacing this 10.10.10.0/24 address to public ip
eth1 has aliase of 172.16.0.0/16 LAN address.(This will be Masquerade to
public ip of eth0 which is working fine now)

I need to assign public ip address to some machine behind the firewall.

>
> What do you expect the routing table to look like on the machine (eg where
> should it send a packet for 10.10.10.10 - out of eth0 or eth1 ?)
>

It should go through eth0

> What is your router expecting to find connected to it ?   Does it expect
to
> see all 10.10.10.0/24 hosts connected on a local LAN (in which case it's
> epxecting to see arp responses for those addresses), or is it expecting to
> see them on the other side of a router (such as your firewall box) ?
>

It is expected to see all 10.10.10.0/24 address

> Do you know what a network bridge is ?   Have you considered whether this
is
> what you need ?
>
> The setup you have proposed is not a good network configuration to work
with,
> and is not recommended unless you (a) really know what you're doing, and
(b)
> don't mind debugging and troubleshooting being quite difficult.
>
>
>
> Antony.

Thanks
Sathi



  parent reply	other threads:[~2002-06-21  4:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-20 13:14 need to forward req between same network ip within same machine Sathi
2002-06-20 13:13 ` Antony Stone
2002-06-20 22:48   ` James Mello
2002-06-21  4:17   ` Sathi [this message]
2002-06-21 10:04     ` Antony Stone

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='002201c218dc$3cc35060$870110ac@samsi' \
    --to=sathiyan@gmx.net \
    --cc=Antony@Soft-Solutions.co.uk \
    --cc=netfilter@lists.samba.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