En/na Lennart Sorensen ha escrit:
# script wlan0 produces # route Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.0.0 U 0 0 0 wlan0localnet * 255.255.0.0 U 0 0 0 eth0default 172.26.0.1 0.0.0.0 UG 0 0 0 wlan0default 172.26.0.1 0.0.0.0 UG 0 0 0 eth0Controlling the order seems tricky.
How can I reorder them? via route command? All wlan0 //at top//
Simpler setup is to just use different IPs and subnets on eth and wlan, although if both come from the same network that doesn't work of course.
Different subnets is not an option, I think. I have a router which is the local gateway 172.26.0.1, mask 255.255.0.0. If I change mask in 172.26.0.2 (eth0) or 172.26.0.3 (wlan0), the router will be unreacheable.
How can I do that? Thanks, Xan.