On 6/12/23 2:48 AM, Matus UHLAR - fantomas wrote:
note that query-source settings affects source IP of packet, while "ip rule" affects outgoing interface (unless you also configure SNAT for those packets), so they are not exactly the same.

Late comment: `ip route` can have some influence on what the source IP is for traffic via it's `from` stanza.

This is commonly needed when you have things like VPNs between sites and you want the VPN gateway to originate traffic to the remote LAN from the local LAN interface, not the internet connection, thereby causing the traffic to match LAN to LAN configuration in the VPN.

(LAN A)---[.1 R1 .83]---(Internet)---[.77 R2 .1]---(LAN B)

Something like / from memory:

r1# ip route add $LANB via $GW from $LANA.1



Grant. . . .
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to