From owner-freebsd-hackers Mon Aug 21 10:44:54 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id KAA02481 for hackers-outgoing; Mon, 21 Aug 1995 10:44:54 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id KAA02464 for ; Mon, 21 Aug 1995 10:44:51 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15342(3)>; Mon, 21 Aug 1995 10:44:08 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177475>; Mon, 21 Aug 1995 10:44:01 -0700 To: "Michael C. Newell" cc: hackers@freebsd.org Subject: Re: Multicast on PPP devices In-reply-to: Your message of "Mon, 21 Aug 95 10:26:29 PDT." Date: Mon, 21 Aug 1995 10:43:47 PDT From: Bill Fenner Message-Id: <95Aug21.104401pdt.177475@crevenia.parc.xerox.com> Sender: hackers-owner@freebsd.org Precedence: bulk In message you w rite: >The ppp devices on 2.0.5 have the multicast bit set. When I run mrouted >it dies with the errors: > > Aug 21 13:14:40 sisyphus mrouted[8195]: warning - can't join group > 224.0.0.4 on interface 198.116.75.49: Can't assign requested address > Aug 21 13:14:40 sisyphus mrouted[8195]: warning - can't join group > 224.0.0.4 on interface 198.116.75.49: Can't assign requested address > Aug 21 13:14:40 sisyphus mrouted[8195]: setsockopt IP_MULTICAST_IF > 198.116.75.49: Can't assign requested address > Aug 21 13:14:40 sisyphus mrouted[8195]: setsockopt IP_MULTICAST_IF > 198.116.75.49: Can't assign requested address Well, you appear to have numbered your PPP interfaces the same as your ethernet interface. The BSD multicast routing code requires each interface to be in a different subnet. (There's some chance that the restriction can be relaxed to "have a different IP address", meaning that you could use several addresses out of the same subnet, but each interface definitely needs its own source address.) Barring that, someone seems to have changed the INADDR_TO_IFP macro in netinet/in_var.h to only search destination addresses, rather than local addresses, on point-to-point interfaces. This will cause mrouted no end of grief. I will check out the problem with disabling the phyint when it's down; I would have thought that should work. Unfortunately, unless you want to renumber your ppp interfaces and change netinet/in_var.h, you won't be able to use native multicast over your point-to-point interfaces. Bill