> > > > A correct broadcast address is always needed.
> > > >
> > > > The line does not harm, feel free to remove it on your router ;)
> > >
> > > I don't thing we need the broadcast directive even if it does not
> > > harm. busybox uses "ip" to set up the ip address and if you do not set
> > > the broadcast, it's on the kernel to choose the correct one See
> > > different outputs in "ip addr show":
> > >
> > >     inet 192.168.213.1/24 brd 192.168.213.255 scope global eth1
> > >
> > > vs.
> > >
> > >     inet 192.168.213.1/24 scope global eth1
> > >
> > > If the kernel is buggy in this case, you should give me a concrete
> > > indication so we try to fix it. Perhaps you have a bug id or example to
> > > reproduce?
> >
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=251559
> >
> > Need to get time to reproduce on FreeWRT, last timeit was a Debian
> > Server I had problems with wrong calculated broadcast addresses.
>
> iface br0:0 inet static
>         address 1.2.3.157
>         netmask 255.255.255.248
>         # broadcast 1.2.3.159
>
> # ip addr show br0 label br0:0
>     inet 1.2.3.157/29 scope global br0:0
>
> # cat /proc/net/route  | grep br0
> [...]
> br0     98030201        00000000        0001    0       0       0       
> F8FFFFFF      0       0       0
> [...]
>
> F8FFFFFF = 255.255.255.248
>
> The Kernel does it right. We can drop the broadcast example lines.

Sorry, thats the netmask, not the broadcast address. How to check
this???

Dirk
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to