From owner-freebsd-questions Thu Aug 28 11:00:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA12498 for questions-outgoing; Thu, 28 Aug 1997 11:00:13 -0700 (PDT) Received: from srv.net (snake.srv.net [199.104.81.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA12490 for ; Thu, 28 Aug 1997 11:00:09 -0700 (PDT) Received: from darkstar.home (dialin1.anlw.anl.gov [141.221.254.101]) by srv.net (8.8.5/8.8.5) with SMTP id LAA13049; Thu, 28 Aug 1997 11:59:51 -0600 (MDT) Date: Thu, 28 Aug 1997 10:59:18 -0700 (MST) From: Charles Mott X-Sender: cmott@darkstar.home To: Emmanuel Duros cc: freebsd-questions@FreeBSD.ORG Subject: Re: mrouted configuration: overlapping subnets In-Reply-To: <199708281611.SAA01839@chouette.inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Well, now that I look at it, the /16 subnet does overlap the two /28 subnets, which explains the error message. I don't know exactly how to fix your problem. On Thu, 28 Aug 1997, Emmanuel Duros wrote: > > >Have you properly set the netmask in your ifconfig lines? > > I think so, here they are: > > ifconfig -a: > > de0: flags=8843 mtu 1500 > inet 138.96.200.2 netmask 0xffff0000 broadcast 138.96.255.255 > > de1: flags=8843 mtu 1500 > inet 138.96.184.17 netmask 0xfffffff0 broadcast 138.96.184.31 > > de2: flags=8843 mtu 1500 > inet 138.96.184.33 netmask 0xfffffff0 broadcast 138.96.184.47 > > Emmanuel > > > > > I am trying to run mrouted on a freeBSD router (2.2.1-RELEASE) > > for experimentation purposes. > > > > The router has several subnets and is configured as follow: > > > > > > 138.96.184.16/28 ---------- 138.96.184.32/28 > > -----------------| router |-------------------- > > de1 ---------- de2 > > |de0 > > |138.96.0.0/16 > > > > > > de0 = 138.96.200.2 > > de1 = 138.96.184.17 > > de2 = 138.96.184.33 > > > > the /etc/mrouted.conf is as follow: > > ------ > > #/etc/mrouted.conf > > > > # do not use interface de0 > > # only want to forward multicast between de1 and de2 > > > > phyint de0 disable > > ----- > > > > and when I start mrouted I get the following messages: > > > > $ mrouted -d 3 > > > > debug level 3 > > 14:59:58.491 mrouted version 3.8a > > 14:59:58.503 Getting vifs from kernel interfaces > > 14:59:58.504 installing de0 (138.96.200.2 on subnet 138.96/16) as vif #0 - rate=0 > > 14:59:58.504 warning - ignoring de1, same subnet as de0 > > 14:59:58.505 warning - ignoring de2, same subnet as de0 > > 14:59:58.505 Getting vifs from /etc/mrouted.conf > > 14:59:58.506 can't forward: no enabled vifs > > > > whereas I specify in the mrouted.conf file that I do not take into > > account the de0 interface. > > > > Is there a way to configure mrouted to ignore the interface de0 without > > having to change de1 and de2 network numbers? > > > > thankx, > > Emmanuel >