[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nslu2: two devices: one by default



En/na Lennart Sorensen ha escrit:

# script wlan0

produces

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.0.0 U 0 0 0 wlan0
localnet        *               255.255.0.0     U     0      0        0 eth0
default 172.26.0.1 0.0.0.0 UG 0 0 0 wlan0
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?

Thanks,
Xan.


Reply to: