Skip to contentSkip to conversation

Forwarding PPPOE packets through Linux Router

DISCUSSION pravin rane 2 participants 2 messages Oct 20, 2005

lore
Share & tools
lore
#0 lore raw

Hi

I am having a Linux box running with kernel 2.4.20 . I am using it as a router. My Desktops machins are behind this router and on private segments. These Desktop machines dial a PPP connection over ethernet (PPPOE)to log on to some trusted Network. Some how Linux Rouer dont forward PPPoE request further.

When I configure this router in Birdge mode then these machines are able to connect and succssfully logs on net Network

I tried to MASQUERADE all traffic but it didnt worked out

Regards
Pravin

__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/

#1 lore raw
Quoted 9 lines · pravin rane

Desktop machines dial a PPP connection over ethernet (PPPOE)to log on to some trusted Network. Some how Linux Rouer dont forward PPPoE request further.

When I configure this router in Birdge mode then these machines are able to connect and succssfully logs on net Network

I tried to MASQUERADE all traffic but it didnt worked

Is there a question in this? Yes, you are correct. PPPoE takes place at layer 2, iptables operates at layer 3 as a TCP/IP controller. PPPoE is not TCP/IP. Set up as a bridge and you can do it. Use ebtables to control the bridged traffic.

http://en.wikipedia.org/wiki/PPPoE

Signature · 2 lines
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header