Hello!
I have following setup on host machine:
- eth1 - main interface
- eth2 - vRack interface
- vmbr0 - bridge to main interface (main external IP)
- vmbr1 - bridge to vRack interface (multiple external IPs available)
- vmbr2 - internal network (176.12.0.1 host IP)
- wg0 - wireguard interface (10.0.0.1 host IP)
Now i add new container and add two new interfaces to it:
- eth0 - with IP 172.16.0.2/24
- eth1 - with additional external IP (1.2.3.4 for example)
The problem is, i can't ping both. Either eth0 or eth1 is only working. How can i make with interfaces work at same time, so i can ping/work with 172.16.0.2 and 1.2.3.4 for same time?
What i want is, when i do:
ping google.com - it should ping over main eth0 interface
ping -S 1.2.3.4 google.com - it should ping over eth1 interface
Is that tpossible? I probably miss some routings, but can't figure which.
Thanks!
I have following setup on host machine:
- eth1 - main interface
- eth2 - vRack interface
- vmbr0 - bridge to main interface (main external IP)
- vmbr1 - bridge to vRack interface (multiple external IPs available)
- vmbr2 - internal network (176.12.0.1 host IP)
- wg0 - wireguard interface (10.0.0.1 host IP)
Now i add new container and add two new interfaces to it:
- eth0 - with IP 172.16.0.2/24
- eth1 - with additional external IP (1.2.3.4 for example)
The problem is, i can't ping both. Either eth0 or eth1 is only working. How can i make with interfaces work at same time, so i can ping/work with 172.16.0.2 and 1.2.3.4 for same time?
What i want is, when i do:
ping google.com - it should ping over main eth0 interface
ping -S 1.2.3.4 google.com - it should ping over eth1 interface
Is that tpossible? I probably miss some routings, but can't figure which.
Thanks!