Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2005 15:33:28 +0100
From:      Guido van Rooij <guido@gvr.org>
To:        freebsd-net@freebsd.org
Subject:   loopback device types and netmask
Message-ID:  <20050120143328.GA6732@gvr.gvr.org>

next in thread | raw e-mail | index | archive | help

It seems that the netmask is ignored on loopback type devices.
Especially with the discard device this is annoying.
If one has a discard interface with the following settings:
disc0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 65532
        inet 10.100.100.1 netmask 0xffffff00
only 10.100.100.1 is sent to the discard device. All the others
need to be explcitly routed towards it.
This seems non-intuitive.
A quick glance through the code didn't reveil where/how to fix this.

Anyone?

-Guido



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050120143328.GA6732>