Difference between revisions of "Manual:Interface/EoIP"

From MikroTik Wiki
Jump to: navigation, search
m
(This is how to set up EoIP to bridge two (or more) Mikrotik routers for central PPPoE authentication)
Line 1: Line 1:
 
=This is how to set up EoIP to bridge two (or more) Mikrotik routers for central PPPoE authentication=
 
=This is how to set up EoIP to bridge two (or more) Mikrotik routers for central PPPoE authentication=
  
Using 2 routers called A and B that have an IP connection between them and B has 2 ethernet ports, i.e. you can ping B from A and A from B where the A facing eth port is called eth1 and its other port is called eth2.
+
Using 2 routers called R1 and R2 that have an IP connection between them and R2 has 2 ethernet ports, i.e. you can ping rB from R1 and R1 from R2 where the R1 facing eth port is called eth1 and its other port is called eth2.
  
1. create a new EoIP tunnel on A.<br>
+
1. create a new EoIP tunnel on R1.<br>
2. create a new EoIP tunnel on B, where the tunnel ID is the same as the one on A but the MAC addreses are different.<br>
+
2. create a new EoIP tunnel on R2, where the tunnel ID is the same as the one on R1 but the MAC addreses are different.<br>
3. Add a PPPoE server to the EoIP interface on A.<br>
+
4. create a new bridge on R1 and R2<br>
4. create a new bridge on B and add eth2 and the EoIP tunnel to the bridge.<br>
+
3. add a PPPoE server to the Bridge on R1.<br>
 +
4. on R2 and add eth2 and the EoIP tunnel to the bridge.<br>
 
5. put an IP address onto eth2 (any address seems to work, but it maybe better to use a different subnet for routing purposes).<br>
 
5. put an IP address onto eth2 (any address seems to work, but it maybe better to use a different subnet for routing purposes).<br>
  
Now you should be able to establish a PPPoE connection from a PC plugged into the eth2 port on router B, this PPPoE connection will terminate on router A.
+
Now you should be able to establish a PPPoE connection from a PC plugged into the eth2 port on router R2, this PPPoE connection will terminate on router R1.
  
This is not the most efficient method of using the available bandwidth on a network, but is perhaps easier than having a PPPoE A/C on every Mikrotik router and using RADIUS.
+
This is not the most efficient method of using the available bandwidth on a network, but is perhaps easier than having a PPPoE A/C on every Mikrotik router and using RADIUS as you can just have PPP secrets setup on one router.

Revision as of 11:58, 23 December 2005

This is how to set up EoIP to bridge two (or more) Mikrotik routers for central PPPoE authentication

Using 2 routers called R1 and R2 that have an IP connection between them and R2 has 2 ethernet ports, i.e. you can ping rB from R1 and R1 from R2 where the R1 facing eth port is called eth1 and its other port is called eth2.

1. create a new EoIP tunnel on R1.
2. create a new EoIP tunnel on R2, where the tunnel ID is the same as the one on R1 but the MAC addreses are different.
4. create a new bridge on R1 and R2
3. add a PPPoE server to the Bridge on R1.
4. on R2 and add eth2 and the EoIP tunnel to the bridge.
5. put an IP address onto eth2 (any address seems to work, but it maybe better to use a different subnet for routing purposes).

Now you should be able to establish a PPPoE connection from a PC plugged into the eth2 port on router R2, this PPPoE connection will terminate on router R1.

This is not the most efficient method of using the available bandwidth on a network, but is perhaps easier than having a PPPoE A/C on every Mikrotik router and using RADIUS as you can just have PPP secrets setup on one router.