[Xorp-users] Cannot enable vif register_vif

Pavlin Radoslavov pavlin at icir.org
Mon Jun 4 10:25:21 PDT 2007


> Why is it I cannot be able to start the xorp_rtrmgr with the below plumbing
> configuration for mfea4?
> 
> plumbing {
>     mfea4 {
>         disable: false
>         interface register_vif {
>             vif register_vif {
>                 disable: false
>             }
>         }
>     }
> }
> 
> 
> When I have this configuration, the xorp_rtrmgr will start. :)
> 
> plumbing {
>     mfea4 {
>         disable: false
>         interface em0 {
>             vif em0 {
>                 disable: false
>             }
>         }
>         interface register_vif {
>             vif register_vif {
>                 disable: false
>             }
>         }
>     }
> }
> 
> 
> 
> Can someone explain why?

The register_vif is special. It is used by PIM-SM and has meaning
only when configured in the kernel for multicast forwarding purpose.
It doesn't have its own IP address, but instead (re)uses the IP
address of some other interface.
Hence, the MFEA must have some other interfaces configured, so
register_vif can reuse the IP address from one of them.

Regards,
Pavlin

> 
> 
> Regards,
> artiskool
> 
> 
> 
> 
> Here is the logs:
> 
> root at art:~# /usr/local/xorp/bin/xorp_rtrmgr -b /usr/local/xorp/config.boot
> [ 2007/06/01 08:24:39  INFO xorp_rtrmgr:3043 RTRMGR +239 master_conf_tree.cc
> execute ] Changed modules: interfaces, fea, mfea4, rib, fib2mrib, igmp, pimsm4
> [ 2007/06/01 08:24:39  INFO xorp_rtrmgr:3043 RTRMGR +96 module_manager.cc
> execute ] Executing module: interfaces (fea/xorp_fea)
> [ 2007/06/01 08:24:41 INFO xorp_fea MFEA ] MFEA enabled
> [ 2007/06/01 08:24:41 INFO xorp_fea MFEA ] CLI enabled
> [ 2007/06/01 08:24:41 INFO xorp_fea MFEA ] CLI started
> [ 2007/06/01 08:24:41 INFO xorp_fea MFEA ] MFEA enabled
> [ 2007/06/01 08:24:41 INFO xorp_fea MFEA ] CLI enabled
> [ 2007/06/01 08:24:41 INFO xorp_fea MFEA ] CLI started
> [ 2007/06/01 08:24:41  INFO xorp_rtrmgr:3043 RTRMGR +96 module_manager.cc
> execute ] Executing module: fea (fea/xorp_fea)
> [ 2007/06/01 08:24:47  INFO xorp_rtrmgr:3043 RTRMGR +96 module_manager.cc
> execute ] Executing module: mfea4 (fea/xorp_fea)
> [ 2007/06/01 08:24:48 INFO xorp_fea MFEA ] Interface added: Vif[em0]
> pif_index: 1 vif_index: 0 addr: 192.168.10.2 subnet: 192.168.10.0/24
> broadcast: 192.168.10.255 peer: 0.0.0.0 Flags: MULTICAST BROADCAST
> UNDERLYING_VIF_UP MTU: 1500
> [ 2007/06/01 08:24:48 INFO xorp_fea MFEA ] Interface added: Vif[em1]
> pif_index: 2 vif_index: 1 addr: 10.3.3.112 subnet: 10.0.0.0/8 broadcast:
> 10.255.255.255 peer: 0.0.0.0 Flags: MULTICAST BROADCAST UNDERLYING_VIF_UP MTU:
> 1500
> [ 2007/06/01 08:24:48 INFO xorp_fea MFEA ] MFEA started
> [ 2007/06/01 08:24:48  ERROR xorp_fea:3044 MFEA +857 mfea_node.cc enable_vif ]
> Cannot enable vif register_vif: no such vif
> [ 2007/06/01 08:24:48 WARNING xorp_fea XrlMfeaTarget ] Handling method for
> mfea/0.1/enable_vif failed: XrlCmdError 102 Command failed Cannot enable vif
> register_vif: no such vif
> [ 2007/06/01 08:24:48  ERROR xorp_rtrmgr:3043 RTRMGR +675 master_conf_tree.cc
> commit_pass2_done ] Commit failed: 102 Command failed Cannot enable vif
> register_vif: no such vif
> [ 2007/06/01 08:24:48  ERROR xorp_rtrmgr:3043 RTRMGR +251 master_conf_tree.cc
> config_done ] Configuration failed: 102 Command failed Cannot enable vif
> register_vif: no such vif
> [ 2007/06/01 08:24:48  INFO xorp_rtrmgr:3043 RTRMGR +2228 task.cc run_task ]
> No more tasks to run
> [ 2007/06/01 08:24:48  INFO xorp_rtrmgr:3043 RTRMGR +171 module_manager.cc
> terminate ] Terminating module: fea
> [ 2007/06/01 08:24:48  INFO xorp_rtrmgr:3043 RTRMGR +171 module_manager.cc
> terminate ] Terminating module: interfaces
> [ 2007/06/01 08:24:48  INFO xorp_rtrmgr:3043 RTRMGR +171 module_manager.cc
> terminate ] Terminating module: mfea4
> [ 2007/06/01 08:24:48  INFO xorp_rtrmgr:3043 RTRMGR +194 module_manager.cc
> terminate ] Killing module: mfea4
> [ 2007/06/01 08:24:48  ERROR xorp_rtrmgr:3043 RTRMGR +747 module_manager.cc
> done_cb ] Command "/usr/local/xorp/fea/xorp_fea": terminated with signal 15.
> [ 2007/06/01 08:24:48  INFO xorp_rtrmgr:3043 RTRMGR +282 module_manager.cc
> module_exited ] Module killed during shutdown: mfea4
> 
> 
> 
> 
> 
> 
> Here is the contents of /usr/local/xorp/config.boot
> 
> interfaces {
>     interface em0 {
>         disable: false
>         default-system-config
>     }
>     interface em1 {
>         disable: false
>         default-system-config
>     }
> }
> 
> protocols {
> 
>     fib2mrib {
>         disable: false
>     }
> 
> }
> 
> plumbing {
> 
>     mfea4 {
>         disable: false
> 
>         interface register_vif {
>             vif register_vif {
>                 disable: false
>             }
>         }
>     }
> }
> 
> fea {
> 
>     unicast-forwarding4 {
>         disable: false
>     }
> }
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-users mailing list