I have a weird problem:
I can't get the wrt to accept a nonstandard netmask.
I have an interface with a /27 netmask:
vlan0 Link encap:Ethernet HWaddr 00:0F:66:HI:DD:EN
inet addr:10.97.1.6 Bcast:10.255.255.255 Mask:255.255.255.224
(I deleted the bridge originally present, but the same happens when aliassing the br0 interface).
But judging from the arp requests it broadcasts (or doesn't, depending on the situation), it seems to think it's on a /8 network.
For example, with that 10.97.1.6/27 it tries to adress for instance 10.0.1.1 directly on the interface, instead of going trough the default route.
The routing table looks ok too:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.97.1.0 0.0.0.0 255.255.255.224 U 0 0 0 vlan0
0.0.0.0 10.97.1.1 0.0.0.0 UG 0 0 0 vlan0
This is only my first day of playing with openwrt, so maybe I'm missing something important, but I don't see why it behaves like this... :shock:
EDIT: the device acts like it's on a /8, not /16 like I originally wrote