From owner-freebsd-net Fri Apr 16 7:30:57 1999 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id D1831153FD; Fri, 16 Apr 1999 07:30:51 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id KAA25127; Fri, 16 Apr 1999 10:28:23 -0400 (EDT) (envelope-from wollman) Date: Fri, 16 Apr 1999 10:28:23 -0400 (EDT) From: Garrett Wollman Message-Id: <199904161428.KAA25127@khavrinen.lcs.mit.edu> To: Dimitri Tombroff Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Default route for multicast IP addresses In-Reply-To: <37171C7A.1D6F5A02@sun.com> References: <37171C7A.1D6F5A02@sun.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > It seems that all multicast IP addresses are associated to the default > route. > I can't see what part of the routing kernel code does that, or what > initialisation utility/script > configure the routing table to obtain that behavior, The part that sets up a default route. A zero-bit-long mask matches all addresses -- that's what makes it a default route. If you want multicasts to go out some other interface, create a route specifically for them. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message