Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2000 12:02:15 -0500
From:      mikel <mikel@ocsinternet.com>
To:        heistand@heistand.org
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bridgin/natd/ipfw question
Message-ID:  <3A2D1F97.8A3A0E0F@ocsinternet.com>
References:  <20001205150041.A31AF1B244@wendell.heistand.org>

next in thread | previous in thread | raw e-mail | index | archive | help

    Plan A. You need to set everything on the inside to fake IPs. Once that is
set use static NAT to map real IPs to the machines new fake ip.

    Plan B. add another nic to you gateway, and vlan the switch....

heistand@heistand.org wrote:

> Hi folks,
>
>                      gateway        switch
>                       |-----|         |
>                       |     |         |---- machines with real IPs
> ---- dsl line --------|     |---------|
>                Real IP|     |Real IP  |---- machines with fake IPs
>                       |-----|         |
>
> What I would like to do is have both the real IP machines and the fake IP
> machines downstream of the switch be able to get out to the world.
> At the moment I can only do one or the other.
> I am running the gateway box in bridging mode and with natd running.
> When I enable the ipfw divert rule then I can get out on the fake IPs
> but then the real ones stop getting out.  Without the ipfw divert
> then just the opposite happens.
> Anybody have a thought on how to get both to see the world at the
> same time?
>
> ps1: if your not using a fixed width font the ascii pic will look bad, sorry
> ps2: thanks to whoever fixed the bug in the bridging/ethernet driver code
>      so I can actually run in bridging mode without crashing.
>
> steve
>
> --
> Steve Heistand
> heistand@heistand.org
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2D1F97.8A3A0E0F>