[Xorp-users] a newbie's question about xorp
Atanu Ghosh
atanu@ICSI.Berkeley.EDU
Fri, 14 Jan 2005 12:03:31 -0800
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