public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] freeBSD sets wrong netmask for non-ABC class IP addresses
@ 2015-08-07  7:19 Lambrecht Jürgen
  2015-09-02 12:14 ` Lambrecht Jürgen
  0 siblings, 1 reply; 2+ messages in thread
From: Lambrecht Jürgen @ 2015-08-07  7:19 UTC (permalink / raw)
  To: ecos; +Cc: Deroo Stijn

Hi,

The FreeBSD network stack does not accept non-ABC class IP addresses, 
meaning that netmasks must be on 8-bit boundaries.
(ok, maybe 4-bit works, I did not test that).
For the interface definition, it is possible to set the correct netmask 
at run time (because it is from from the static configuration).
For the routing table, it is not possible. (I can share the code if needed)

We have those isolated/private networks:
- 172.24.0.0/13 -> netmaks 255.248.0.0 -> accepted netmask: 255.255.0.0
- 80.0.0.0/5 -> netmaks 248.0.0.0 -> accepted netmask: 255.0.0.0

Would anybody know how to fix this?

Kind regards,
Jürgen

-- 
Jürgen Lambrecht
R&D Associate
Mobile: +32 499 644 531
Twitter: JGRLambrecht
Tel: +32 (0)51 303045    Fax: +32 (0)51 310670
http://www.televic-rail.com
Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium
Company number 0825.539.581 - RPR Kortrijk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-02 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07  7:19 [ECOS] freeBSD sets wrong netmask for non-ABC class IP addresses Lambrecht Jürgen
2015-09-02 12:14 ` Lambrecht Jürgen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).