EoIP layer2

Hey all

((sorry if i am posting in the wrong forum)please move my post admin)

How to do EoIP? Yes I know the n00b should start with search the web

But the n00b did not find what he was looking for

So how do I do EoIP?
At my house I got a mikrotik router

At my sister’s house she got a combined modem and router from there ISP
my plan is to put a computer with routerOS on her network and not change any of her devices config. Is that possible (need to talk with her devices at a Layer 2)???

or do I need to put everything behind the computer with routerOS??

-The n00b

EoIP only works with Mikrotik routers on both ends. :slight_smile:

-tp

it is mikrotik routerOS I mean

And for what you Need EOIP?
What do. You want to do?

try to do and you will find out.

The only one reason for EoIP would be PPPoE on the other end, but I don’t think you need this.

Layer2 between two locations that are otherwise independent of each other is almost always a bad idea.
Go for a routed connection instead (use GRE tunnel interfaces, put a /30 of private IP addressing on the link, and route each site’s LAN addresses across the tunnel.

If you use 192.168.1.X/24 at your house and your sister’s house uses 192.168.2.X/24, here’s a quick example of what to do:

Your house:
/ip address add address=192.168.255.1/30 interface=gre1
/ip route add dst=192.168.2.0/24 gateway=192.168.255.2

Sister’s house:
/ip address add address=192.168.255.2/30 interface=gre1
/ip route add dst=192.168.1.0/24 gateway=192.168.255.1

Then make sure the NAT rules won’t apply to packets going through the tunnel interfaces, and also make sure that the FILTER rules permit packets in/out of the tunnel interfaces, and you’ll be set.

The #1 reason layer 2 is bad is that both sides will have their own DHCP server, and these will fight each other for supremacy. (Like Highlander, there can be only one) - If you must use layer 2, then perhaps only the device requiring layer2 can be bridged, while the rest of your sister’s LAN can be its own network.