Re: Real IP behind SNAT

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux