Date: Thu, 28 Aug 1997 18:11:41 +0200 (MET DST) From: Emmanuel Duros <Emmanuel.Duros@sophia.inria.fr> To: cmott@snake.srv.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mrouted configuration: overlapping subnets Message-ID: <199708281611.SAA01839@chouette.inria.fr> In-Reply-To: <Pine.BSF.3.96.970828085934.12639C-100000@darkstar.home> (message from Charles Mott on Thu, 28 Aug 1997 09:00:05 -0700 (MST))
next in thread | previous in thread | raw e-mail | index | archive | help
>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?199708281611.SAA01839>
