MT+ three LAN card + PPPOE in and out

Hi!

I have a config like this:

MT

3 LAN interface (LAN-1, LAN-2, LAN-3)

LAN-1 get connected to the internet , it's dial out with PPPOE-out and get I dynamic IP address.
LAN-2 (192.168.11.1): I 'd like to connect users to it, PPPOE server is on the LAN-2 Interface, The users get IP from pool.
LAN-3: (192.168.12.1) Like LAN-2, other PPPOE server on the LAN-3 interface, another pool.

I like to separate the LANs. But the users on LAN-2 and LAN-3 can't reach the internet (they get the IP from pool-connected). when I trace something the trace get to the MT and the trying...


The route table :

Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf

DST-ADDRESS PREFSRC G GATEWAY DIS INTERFACE

0 ADC 192.168.11.110/32 192.168.11.1
1 ADC 192.168.11.0/24 192.168.11.1 LAN-1
2 ADC 192.168.12.0/24 192.168.12.1 LAN-2
3 A S ;;; added by setup
0.0.0.0/0 r 192.168.11.254 LAN-1



When I connect to the Internet on LAN-1 there is a default route 0.0.0.0 to the Internet dynamic IP address.

What am I disconfig? Or what am I miss?

NAT? ROUTE table? BRIDGE the interfaces? Or what?

You’ll need to masquerade everything going out on LAN-1

That’s wrong as well… That’s definately not connected to the Internet.

Are you sure LAN-1 = Internet, LAN-2 = PPPOE, LAN-3 = PPPOE?

Thanks for the reply. Now It’s working!

Masquerading helps…thanks!!!

The route table shows only when I not connected. When I wrote the message I could not connect with PPPOE, so that"s why there is no add in in the route table…