Subject: Re: ip-masquerading.natd,ip-aliasing ....
To: andrea <andrea.franceschini@linet.it>
From: Paul Goyette <paul@whooppee.com>
List: tech-net
Date: 12/02/1998 04:24:07
No problem, I do the same thing at home, with both routable and
non-routable networks on my LAN, both forwarded out my ppp link.
1. Configure your NetBSD box with 2 addresses on the LAN interface.
Put the "routable" address in your ifconfig.<interface> file. And
put the non-routable address in your ifaliases file:
172.16.1.1 ex0 255.255.0.0
2. Then just configure NAT to translate from the non-routable network
to the real one.
map ppp0 172.16.249.206/32 -> 209.182.147.67/32
On Wed, 2 Dec 1998, andrea wrote:
> Hi
>
> I'm looking for a way to configure my intranet using natd.
> The problem is that the configuration that i need is a little unsual and i
> wonder if is applicable.
>
> The configuration is as follow:
>
> On the Same LAN :
>
> 1 - Web Server (with routable Ip-address)
> 2 - Mail Server ( "" "" "" )
> 3 - 1 router connected to the InterNet.
> 4 - Many other boxes with not Routeble ip addresses (192.168.. )
>
> So i have 2 subnet on the same phisical net.
>
> What i'm wondering is:
>
> It's possible to share in the same phisical Lan( eg without gateway with 2+
> Ether Card) between 2
> networks?
>
> I'have tried assigning 2 ip address at the same interface ,and using this
> machine as a gateway
> on the same phisical net.
>
> So the first half of the LAN have direct access to Internet, second half
> have to use the gateway
> with natd (or SOCK ,or other proxy solutions).
>
> But it doesn't work :(
>
> There's a way to implement the above,or i must change mind..?
>
> P.S. Forgive me if what i'have written is sense-less,i'm a newbie:)
> P.P.S (Sorry for English)
>
>
>
>
>
>
>
-----------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | paul.goyette@ascend.com |
-----------------------------------------------------------------------------