MROUTED: Problem with vif installation

Nazeem نجم لدين nazeemnss at gmail.com
Thu Jan 28 07:48:24 UTC 2010


*GIVING MORE DETAILS:-

ifconfig gives:*

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=19b<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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=2009<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=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8<VLAN_MTU>
    ether 02:90:27:ef:72:9f
    ch 1 dma -1
fwip0: flags=8802<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=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=3<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=0
13:17:13.980 installing fxp0 (192.168.0.1 on subnet 192.168.0/24) as vif #1
- rate=0
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=0
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 = 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 نجم لدين <nazeemnss at gmail.com>wrote:

>
> I have build the kernel with MROUTING option. Cause without it mrouted does
> 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 at incunabulum.net>wrote:
>
>> Did you remember to kldload ip_mroute or build your kernel with 'options
>> MROUTING' ?
>>
>
>
>


More information about the freebsd-net mailing list