From owner-freebsd-questions Thu Aug 28 09:12:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA06884 for questions-outgoing; Thu, 28 Aug 1997 09:12:30 -0700 (PDT) Received: from chouette.inria.fr (chouette.inria.fr [138.96.24.103]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA06878 for ; Thu, 28 Aug 1997 09:12:23 -0700 (PDT) Received: by chouette.inria.fr (8.8.6/8.8.5) id SAA01839; Thu, 28 Aug 1997 18:11:41 +0200 (MET DST) Date: Thu, 28 Aug 1997 18:11:41 +0200 (MET DST) Message-Id: <199708281611.SAA01839@chouette.inria.fr> From: Emmanuel Duros To: cmott@snake.srv.net CC: freebsd-questions@FreeBSD.ORG In-reply-to: (message from Charles Mott on Thu, 28 Aug 1997 09:00:05 -0700 (MST)) Subject: Re: mrouted configuration: overlapping subnets Reply-to: Emmanuel.Duros@sophia.inria.fr Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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