From owner-freebsd-questions Mon Feb 13 17:40:12 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA06568 for questions-outgoing; Mon, 13 Feb 1995 17:40:12 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id RAA06560 for ; Mon, 13 Feb 1995 17:40:10 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA08596; Mon, 13 Feb 1995 20:39:59 -0500 Date: Mon, 13 Feb 1995 20:39:59 -0500 From: Garrett Wollman Message-Id: <9502140139.AA08596@halloran-eldar.lcs.mit.edu> To: Mike Hench Cc: freebsd-questions@freefall.cdrom.com Subject: broadcasts and routing In-Reply-To: <199502140058.SAA03011@kelvin.cae.uwm.edu> References: <199502140058.SAA03011@kelvin.cae.uwm.edu> Sender: questions-owner@FreeBSD.org Precedence: bulk < said: > how does one go about sending an ip with a dest of 255.255.255.255 > out 1 or all interfaces ? > i want: > inet-> 255.255.255.255 && enet->ff:ff:ff:ff:ff:ff This is an interesting question. I personally don't have time to look into it right now, but if you would please file a bug report on it (using `send-pr'), it will get put in the database for the next time somebody gets up the courage to examine this bit of code. If you'd care to investigate this on your own, I'd put a check in ether_output() just before it calls arpresolve() to see if the M_BCAST or M_MCAST flags are set on the mbuf, and if the destination IP address is what you expected. Then, follow the chain back to ip_output() and in_broadcastaddr() if these are wrong. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant