Community discussions

MikroTik App
 
Wyz4k
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

PPPOE and Bridges

Sat Aug 22, 2009 11:08 am

Hi there,

I am using an RB450 with ROS 3.28.

I am currently only using one ethernet port on the RB which is connected to a switch. My PCs and ADSL router are connected to the switch. I am dialing PPPOE connections from Ether1 on the RB. Everything is working.

I would like to expand this setup so that I can use the other ports of the RB as a switch and remove the switch from my setup.

I have created a simple bridge as follows:
0 R name="bridge1" mtu=1526 l2mtu=65535 arp=enabled
mac-address=00:0C:42:37:6A:F5 protocol-mode=none priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m

The MTU was originally 1500, but I changed it to 1492 (same as PPPOE connections) and then to 1526 to try and fix the issue which I will describe below.

use-ip-firewall: no
use-ip-firewall-for-vlan: no
use-ip-firewall-for-pppoe: yes

I have tried to enable the use-ip-firewall as well but this also did not help.

# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 X ether1 bridge1 0x80 10 none
1 I ether2 bridge1 0x80 10 none

PPPOE-Client
2 R ;;; international
name="pppoe-international" max-mtu=1492 max-mru=1492
mrru=disabled interface=ether1 user="username"
password="password" profile=default service-name="" ac-name=""
add-default-route=no dial-on-demand=no use-peer-dns=no allow=pap

3 X ;;; local
name="pppoe-local" max-mtu=1492 max-mru=1492 mrru=disabled
interface=ether1 user="username" password="password"
profile=default service-name="" ac-name="" add-default-route=no

The issue:
If I enable ether1 in /interface bridge port my PPPOE connections drop and are unable to reconnect.
If I then disable ether1 in /interface bridge port my PPPOE connections reconnect within a few seconds.

My ideal setup would be ADSL router on Ether1. With RB dialing PPPOE connections on Ether1.
Ether2-Ether5 acting as a switch, and allowing anybody connected to them to access the Internet via Ether1.

How can I fix the PPPOE issue I am seeing above?

Thanks in advance!
 
airnet
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Thu Feb 09, 2006 12:46 pm

Re: PPPOE and Bridges

Thu Aug 27, 2009 9:04 am

Put your PPPoE client(s) on bridge1 instead of ether1
 
Wyz4k
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: PPPOE and Bridges

Thu Aug 27, 2009 11:21 pm

Thank you! That works like a charm

Who is online

Users browsing this forum: Fogga, garyjduk and 25 guests