[Xorp-hackers] {Disarmed} Re: xorp: enable IGMP/PIM-SM over a VLAN interface on Linux

frank hu frank.1975.hu at gmail.com
Thu Dec 8 11:08:02 PST 2011


Hi,

I still need more help.

I rebooted my x86 box with xorp and restarted the xorp configuration from
scratch. I configured PIM over the interface "vlan300" and IGMP over
"vlan800" and committed the configurations. It went well. Then I tried to
add plumbing/mfea4 and also the PIM register interface "register_vif".
Unfortunately it failed at this step.

xorp at feng-desktop# show
    protocols {
        igmp {
            interface vlan800 {
                vif vlan800 {
                }
            }
        }
        pimsm4 {
            interface vlan300 {
                vif vlan300 {
                    dr-priority: 41
                }
            }
>           interface "register_vif" {
>               vif "register_vif" {
>               }
>           }
            bootstrap {
            }
        }
    }
    interfaces {
        interface vlan300 {
            vif vlan300 {
                address 172.15.3.212 {
                    prefix-length: 24
                }
            }
        }
        interface vlan800 {
            vif vlan800 {
                address 172.15.80.212 {
                    prefix-length: 24
                }
            }
        }
>       interface "register_vif" {
>           vif "register_vif" {
>           }
>       }
    }
>   plumbing {
>       mfea4 {
>           interface vlan300 {
>               vif vlan300 {
>               }
>           }
>           interface vlan800 {
>               vif vlan800 {
>               }
>           }
>           interface "register_vif" {
>               vif "register_vif" {
>               }
>           }
>       }
>   }
    rtrmgr {
        config-directory: "/etc/xorp/"
    }
[edit]
xorp at desktop# commit
ERROR: failed to lock the configuration. No Finder?
The configuration has not been changed.
Fix this error, and run "commit" again.
xorp at desktop# commit
*ERROR: failed to lock the configuration. No Finder?
*The configuration has not been changed.
Fix this error, and run "commit" again.
xorp at desktop#
"

The error message seems weird. It complained "failed to lock the
configuration".

"xorp at desktop# quit
ERROR: There are uncommitted changes.
Use "commit" to commit the changes, or "exit discard" to discard them.
xorp at desktop# exit discard
ERROR: failed to inform rtrmgr of leaving config mode. No Finder?
xorp at desktop> quit at feng-desktop>
$ ./sbin/xorpsh
Waiting for xorp_rtrmgr...
$ ps -ef|grep xorp
xorp      2241  2112  0 09:28 pts/1    00:00:00 su xorp
xorp      2249  2241  0 09:29 pts/1    00:00:00 sh
xorp      2290  2249  0 10:07 pts/1    00:00:00 ps -ef
xorp      2291  2249  0 10:07 pts/1    00:00:00 grep xorp
$
"
So the critical process "xorp_rtrmgr" was gone, along with "xorp_pim" and
"xorp_igmp".

It seems that a configuration change triggered the above to happen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20111208/3a375d05/attachment.html 


More information about the Xorp-hackers mailing list