Community discussions

MikroTik App
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

MT+ three LAN card + PPPOE in and out

Fri Jan 27, 2006 2:17 pm

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 <pppoe-user>
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?
 
savage
Forum Guru
Forum Guru
Posts: 1264
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Tue Jan 31, 2006 5:53 am

You'll need to masquerade everything going out on LAN-1
 
savage
Forum Guru
Forum Guru
Posts: 1264
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: MT+ three LAN card + PPPOE in and out

Tue Jan 31, 2006 6:01 am

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 <pppoe-user>
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
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?
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Tue Jan 31, 2006 10:00 am

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...

Who is online

Users browsing this forum: anav, erlinden, holvoetn, joris77, muztahidultanim, spookymulder84, zlowred and 60 guests