[Xorp-users] a newbie's question about xorp
Dondon Carlos
dondonc@asti.dost.gov.ph
Sat, 15 Jan 2005 11:42:23 +0800
thanks pavlin!
hmmm....what i did was just to remove the comments so i will not be
bothered by them anymore. i tried to run xorp_rtrmgr again and i still
received the same error message...
i actually don't know where to debug the problem.
cheers,
Dondon
Pavlin Radoslavov wrote:
>Dondon,
>
>
>
>>Sorry but I forgot to put the extra '*/' in my mail. However, I checked
>>the config in my UDLR and there is the */ to close the comment. I'm
>>still wondering what possibly could go worng here? I still receive the
>>same error message.
>>
>>
>
>Please verify that you have */ in both places where you have
>/*traceoptions
>
>Also, note that you cannot have nested comments, hence please verify
>that too.
>
>Regards,
>Pavlin
>
>
>
>>Dondon
>>
>>Atanu Ghosh wrote:
>>
>>
>>
>>>Hi,
>>>
>>>I notice that in your config you open a comment "/*traceoptions {",
>>>which does not seem to get closed.
>>>
>>> Atanu.
>>>
>>>
>>>
>>>
>>>
>>>>>>>>"Dondon" == Dondon Carlos <dondonc@asti.dost.gov.ph> writes:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>> Dondon> Good morning, guys!
>>>
>>> Dondon> I am installing the xorp for my Unidirectional Link router. I loaded
>>> Dondon> the Free-BSD 4.10 in the box and I installed xorp. THe lan card I'm
>>> Dondon> using has 4 interfaces and FreeBSD recognizes them as ste0, ste1,ste2
>>> Dondon> and ste3. THe ste0 interface points to the satellite link and the ste1
>>> Dondon> points to the LAN part of the network. I followed the instructions
>>> Dondon> handed in to me. It includes installing net-snmp and gmake. I also
>>> Dondon> created the xorp group using the command
>>> Dondon> pw groupadd xorp -g 12000
>>> Dondon> I configured and installed the xorp then I made the config.boot.
>>> Dondon> Here is the exact copy of the config.boot:
>>> Dondon> interfaces {
>>> Dondon> interface ste0 {
>>> Dondon> description: "upstream interface"
>>> Dondon> enabled: true
>>> Dondon> default-system-config
>>> Dondon> }
>>> Dondon> interface ste1 {
>>> Dondon> description: "downstream interface"
>>> Dondon> enabled: true
>>> Dondon> default-system-config
>>> Dondon> }
>>> Dondon> }
>>> Dondon> plumbing {
>>> Dondon> mfea4 {
>>> Dondon> enabled: true
>>> Dondon> interface ste0 {
>>> Dondon> vif ste0 {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> interface ste1 {
>>> Dondon> vif ste1 {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> interface register_vif {
>>> Dondon> vif register_vif {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> /*traceoptions {
>>> Dondon> flag all {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> } */
>>> Dondon> }
>>> Dondon> }
>>> Dondon> protocols {
>>> Dondon> igmp {
>>> Dondon> enabled: true
>>> Dondon> interface ste0 {
>>> Dondon> vif ste0 {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> interface ste1 {
>>> Dondon> vif ste1 {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> /*traceoptions {
>>> Dondon> flag all {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> }
>>> Dondon> }
>>> Dondon> protocols {
>>> Dondon> pimsm4 {
>>> Dondon> enabled: true
>>> Dondon> interface ste0 {
>>> Dondon> vif ste0 {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> interface ste1 {
>>> Dondon> vif ste1 {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> interface register_vif {
>>> Dondon> vif register_vif {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>> Dondon> switch-to-spt-threshold {
>>> Dondon> enabled: true
>>> Dondon> interval-sec: 100
>>> Dondon> bytes: 102400
>>> Dondon> }
>>> Dondon> }
>>> Dondon> }
>>> Dondon> protocols {
>>> Dondon> fib2mrib {
>>> Dondon> enabled: true
>>> Dondon> }
>>> Dondon> }
>>>
>>> Dondon> After this I typed the command:
>>> Dondon> /usr/local/xorp/bin/xorp_rtrmgr &
>>>
>>> Dondon> and I received the error message,
>>>
>>> Dondon> [.... ERROR xorp_rtrmgr:6354 RTRMGR +311 main_rtrmgr.cc run] rtrmgr
>>> Dondon> shutting down due to init error: PARSE ERROR [Config File
>>> Dondon> /usr/local/xorp/config.boot, line 2] No template found in template
>>> Dondon> map; last symbol parsed was "ste0"
>>>
>>> Dondon> Can anyone help me here? Thank you very much in advance.
>>>
>>> Dondon> CHeers,
>>> Dondon> Dondon
>>>
>>>
>>> Dondon> _______________________________________________
>>> Dondon> Xorp-users mailing list
>>> Dondon> Xorp-users@xorp.org
>>> Dondon> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>Xorp-users mailing list
>>Xorp-users@xorp.org
>>http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>>
>>
>
>
>
>