Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15133

General • Re: PPPoE over vlan

$
0
0
I don't think I understand the problem clearly.
PPPoE is the virtual interface so you can have, in this situation, multiple connections on the same interface.
Code:
/interface pppoe-clientadd add-default-route=yes disabled=no interface=sfp1-vlan35 name=pppoe-out1 use-peer-dns=yes user=useradd add-default-route=yes disabled=no interface=sfp1-vlan35 name=pppoe-out2 use-peer-dns=yes user=other-user
If you want to have the ISP connection forwarded so you can connect on another device just pass the vlan(in this case 35), you do not need 2 bridges.

CRS125
Code:
/interface bridgeadd admin-mac=CC:2D:E0:99:AF:AD auto-mac=no comment=defconf name=bridge port-cost-mode=short protocol-mode=none vlan-filtering=yes/interface vlanadd interface=bridge name=vlan35 vlan-id=35/interface pppoe-clientadd add-default-route=yes disabled=no interface=vlan35 name=pppoe-out1 use-peer-dns=yes user=********/interface bridge portadd bridge=bridge comment=defconf interface=ether2 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether3 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether4 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether5 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether6 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether7 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether8 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether9 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether10 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether11 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether12 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether13 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether14 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether15 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether16 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether17 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether18 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether19 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether20 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether21 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether22 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether23 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=ether24 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=sfp1 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf interface=wlan1 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether1 internal-path-cost=10 path-cost=10/interface bridge vlanadd bridge=bridge vlan-ids=35 tagged=bridge,ether1,sfp1
CRS328
Code:
/interface bridgeadd admin-mac=78:9A:18:68:59:00 auto-mac=no comment=defconf name=bridge port-cost-mode=short protocol-mode=none vlan-filtering=yes/interface vlanadd interface=bridge name=vlan35 vlan-id=35/interface pppoe-clientadd add-default-route=yes disabled=no interface=vlan35 name=pppoe-out1 use-peer-dns=yes user=**********/interface bridge portadd bridge=bridge comment=defconf ingress-filtering=no interface=ether1 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether2 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether3 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether4 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether5 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether6 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether7 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether8 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether9 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether10 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether11 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether12 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether13 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether14 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether15 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether16 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether17 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether18 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether19 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether20 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether21 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether22 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether23 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether24 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus1 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus2 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus3 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus4 internal-path-cost=10 path-cost=10/interface bridge vlanadd bridge=bridge vlan-ids=35 tagged=bridge,ether1
In the above configuration you pass vlan 35 to the second switch and you will have 1 pppoe connection on one switch and the other pppoe connection on the second switch.
By default vlan 1 is implied and passed around as untagged traffic because of the default settings in
/interface bridge port
The vlan tab on the port will be by default PVID 1 and Frame Type admit all
This will appear in the /interface bridge vlan as dynamically created

Statistics: Posted by RhoAius — Thu Feb 22, 2024 11:56 am



Viewing all articles
Browse latest Browse all 15133

Trending Articles