Hi,
I am running VyOS 1.1.5. I have two ISP’s. On the VyOS server, there is 2 GRE tunnels to another server, one tunnel for each ISP.
The relevant config looks like this:
Interface:
ethernet eth2 {
description "VLAN Trunk - Internet Access"
duplex auto
hw-id 00:50:56:a1:7e:95
smp_affinity auto
speed auto
vif 5 {
address 111.111.111.111/29
description "VL5 - Internet - Globe"
firewall {
local {
name Firewall-Internet-Local
}
}
}
vif 6 {
address 222.222.222.222/29
description "VL6 - Internet - PLDT"
disable
firewall {
local {
name Firewall-Internet-Local
}
}
}
}
tunnel tun20 {
address 192.168.5.10/30
description "management-gateway1.au - Globe"
encapsulation gre
local-ip 111.111.111.111
multicast disable
remote-ip xxx.xxx.xxx.xxx
}
tunnel tun21 {
address 192.168.5.14/30
description "management-gateway1.au - PLDT"
encapsulation gre
local-ip 222.222.222.222
multicast disable
remote-ip xxx.xxx.xxx.xxx
}
Under protocols static I have this:
route 0.0.0.0/0 {
next-hop 111.111.111.112 {
}
next-hop 222.222.222.223 {
}
}
When I take a tcpdump on eth2.6 I can see traffic going out being sourced from the eth2.5 IP.
Is there a way to force the traffic from the tunnel to use the correct outgoing interface?
Thanks