[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lartc
Subject:    Re:[LARTC] Real IP behind SNAT
From:       "andybr" <andybr () bol ! com ! br>
Date:       2004-04-28 16:03:52
Message-ID: HWW1YG$BF2471E88F17D457E1746D59D00A6F92 () bol ! com ! br
[Download RAW message or body]

Hi,

You put in your internet (gw) eth0 an ip/30 (real ip) 
and in your ap wan with ip/30 (real ip) gw your 
internet gw eth0. got it? if you use iptables to do 
snat don't forget to create a rule to not nat your ap 
real ip ;)

I hope that help you.

Good Luck,
Anderson


> Hi.
> 
> I was asked to put a real IP behind a linux router
> is doing static NAT for an internal network.
> 
> 
>     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've read  some manuals and  I guess I  should use
> the  same  address  with a  different  netmask  in
> WAP(eth0) and put a route in the Linux box and use
> a  fake arp  entry in  the eth0  interface of  the
> router.
> 
> I'd appreciate any hint you can give me.
> 
> Regards,
> Nelson.-
> 
> -- 
> http://geocities.com/arhuaco
> 
> The first principle is that you must not fool yourself
> and you are the easiest person to fool.
>      -- Richard Feynman.
> 
> 
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic