Re: nslu2: two devices: one by default
En/na Lennart Sorensen ha escrit:
# script wlan0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
localnet * 255.255.0.0 U 0 0 0
localnet * 255.255.0.0 U 0 0 0 eth0
default 172.26.0.1 0.0.0.0 UG 0 0 0
default 172.26.0.1 0.0.0.0 UG 0 0 0 eth0
Controlling 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?