netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Leduc" <marled3@hotmail.com>
To: Antony@Soft-Solutions.co.uk
Cc: netfilter@lists.netfilter.org
Subject: Re: Problem behind my DMZ
Date: Sat, 10 Jan 2004 13:26:45 +0000	[thread overview]
Message-ID: <Law9-F98nYrdH1ofVE100016b62@hotmail.com> (raw)

On Friday 09 January 2004 9:54 am, Martin Leduc wrote:

>The /32 and /28 netmasks operate quite simply:
>On one interface you use a /32 netmask, which means there is only one 
>accessible IP on that network - that of the router leading to the Internet.

>On the other interface you use a /28 netmask, which means there are 16 IP 
>addresses (14 usable) accessible on that network.

>Linux uses its routing table entries from most specific to least specific, 
>so if a packet for the one IP address on the /32 network needs to be 
>routed, it will go in the direction of the Internet.   If a packet for any 
>other address in your public IP range needs to be routed, it won't match 
>the /32 but it will match the /28, so it will go to the internal network.

Ok,  so if I understand correctly, my home internet ISP who provide me the 
route:

67.68.181.1     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
0.0.0.0         67.68.181.1     0.0.0.0         UG    0      0        0 ppp0

have is 67.68.181.1 on his internet network and we are all connect into a 
master switch behind this router, i'm able to ping 67.68.181.2, .3, .4, .5, 
etc...

It is possible to do something like

                     LAN1                       ---------------
192.168.1.1--------------192.168.1.2 |  BOX 1 |  192.168.1.3
                                                 ---------------             
  |
                                                                             
  |  LAN 2
                                                                             
  |
                                                                 192.168.1.4

I know I can use Ramin solution, but can we? it is possible?

It is possible to create this topology using Linux BOX?  I have already do 
it using CISCO Router with the IGRP protocol.  I know I can use RIP too.

                     LAN                       ---------------
192.168.1.X--------------192.168.1.1 |  BOX 1 |  10.0.0.1 |
                                                 ---------------             
  |
                                                                             
  |
                                                                             
|   NET
                                                                             
  |
                     LAN                       ---------------              
|
192.168.2.X--------------192.168.2.1 |  BOX 2 |  10.0.0.2 |
                                                 ---------------             
  |
                                                                             
  |
                                                                             
  |  10.0.0.3
                                                                        
-------------
                                                                       | BOX 
3  |
                                                                       
--------------
                                                                             
|
                                                                             
|
                                                                   INTERNET 
PUBLIC IP

192.168.1.X PING 192.168.2.X PING INTERNET PUBLIC IP

I guess I need routed deamon to do that, no? RIP is supported by routed.

>The fact that the two network ranges overlap does not matter (despite what 
>you may read in introductory networking books - this is beyond introductory 
>networking).

>Regards,

Best regards, and thanks for your time and help, I appreciate it.

>Antony.

Martin

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/



             reply	other threads:[~2004-01-10 13:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-10 13:26 Martin Leduc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-12 12:08 Problem behind my DMZ Martin Leduc
2004-01-10 12:55 Martin Leduc
2004-01-09  9:54 Martin Leduc
2004-01-09 10:57 ` Antony Stone
2004-01-09 15:26 ` Ramin Dousti
2004-01-09  2:19 Martin Leduc
2004-01-09  4:14 ` Ramin Dousti
2004-01-08 17:46 Martin Leduc
2004-01-08 17:53 ` Antony Stone
2004-01-08 17:12 Martin Leduc
2004-01-08 17:22 ` Antony Stone
2004-01-08 15:53 Martin Leduc
2004-01-08 16:16 ` Antony Stone
2004-01-08 18:10   ` Ramin Dousti
2004-01-08 17:17     ` Antony Stone
2004-01-08 19:18       ` Ramin Dousti
2004-01-08  0:19 Martin Leduc
2004-01-08  2:27 ` Chris Brenton
2004-01-08 16:31   ` Michael Gale

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=Law9-F98nYrdH1ofVE100016b62@hotmail.com \
    --to=marled3@hotmail.com \
    --cc=Antony@Soft-Solutions.co.uk \
    --cc=netfilter@lists.netfilter.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;
as well as URLs for NNTP newsgroup(s).