However, these IPs are all on a "physical" ethernet port. I have 4 public IPv4 over the same interface (ether2).
I need to create 4 different EoIP tunnels to the same address, but I would like to make these 4 tunnels go to different gateways. Because each of these gateways has its own bandwidth limit. After configuration, I found that all 4 tunnels are actually going to the same gateway (The activate route).
Here is the structure I would like to achieve:
But here is the structure it current is:
Here are my configurations:
Code: Select all
[admin@MikroTik] /interface> print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE ACTUAL-MTU L2MTU MAX-L2MTU
0 R ether1 ether 1500
1 R ether2 ether 1500
2 X Bonding-Amherst bond 1500 65535
3 R EoIP-Amherst1 eoip 1458 65535
4 R EoIP-Amherst2 eoip 1458 65535
5 R EoIP-Amherst3 eoip 1458 65535
6 R EoIP-Amherst4 eoip 1458 65535
7 X vlan1 vlan
8 R vlan2 vlan 1500
9 R vlan3 vlan 1500
10 R vlan4 vlan 1500
[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 39.108.236.102/20 39.108.224.0 ether2
1 119.23.243.124/20 119.23.240.0 vlan3
2 120.79.186.223/19 120.79.160.0 vlan4
3 47.106.64.237/19 47.106.64.0 vlan2
4 D 172.16.0.38/24 172.16.0.0 ether1
[admin@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 S 0.0.0.0/0 120.79.191.253%... 3
1 ADS 0.0.0.0/0 172.16.0.253 1
2 S 0.0.0.0/0 39.108.239.247 2
3 S 0.0.0.0/0 119.23.255.247%... 3
4 S 0.0.0.0/0 47.106.95.253%v... 3
I found that the EoIP IP packet header contains tunnel ID, but I don't know how to route the packet based on specific bytes on the header.
Any suggestions would be appreciable. Thank you.