All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Luis Domingo Lopez <lartc@24x7linux.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Real IP behind SNAT
Date: Tue, 27 Apr 2004 15:05:48 +0000	[thread overview]
Message-ID: <20040427150548.GA3655@localhost> (raw)
In-Reply-To: <20040427141358.GA2478@mail.politecnica.edu.co>

On Tuesday, 27 April 2004, at 09:13:58 -0500,
Nelson E. Castillo wrote:

>     Internet (gateway)
>             |
>             |
>             |
>     eth0 = real IP
>    -----------------
>    L I N U X  ROUTER
>    -----------------
>    eth1 = private IP
>             |
>             |
>             |
>     eth0 = real IP   
>    -----------------
>  Wireless Access Point
>    -----------------
> 
> I was  asked to put  a real  ip (not to  do static
> NAT) in the Ethernet interface of the WAP. How can
> I do it?
> 
I suppose the real IP you have to assing to your WAP ethernet interface
is in the same range as the real IP address assigned to the external
interface of your Linux router. I think you can set up a proxy ARP entry
on this Linux router for the real IP to put on your WAP.

The external interface in the Linux router will reply to ARP requests
with its own MAC address, and will receive the incoming traffic. Then
you must have adequate routing entries to direct traffic going to the
"internal" real IP address through the internal (private) interface in
the Linux router, and hopefully it will arrive at the WAP.

The best way to avoid missing something in the process of configuring
everything is to take a paper and a pen, and draw the path of the IP
packets through your network. Do everything as the operating system
would do, and do what is needed to make packets arrive at the correct
place in your network.

Greetings.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.5)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2004-04-27 15:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-27 14:13 [LARTC] Real IP behind SNAT Nelson E. Castillo
2004-04-27 15:05 ` Jose Luis Domingo Lopez [this message]
2004-04-28 16:03 ` andybr
2004-04-28 17:33 ` [LARTC] " Nelson E. Castillo
2004-04-29  5:33 ` Artūras Šlajus

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=20040427150548.GA3655@localhost \
    --to=lartc@24x7linux.com \
    --cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.