All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] I need some advice.
@ 2001-01-25 17:43 billy
  2001-01-26 10:26 ` Arthur
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: billy @ 2001-01-25 17:43 UTC (permalink / raw)
  To: lartc

<PRE>Hi, take a look at this



 TOPOLOGY:
                                                               
                                                +--------+                                   +--------+       
                                                | Linux         | 202.1.1.1                      | Cisco         |      
                                                | Box           |------------------| Router        |--- INTERNET  
                                                +--------+                                   +--------+   
                                                        |                                    
                                                +--------+                               
                                                | Switch       |
                     	                        +--------+
                                                         | | | |
                NAT(1) 192.168.101             | | | |
                --------------------+ | | |
                                                           | | |
              NAT(2) 192.168.102                 | | |
              ----------------------+ | |
	                                                 | |
            NAT(3) 192.168.103                     | |
            ------------------------+ |
		                                       |
            NAT(4) 192.168.104                       |
           --------------------------+



 The linux box should do:
    - act as Router
    - NAT 1,2,3,4. In NATs segment I may have public IP (202.1.1.15)
    - Traffic control from 32kb to 512kb based on IP address

 Each NAT will have in the future about 100-200 hosts.

 NOTE: this is for a wireless network so maybe the switch could be
 replaced for some wireless cards on the linux box.

I DONT WANT YOU TO DO IT FORE ME !!! Just need to know:

if it is possible to do it with iproute2? 

based on yours experience witch are the best or recomended applications to use or combine?

if there are some problems or recomandations I must have to take.

is NAT the solution or is there other options?

Any other advice?



thanks very much


</PRE>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LARTC] I need some advice.
  2001-01-25 17:43 [LARTC] I need some advice billy
@ 2001-01-26 10:26 ` Arthur
  2001-01-26 18:34 ` billy
  2001-01-27 11:15 ` Arthur
  2 siblings, 0 replies; 4+ messages in thread
From: Arthur @ 2001-01-26 10:26 UTC (permalink / raw)
  To: lartc

<PRE>On Thu, 25 Jan 2001, billy wrote:

&gt;<i> Hi, take a look at this
</I>&gt;<i>
</I>&gt;<i>  TOPOLOGY:
</I>
[wow, that pic got screwed up badly... try to think of a linewidth of 78
 chars at the most]

&gt;<i>  The linux box should do:
</I>&gt;<i>     - act as Router
</I>&gt;<i>     - NAT 1,2,3,4. In NATs segment I may have public IP (202.1.1.15)
</I>&gt;<i>     - Traffic control from 32kb to 512kb based on IP address
</I>&gt;<i>
</I>&gt;<i>  Each NAT will have in the future about 100-200 hosts.
</I>
&gt;<i>  NOTE: this is for a wireless network so maybe the switch could be
</I>&gt;<i>  replaced for some wireless cards on the linux box.
</I>
&gt;<i> I DONT WANT YOU TO DO IT FORE ME !!! Just need to know:
</I>&gt;<i>
</I>&gt;<i> if it is possible to do it with iproute2?
</I>
No. Not with *only* iproute2. However, iproute2 in combination with
Linux 2.4 (the kernel...) and iptables *does* make it possible.

&gt;<i> if there are some problems or recomandations I must have to take.
</I>
NAT has a bit of a problem with certain protocols such as FTP. These are
mostly handled by the kernel, but there may be cases with new or custom
protocols that are not handled yet. You ought to be aware of that.
Furthermore, IPsec AH-mode does not work with NAT. IPsec ESP-mode does,
fortunately.

Doei, Arthur.

-- 
  /\    / |      <A HREF="mailto:arthurvl@sci.kun.nl">arthurvl@sci.kun.nl</A>      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching



</PRE>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LARTC] I need some advice.
  2001-01-25 17:43 [LARTC] I need some advice billy
  2001-01-26 10:26 ` Arthur
@ 2001-01-26 18:34 ` billy
  2001-01-27 11:15 ` Arthur
  2 siblings, 0 replies; 4+ messages in thread
From: billy @ 2001-01-26 18:34 UTC (permalink / raw)
  To: lartc

<PRE>Thanks fore your answer

I'll try to resol the pic problem, next time. 


&gt;<i> &gt; Hi, take a look at this
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;  TOPOLOGY:
</I>&gt;<i> 
</I>&gt;<i> [wow, that pic got screwed up badly... try to think of a linewidth of 78
</I>&gt;<i>  chars at the most]
</I>&gt;<i> 
</I>&gt;<i> &gt;  The linux box should do:
</I>&gt;<i> &gt;     - act as Router
</I>&gt;<i> &gt;     - NAT 1,2,3,4. In NATs segment I may have public IP (202.1.1.15)
</I>&gt;<i> &gt;     - Traffic control from 32kb to 512kb based on IP address
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;  Each NAT will have in the future about 100-200 hosts.
</I>&gt;<i> 
</I>&gt;<i> &gt;  NOTE: this is for a wireless network so maybe the switch could be
</I>&gt;<i> &gt;  replaced for some wireless cards on the linux box.
</I>&gt;<i> 
</I>&gt;<i> &gt; I DONT WANT YOU TO DO IT FORE ME !!! Just need to know:
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; if it is possible to do it with iproute2?
</I>&gt;<i> 
</I>&gt;<i> No. Not with *only* iproute2. However, iproute2 in combination with
</I>&gt;<i> Linux 2.4 (the kernel...) and iptables *does* make it possible.
</I>
thanks for this, I'm reading all about packet filtering rigth know !!

&gt;<i> 
</I>&gt;<i> &gt; if there are some problems or recomandations I must have to take.
</I>&gt;<i> 
</I>&gt;<i> NAT has a bit of a problem with certain protocols such as FTP. These are
</I>&gt;<i> mostly handled by the kernel, but there may be cases with new or custom
</I>&gt;<i> protocols that are not handled yet. You ought to be aware of that.
</I>&gt;<i> Furthermore, IPsec AH-mode does not work with NAT. IPsec ESP-mode does,
</I>&gt;<i> fortunately.
</I>&gt;<i> 
</I>
Yes I new about the NAT problem, now what about masquerading? 
I can't find any diference, but there must be, or there the same thing?
does masquerading have the same problem? I think so.
know what do you refer or meen with IPsec AH-mode and IPsec ESP-mode?

&gt;<i> Doei, Arthur.
</I>&gt;<i> 
</I>&gt;<i> -- 
</I>&gt;<i>   /\    / |      <A HREF="mailto:arthurvl@sci.kun.nl">arthurvl@sci.kun.nl</A>      | Work like you don't need the money
</I>&gt;<i>  /__\  /  | A friend is someone with whom | Love like you have never been hurt
</I>&gt;<i> /    \/__ | you can dare to be yourself   | Dance like there's nobody watching
</I>
                Can I drink something first to erase temporary my memory?

 


</PRE>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LARTC] I need some advice.
  2001-01-25 17:43 [LARTC] I need some advice billy
  2001-01-26 10:26 ` Arthur
  2001-01-26 18:34 ` billy
@ 2001-01-27 11:15 ` Arthur
  2 siblings, 0 replies; 4+ messages in thread
From: Arthur @ 2001-01-27 11:15 UTC (permalink / raw)
  To: lartc

<PRE>On Fri, 26 Jan 2001, billy wrote:

&gt;<i> Thanks fore your answer
</I>
My pleasure.

[snip]

&gt;<i> &gt; &gt; if there are some problems or recomandations I must have to take.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; NAT has a bit of a problem with certain protocols such as FTP. These are
</I>&gt;<i> &gt; mostly handled by the kernel, but there may be cases with new or custom
</I>&gt;<i> &gt; protocols that are not handled yet. You ought to be aware of that.
</I>&gt;<i> &gt; Furthermore, IPsec AH-mode does not work with NAT. IPsec ESP-mode does,
</I>&gt;<i> &gt; fortunately.
</I>
&gt;<i> Yes I new about the NAT problem, now what about masquerading?
</I>
Masquerading is NAT with port-translation thrown in. This enables multiple
IP addresses to be mapped to a single IP address. In 2.4 and the netfilter
and iptables documentation (at <A HREF="http://netfilter.kernelnotes.org/">http://netfilter.kernelnotes.org/</A>)
masquerading is also called NAPT, Network Address and Port Translation.

&gt;<i> I can't find any diference, but there must be, or there the same thing?
</I>&gt;<i> does masquerading have the same problem? I think so.
</I>
Yes, masquerading has the same problems.

&gt;<i> know what do you refer or meen with IPsec AH-mode and IPsec ESP-mode?
</I>
Look at the documentation for FreeS/WAN at <A HREF="http://www.freeswan.org/">http://www.freeswan.org/</A>

IPsec is a protocol to do encryption and authentication of packets at the
IP-level. IPsec AH-mode provides only authentication, but authenticates
packet headers as well as their payload. This directly conflicts with NAT,
as NAT changes the packet headers. IPsec ESP-mode provides authentication as
well as encryption, but does not authenticate the outer packet's headers,
and therefore can be used over NAT-ed conections.

Doei, Arthur.

-- 
  /\    / |      <A HREF="mailto:arthurvl@sci.kun.nl">arthurvl@sci.kun.nl</A>      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching



</PRE>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-27 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-25 17:43 [LARTC] I need some advice billy
2001-01-26 10:26 ` Arthur
2001-01-26 18:34 ` billy
2001-01-27 11:15 ` Arthur

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.