You are not logged in.
Hi,
I have configured the following interfaces to be run at the same time with netctl: eth0 and wlan0.
I'm attempting to route all of my traffic through eth0 and to only ever use wlan0 for specific IP addresses, never as a fallback as it's connected through my phone and I don't want any accidental excess data usage.
My netctl settings for wlan0:
Interface=wlan0
Connection=wireless
Security=wpa
IP=dhcp
ESSID='xxxxx'
Key='xxxxxx'
Routes=(
'a.b.c.d via 192.168.43.1'
'e.f.g.h via 192.168.43.1'
)
What I'm getting with ip route:
default via 192.168.0.1 dev eth0 src 192.168.0.12 metric 202
default via 192.168.43.1 dev wlan0 src 192.168.43.7 metric 304
a.b.c.d via 192.168.43.1 dev wlan0
e.f.g.h via 192.168.43.1 dev wlan0
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.12 metric 202
192.168.43.0/24 dev wlan0 proto kernel scope link src 192.168.43.7 metric 304
The routing is working fine. I know I can run
ip route delete default via 192.168.43.1
to remove the fallback but it reappears on reconnect. Is there an easy way to make it permanent?
Thank you
Offline
I'm now also realising that the routes aren't always working.
If I manually start the profile with "netctl start <profile>" the routes are added but not on an auto reconnect after the connection was lost.
Anyone able to help me with this?
Offline