Answer the question
In order to leave comments, you need to log in
How to set a route through a specific interface and tunnel?
There is a physical eth0 (192.168.1.4), a virtual interface veth0 (192.168.3.1) and a network namespace "NS" which uses veth0 as the gateway. In NS mode, a vpn tunnel (192.168.9.68) has been raised, through which there is a route to addresses 10.5.0.x. That is, from under NS you can reach 10.5.0.43.
How to determine the route from the space 192.168.1.4 to the address 10.5.0.43?
trite route add 10.5.0.43 via 192.168.3.1 dev veth0 does not work
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question