[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Routing to private IP on public LAN
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Routing to private IP on public LAN
- From: Saad Kadhi <bsdguy_(_at_)_docisland_(_dot_)_org>
- Date: Tue, 30 Jul 2002 12:26:40 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
On Mon, Jul 29, 2002 at 11:35:48PM -0700, Jordan Klein wrote:
> I am having a problem with creating a static host route. My local LAN has 2
> computers on it, plus an SDSL router/bridge. The SDSL router/bride is
> running in bridge mode (*sigh*) and has a private IP of 192.168.254.254.
> The rest of my LAN has public IP addresses provided by my ISP.
> Is this something that OpenBSD isn't capable of, or do I need to do
> something else? I attempted to also create an alias IP address on the same
> interface, placing it on the same subnet as the router/bridge, but to no
> avail, as well.
this should work. having an IP addr in the same subnet as the machine you are
trying to ping is mandatory in unix if you don't have a more generic route that
can take you to the target machine. This IP addr can be the real interface IP or
an alias. With this, you don't need a static route (it is automatically added).
make sure you that your alias is configured with a correct IP addr and netmask.
Saad -- [pgp keyid: 35592A6D http://pgp.mit.edu]
[pgp fingerprint: BF7D D73E 1FCF 4B4F AF63 65EB 34F1 DBBF 3559 2A6D]
# booth slave for hire
Visit your host, monkey.org