Hello,
I have set up a gre tunnel to connect to our private network which works fine. The primary interface has a secondary IP assigned of 10.9.16.1 (as alias0) and I have set up a route of 10.0.0.0/8 to gre0 tunnel.
When I try to access or ping a host inside the network, the packets are sent with the source of the IP of the gre tunnel.
[cmd=]ping -S 10.9.16.1 10.9.7.102[/cmd] works fine.
What's the FreeBSD way of fixing this issue? In Linux IP route has an option src that can be used but the route command from FreeBSD doesn't support it.
I have set up a gre tunnel to connect to our private network which works fine. The primary interface has a secondary IP assigned of 10.9.16.1 (as alias0) and I have set up a route of 10.0.0.0/8 to gre0 tunnel.
Code:
10.0.0.0/8 192.168.20.6 UGS 0 2 gre0
[cmd=]ping -S 10.9.16.1 10.9.7.102[/cmd] works fine.
What's the FreeBSD way of fixing this issue? In Linux IP route has an option src that can be used but the route command from FreeBSD doesn't support it.