Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 1997 10:59:18 -0700 (MST)
From:      Charles Mott <cmott@snake.srv.net>
To:        Emmanuel Duros <Emmanuel.Duros@sophia.inria.fr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mrouted configuration: overlapping subnets
Message-ID:  <Pine.BSF.3.96.970828105509.12639F-100000@darkstar.home>
In-Reply-To: <199708281611.SAA01839@chouette.inria.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>      inet 138.96.200.2 netmask 0xffff0000 broadcast 138.96.255.255
> 
> de1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>      inet 138.96.184.17 netmask 0xfffffff0 broadcast 138.96.184.31
> 
> de2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970828105509.12639F-100000>