I have what I hope is an easy question. I am evaluating vyos as a replacement to our aging Juniper routers.
I have a basic config with 2 interfaces, a default route, and source NAT.
interfaces {
ethernet eth0 {
address x.x.x.6/25
description OUTSIDE
hw-id a0:36:9f:0d:fe:09
}
ethernet eth6 {
address 172.16.0.1/22
description INSIDE
hw-id 64:00:6a:97:1c:b2
}
}
nat {
source {
rule 100 {
outbound-interface eth0
source {
address 172.16.0.0/22
}
translation {
address x.x.x.7-x.x.x.8
}
}
}
}
protocols {
static {
route 0.0.0.0/0 {
next-hop x.x.x.1 {
}
}
}
}
Where x.x.x.x is my actual public addresses, of course.
This works, but the initial translation seems VERY slow. I have a laptop connected on the with a static IP of 172.16.0.200, and when I point my browser at youtube.com, for example, it takes 10-20 seconds for the page to start loading. I am also unable to ping my next-hop router (x.x.x.1)
When I change the NAT translation to masquerade, it works immediately, without any delay. I am also now able to ping my next-hop router.
Anyone have any insight into what is going on here, or what I have misconfigured?