netdev
[Top] [All Lists]

Re: bridge between ppp and ethernet - 1 IP address and assign it to anot

To: bert hubert <ahu@xxxxxxx>, netdev@xxxxxxxxxxx
Subject: Re: bridge between ppp and ethernet - 1 IP address and assign it to another host
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 16 Mar 2005 11:37:54 +0900
In-reply-to: <20050305220429.GA9335@xxxxxxxxxxxxxxx>
Mail-followup-to: bert hubert <ahu@xxxxxxx>, netdev@xxxxxxxxxxx
References: <20050305220429.GA9335@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Sat, Mar 05, 2005 at 11:04:30PM +0100, bert hubert wrote:
> Hi people,
> 
> I have an application that wants a Real IP Address, but for a variety of
> good reasons, I can't connect the machine to the internet directly.
> 
> So, I need this:
> 
> DSL - Linux - Windows PC
> 
> Where I need the Windows PC to think it has the real single IP addres
> assigned to me by the DSL provider. I run PPTP on the Linux box, which
> should not touch traffic for that IP address.
> 
> Now I know that several DSL routers are capable of this stunt, so we should
> be able to do this too. But how?
> 
> Linux is pretty stubborn in routing packets for its own IP address elsewhere
> (rightfully so). I previously spent some time on this with a lot of
> SNAT/DNAT trickery but it is not very pleasing, nor did it work.
> 
> What we're trying to do is a lot like building a bridge between ethernet and
> ppp, but not quite.
> 
> Anybody have ideas? If we find something I'll post it on http://lartc.org.

Have you tried using LVS with Direct Routing? It might do the trick
as long as the Windows PC can route outgoing packets directly through
the DLS router.

-- 
Horms

<Prev in Thread] Current Thread [Next in Thread>