Skip to contentSkip to conversation

bridge between ppp and ethernet - 1 IP address and assign it to another host

DISCUSSION bert hubert 2 participants 2 messages Mar 5, 2005 – Mar 16, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services
#1 lore raw
Quoted 16 lines · bert hubert

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?

Quoted 8 lines

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.

Signature · 1 line
Horms