I'm looking for a solution to proxify all the outgoing connections through several network interfaces so that they would appear to come from different IP's and I'm using Ubuntu 18.04 EC2's.
What I tried was creating an instance, assigning two network interfaces and attaching elastic IP's to both of them. Next I went for creating the bond, however, it doesn't seem to be working properly as I can't connect to the instance anymore.
Here's my netplan bond.yaml
network: version: 2 ethernets: eth0: dhcp4: no match: macaddress: 0a:02:a8:33:c8:4a set-name: eth0 eth1: dhcp4: no match: macaddress: 0a:90:d2:4c:a5:a8 set-name: eth1 bonds: bond0: dhcp4: yes interfaces: - eth0 - eth1 parameters: mode: balance-rr
It seems to be validated just fine. Am I missing something or there could be a different approach?