jdd@dodin.org wrote:
Le 22/05/2017 à 05:21, Andrei Borzenkov a écrit :
default via 192.168.1.1 dev eth0 proto dhcp> 62.210.204.211 via 192.168.0.55 dev wlan0
This is wrong. To be able to talk to the outside world via wlan0 you should have gateway on this network, just like you have 192.168.1.1 on 192.168.1.0/24. You route should point to this gateway.
I want to access only the 62.210.204.211 (http://free-reseau.fr/ in fact) through wifi -if possible, of course.
of course I could change the network for a limited time, but I may have also the same need for some other domain from time to time
For Rodney:
"You'll need to set a static route to the service provider's network via the wifi interface, which will then override the default route used for everything else (a more specific route will always take precedence over a more general one, and the default is the "route of last resort")."
how can I do that only for a domain/IP?
ip route add that-ip-addr via gate-way-ip gate-way-ip is the one that is accessible over your wlan. -- Per Jessen, Zürich (15.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org