Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 13:18:22 +0530
From:      =?UTF-8?B?TmF6ZWVtINmG2KzZhSDZhNiv2YrZhg==?= <nazeemnss@gmail.com>
To:        Bruce Simpson <bms@incunabulum.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: MROUTED: Problem with vif installation
Message-ID:  <7609d8391001272348m624201aco31f9a9ff2b3eb4e6@mail.gmail.com>
In-Reply-To: <7609d8391001272323qa8694c0q9c716fc2e577eb47@mail.gmail.com>
References:  <7609d8391001270601m489ab6e6xe956d1539f2cbe4e@mail.gmail.com> <4B612997.8030505@incunabulum.net> <7609d8391001272323qa8694c0q9c716fc2e577eb47@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
*GIVING MORE DETAILS:-

ifconfig gives:*

em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=3D19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
    ether 00:1c:c0:00:d6:68
    inet 10.129.86.154 netmask 0xffff0000 broadcast 10.129.255.255
    media: Ethernet autoselect (100baseTX <full-duplex>)
    status: active
fxp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150=
0
    options=3D2009<RXCSUM,VLAN_MTU,WOL_MAGIC>
    ether 00:a9:40:0f:47:2f
    inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
    media: Ethernet autoselect (none)
    status: no carrier
fwe0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=3D8<VLAN_MTU>
    ether 02:90:27:ef:72:9f
    ch 1 dma -1
fwip0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    lladdr 0.90.27.0.1.ef.72.9f.a.2.ff.fe.0.0.0.0
plip0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=3D3<RXCSUM,TXCSUM>
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
    inet6 ::1 prefixlen 128
    inet 127.0.0.1 netmask 0xff000000


*mrouted.conf
*
tunnel 10.129.86.154 10.12.11.105

*
mrouted -d    gives:*

freebsd1# mrouted -d
debug level 0x2de (pruning,routing,peers,cache,interface,membership,igmp)
13:17:13.980 mrouted version 3.9-beta3+IOS12 starting
13:17:13.980 Getting vifs from kernel interfaces
13:17:13.980 installing em0 (10.129.86.154 on subnet 10.129/16) as vif #0 -
rate=3D0
13:17:13.980 installing fxp0 (192.168.0.1 on subnet 192.168.0/24) as vif #1
- rate=3D0
13:17:13.980 Getting vifs from /etc/mrouted.conf
13:17:13.980 installing tunnel from 10.129.86.154 to 10.12.11.105 as vif #2
- rate=3D0
13:17:13.980 Installing vifs in mrouted...
13:17:13.981 vif #0, phyint 10.129.86.154
13:17:13.981 assuming querier duties on vif 0
13:17:13.981 sending query on vif 0
13:17:13.981 SENT membership query   from 10.129.86.154   to 224.0.0.1
13:17:13.981 SENT neighbor probe     from 10.129.86.154   to 224.0.0.4
13:17:13.981 vif #1, phyint 192.168.0.1
13:17:13.982 assuming querier duties on vif 1
13:17:13.982 sending query on vif 1
13:17:13.982 SENT membership query   from 192.168.0.1     to 224.0.0.1
13:17:13.982 SENT neighbor probe     from 192.168.0.1     to 224.0.0.4
13:17:13.982 vif #2, tunnel 10.129.86.154 -> 10.12.11.105
13:17:13.982 SENT neighbor probe     from 10.129.86.154   to 10.12.11.105
vifs_with_neighbors =3D 0

Virtual Interface Table
Vif  Name  Local-Address                               M  Thr  Rate   Flags
 0    em0  10.129.86.154   subnet: 10.129/16           1   1      0
querier
                     IGMP querier: 10.129.86.154      (this system)
                      Nbr bitmaps: 0x0000000000000000

 1   fxp0  192.168.0.1     subnet: 192.168.0/24        1   1      0
querier
                     IGMP querier: 192.168.0.1        (this system)
                      Nbr bitmaps: 0x0000000000000000

 2    em0  10.129.86.154   tunnel: 10.12.11.105        1   1      0
rexmit_prunes old-tunnel
                      Nbr bitmaps: 0x0000000000000000


Multicast Routing Table (2 entries)
 Origin-Subnet      From-Gateway    Metric Tmr Fl In-Vif  Out-Vifs
 192.168.0/24                          1     0 C.   1    0*
 10.129/16                             1     0 C.   0    1*

13:17:19.211 aging forwarding cache entries
13:17:19.211 sending query on vif 0
13:17:19.211 SENT membership query   from 10.129.86.154   to 224.0.0.1
13:17:19.211 sending query on vif 1
13:17:19.211 SENT membership query   from 192.168.0.1     to 224.0.0.1
13:17:19.211 SENT neighbor probe     from 10.129.86.154   to 224.0.0.4
13:17:19.211 SENT neighbor probe     from 192.168.0.1     to 224.0.0.4
13:17:19.211 SENT neighbor probe     from 10.129.86.154   to 10.12.11.105
13:17:24.440 mrouted version 3.9-beta3+IOS12
13:17:24.440 Installing vifs in kernel...
13:17:24.440 vif #0, phyint 10.129.86.154
13:17:24.440 vif #1, phyint 192.168.0.1
13:17:24.440 vif #2, tunnel 10.129.86.154 -> 10.12.11.105
13:17:24.440 setsockopt MRT_ADD_VIF on vif 2: Operation not supported
freebsd1#




On Thu, Jan 28, 2010 at 12:53 PM, Nazeem =D9=86=D8=AC=D9=85 =D9=84=D8=AF=D9=
=8A=D9=86 <nazeemnss@gmail.com>wrote:

>
> I have build the kernel with MROUTING option. Cause without it mrouted do=
es
> not execute. But is this a problem with the tunnel creation as it says
> setsockopt MRT_ADD_VIF operation not permitted.
>
> The machine I use has 2 NICs. I have also enabled gateway "YES".
>
> I am trying to setup a multicast tunnel using mrouted. Anything I am
> missing or gone wrong? Is a tunnel to be setup in some other way first?
>
> -Nazeem
>
>
> On Thu, Jan 28, 2010 at 11:37 AM, Bruce Simpson <bms@incunabulum.net>wrot=
e:
>
>> Did you remember to kldload ip_mroute or build your kernel with 'options
>> MROUTING' ?
>>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7609d8391001272348m624201aco31f9a9ff2b3eb4e6>