You are not logged in.
Hello,
I have 2 interfaces eth0 and wlan0
eth0 is connected to network with limited access outside(high bandwidth).
wlan0 is connected to network with unlimited access outside(low bandwidth).
What I want to achieve is to route specified ip via wlan0
I tried to route by "add" but it didn't work.
Please help.
ip route add x.x.153.202 via 192.168.1.73
[root@lukasz-dell7720 lukasz]# ip route list
default via 192.168.10.1 dev enp3s0 metric 202
default via 192.168.1.1 dev wlp2s0 metric 303
x.x.153.202 via 192.168.1.73 dev wlp2s0
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.73 metric 303
192.168.1.73 via 127.0.0.1 dev lo metric 303
192.168.10.0/24 dev enp3s0 proto kernel scope link src 192.168.10.149 metric 202
192.168.10.149 via 127.0.0.1 dev lo metric 202
Last edited by str0gg (2014-01-02 12:01:23)
Offline
Define "didn't work" -- the route you added is in the route table from what you've posted.
EDIT: Are you sure 192.168.1.73 is the correct gateway? Your other 2 gateways appear to be 192.168.10.1 and 192.168.1.1
Last edited by fukawi2 (2013-12-31 12:21:57)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
thanks I realized my mistake.
Offline