NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Two quick ipnat questions
On 2/15/08 10:09 AM, "Paul Goyette" <paul%whooppee.com@localhost> wrote:
> Here's a quick ASCII-art diagram:
>
> ISP
> | External Network
> -----------------------------
> | | | |
> | | | |
> WiFi AP NetBSD More stuff ...
> |
> | Internal Network
> -------------------------
> |
> |
> NeedToReach
>
> So, two questions:
>
> 1. Can I use ipnat on the NetBSD box, running it as a "one-armed
> router"?
>
No. If you can do vlans on your LAN, then you can do it with a single NIC,
otherwise no. There's no "route" (er, path?) through the NetBSD box. Even
if you set the default gw to be the NetBSD on the AP, ARP redirects will
quickly point it back to the real, ISP, gateway.
> 2. Can I use an external NAT address other than the address assigned
> to the NetBSD box? (IE, the interface on NetBSD is x.y.z.2 and I
> want to use x.y.z.99 for translated addresses). If I do this, will
> ipnat automatically add an arp entry so the ISP's router can find
> it, or will I have to manually publish the arp entry?
Home |
Main Index |
Thread Index |
Old Index