
AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers
151
RouterOS v3 Configuration and User Guide
The EoIP interface appears as an Ethernet interface under the interface list.
This interface supports all features of an Ethernet interface. IP addresses and other tunnels may be run
over the interface.
The EoIP protocol encapsulates Ethernet frames in GRE (IP protocol number 47) packets (just like PPTP)
and sends them to the remote side of the EoIP tunnel.
Maximal number of EoIP tunnels is 65536.
WDS significantly faster than EoIP on wireless links (up to 10-20%), so it is recommended to use WDS
whenever possible.
8.1.2
EoIP Setup
Submenu level:
/interface eoip
Property Description
arp
(disabled | enabled | proxy-arp | reply-only; default:
enabled
) - Address Resolution Protocol
mac-address
(
MAC address
) - MAC address of the EoIP interface. You can freely use MAC addresses
that are in the range from
00-00-5E-80-00-00
to
00-00-5E-FF-FF-FF
mtu
(
integer
; default:
1500
) - Maximum Transmission Unit. The default value provides maximal
compatibility
name
(
name
; default:
eoip-tunnelN
) - interface name for reference
remote-address
- the IP address of the other side of the EoIP tunnel - must be a RouterOS router
tunnel-id
(
integer
) - a unique tunnel identifier
tunnel-id
is method of identifying tunnel. There should not be tunnels with the same
tunnel-id
on the
same router.
tunnel-id
on both participant routers must be equal.
mtu
should be set to 1500 to eliminate packet refragmentation inside the tunnel (that allows
transparent bridging of Ethernet-like networks, so that it would be possible to transport full-sized
Ethernet frame over the tunnel).
When bridging EoIP tunnels, it is highly recommended to set unique MAC addresses for each tunnel for
the bridge algorithms to work correctly. For EoIP interfaces you can use MAC addresses that are in the
range from
00-00-5E-80-00-00
to
00-00-5E-FF-FF-FF
, which IANA has reserved for such cases.
Alternatively, you can set the second bit of the first byte to mark the address as locally administered
address, assigned by network administrator, and use any MAC address, you just need to ensure they are
unique between the hosts connected to one bridge.
Example
To add and enable an EoIP tunnel named
to_mt2
to the
10.5.8.1
router, specifying
tunnel-id
of
1
:
[admin@AT-WR4562] interface eoip> add name=to_mt2 remote-address=10.5.8.1 \
\... tunnel-id 1
[admin@AT-WR4562] interface eoip> print
Flags: X - disabled, R - running
0 X name="to_mt2" mtu=1500 arp=enabled remote-address=10.5.8.1 tunnel-id=1
[admin@AT-WR4562] interface eoip> enable 0
[admin@AT-WR4562] interface eoip> print
Flags: X - disabled, R - running
0 R name="to_mt2" mtu=1500 arp=enabled remote-address=10.5.8.1 tunnel-id=1
[admin@AT-WR4562] interface eoip>