EoIP support in Linux

I wrote opensource implementation for EoIP in Linux, so now it is possible to link mikrotik in simple way to Linux. For me it was important, because i have some applications under Linux, and i need to bridge mikrotiks to that server some “light” way.

Is it ok for Mikrotik if i post link to it here? (it is on google code)

Since noone said no, here it is:
http://code.google.com/p/linux-eoip/

Nice job

Thanks

If it is required - this code can be extended, e.g. config file for multiple tunnels and etc.
If someone using FreeBSD, other flavors of BSD, QNX, Solaris - he can provide patch to make code portable, they have also tap device interface, similar to Linux one.
Actually even Windows has tap device, but coding for Windows is hassle :slight_smile:

Thanks a lot! This was very useful recently for performing a remote netinstall.

Hi !

I wonder if you could help shine some clearance on an issue I´ve got with linux-eoip 0.5.

I have one interface (zeoip0) with ip 172.16.20.1/30 configured and working fine with a Mikrotik (172.16.20.2/30) unit.

However when I add another interface (zeoip1) and configure that with ip 172.16.20.0.5/30 and other Mikrotik unit with 172.16.20.6/30 I cannot seem to get that working at all.

If I ping from Mikrotik I can see the traffic on my Linux using tcpdump, but not the other way around. There seems to be massive ARP problems from the Linux point of view.

172.16.20.5 shows up in the ARP table on Mikrotik on the EoIP interface, but on the Linux 172.16.20.6 is unknown.

I´ve tried to manually add the MAC address of the Mikrotik EoIP tunnel interface on the Linux, but to no avail.

I was under the impression that we could use linux-eoip for multiple tunnels, but it seems we cannot.

Do you have any solution to this ?

Regards from Johan

Hi !

I wonder if you could help shine some clearance on an issue I´ve got with linux-eoip 0.5.

I have one interface (zeoip0) with ip 172.16.20.1/30 configured and working fine with a Mikrotik (172.16.20.2/30) unit.

However when I add another interface (zeoip1) and configure that with ip 172.16.20.0.5/30 and other Mikrotik unit with 172.16.20.6/30 I cannot seem to get that working at all.

If I ping from Mikrotik I can see the traffic on my Linux using tcpdump, but not the other way around. There seems to be massive ARP problems from the Linux point of view.

172.16.20.5 shows up in the ARP table on Mikrotik on the EoIP interface, but on the Linux 172.16.20.6 is unknown.

I´ve tried to manually add the MAC address of the Mikrotik EoIP tunnel interface on the Linux, but to no avail.

I was under the impression that we could use linux-eoip for multiple tunnels, but it seems we cannot.

Do you have any solution to this ?

Regards from Johan