From dimashink at gmail.com Tue May 5 08:38:14 2015 From: dimashink at gmail.com (=?UTF-8?B?0KjQuNC90LrQsNGA0YPQuiDQlNC80LjRgtGA0LjQuQ==?=) Date: Tue, 5 May 2015 18:38:14 +0300 Subject: [Xorp-users] IPv6 multicast traffic does not pass Message-ID: To: xorp-users at xorp.org Hello, I am trying to make xorp ipv6 multicast routing work with the following network configuration: Sender (2001::1) ------ (2001::2) xorp_router_1 (2002::1) ------- (2002::2) xorp_router_2 (2003::1) ------ Receiver (2003::2) Sender and receiver use multicast test tools for sending and receiving multicast traffic respectively. Multicast group is ff08::2:1. I can see on sender interface with tcpdump: 19:20:03.123399 IP6 2001::1.50909 > ff08::2:1.5004: UDP, length 16 19:20:04.127054 IP6 2001::1.50909 > ff08::2:1.5004: UDP, length 16 19:20:05.129661 IP6 2001::1.50909 > ff08::2:1.5004: UDP, length 16 19:20:06.133316 IP6 2001::1.50909 > ff08::2:1.5004: UDP, length 16 19:20:07.137012 IP6 2001::1.50909 > ff08::2:1.5004: UDP, length 17 19:20:08.141263 IP6 2001::1.50909 > ff08::2:1.5004: UDP, length 16 and so on... Every xorp_router has similar XORP configuration files: interfaces { interface "eth5" { default-system-config } interface "eth3" { default-system-config } interface "eth4" { default-system-config } } fea { unicast-forwarding4 { disable: true } unicast-forwarding6 { disable: true } } plumbing { mfea6 { disable: false interface "eth5" { vif "eth5" { disable: false } } interface "eth4" { vif "eth4" { disable: false } } interface register_vif { vif register_vif { disable: false } } traceoptions { flag all { disable: false } } } } protocols { mld { disable: false interface "eth5" { vif "eth5" { } } interface "eth4" { vif "eth4" { } } traceoptions { flag all { disable: false } } } } protocols { pimsm6 { disable: false interface "eth5" { vif "eth5" { } } interface "eth4" { vif "eth4" { } } interface register_vif { vif register_vif { disable: false } } static-rps { rp 2002::1 { group-prefix ff00::/8 { } } } traceoptions { flag all { disable: false } } } } protocols { fib2mrib { disable: false } } When I start stream sender and receiver I can see following output on routers: For XORP_ROUTER_1 root at xorp_router_1> show pim6 join Group Source RP Flags ff08::2:1 :: 2002::1 WC Upstream interface (RP): register_vif Upstream MRIB next hop (RP): UNKNOWN Upstream RPF'(*,G): UNKNOWN Upstream state: Joined Join timer: 8 Local receiver include WC: .... Joins RP: .... Joins WC: .O.. Join state: .O.. Prune state: .... Prune pending state: .... I am assert winner state: .... I am assert loser state: .... Assert winner WC: .... Assert lost WC: .... Assert tracking WC: .O.O Could assert WC: .O.. I am DR: .OOO Immediate olist RP: .... Immediate olist WC: .O.. Inherited olist SG: .O.. Inherited olist SG_RPT: .O.. PIM include WC: .... root at xorp_router_1> show pim6 mfc Group Source RP root at xorp_router_1> show mfea6 dataflow Group Source root at xorp_router_1> show mld group Interface Group Source LastReported Timeout V State eth4 ff02::2 :: fe80::a00:27ff:fe18:f206 34 1 E eth4 ff02::16 :: fe80::a00:27ff:fe18:f206 160 1 E root at xorp_router_1> show pim6 neighbors Interface DRpriority NeighborAddr V Mode Holdtime Timeout eth6 1 fe80::a00:27ff:fe5a:dc05 2 Sparse 105 72 2002::1 root at xorp_router_1:~# ip -6 ro 2002::/64 dev eth6 proto kernel metric 256 2003::/64 dev eth4 proto kernel metric 256 fe80::/64 dev eth3 proto kernel metric 256 fe80::/64 dev eth4 proto kernel metric 256 fe80::/64 dev eth6 proto kernel metric 256 For XORP_ROUTER_2 root at xorp_router_2> show pim6 join Group Source RP Flags ff08::2:1 :: 2002::1 WC Upstream interface (RP): eth6 Upstream MRIB next hop (RP): fe80::a00:27ff:fe5a:dc05 Upstream RPF'(*,G): fe80::a00:27ff:fe5a:dc05 Upstream state: Joined Join timer: 28 Local receiver include WC: .O... Joins RP: ..... Joins WC: ..... Join state: ..... Prune state: ..... Prune pending state: ..... I am assert winner state: ..... I am assert loser state: ..... Assert winner WC: ..... Assert lost WC: ..... Assert tracking WC: .O.O. Could assert WC: .O... I am DR: .O..O Immediate olist RP: ..... Immediate olist WC: .O... Inherited olist SG: .O... Inherited olist SG_RPT: .O... PIM include WC: .O... root at xorp_router_2> show pim6 mfc Group Source RP root at xorp_router_2> show mfea6 dataflow Group Source root at xorp_router_2> show mld group Interface Group Source LastReported Timeout V State eth4 ff08::2:1 :: fe80::a00:27ff:fea8:6cb1 199 1 E eth6 ff02::2 :: fe80::a00:27ff:fe5a:dc05 199 1 E eth6 ff02::d :: fe80::a00:27ff:fe5a:dc05 75 1 E root at xorp_router_2> show pim6 neighbors Interface DRpriority NeighborAddr V Mode Holdtime Timeout eth4 1 fe80::a00:27ff:fe18:f206 2 Sparse 105 98 2002::2 root at xorp_router_2:~# ip -6 ro 2001::/64 dev eth5 proto kernel metric 256 2002::/64 dev eth4 proto kernel metric 256 fe80::/64 dev eth3 proto kernel metric 256 fe80::/64 dev eth4 proto kernel metric 256 fe80::/64 dev eth5 proto kernel metric 256 Moreover, on xorp_router_2 in logs I can see records like this: --------------Skipped lines-------------------- [ 2015/05/05 18:34:20.999718 WARNING xorp_rtrmgr:1855 XrlFinderTarget obj/x86_64-unknown-linux-gnu/xrl/targets/finde r_base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Com mand failed Target "policy" does not exist or is not enabled. [ 2015/05/05 18:34:20.999818 WARNING xorp_rtrmgr:1855 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0 max_retries: 30 [ 2015/05/05 18:34:21.22377 TRACE xorp_mld MLD6IGMP ] mld6igmp_process: RX MLD_LISTENER_REPORT from fe80::a00:27ff:f ea8:6cb1 to ff08::2:1 on vif eth4 [ 2015/05/05 18:34:21.22445 TRACE xorp_mld MLD6IGMP ] Notify routing add membership for (::, ff08::2:1) on vif eth4 [ 2015/05/05 18:34:21.22540 TRACE xorp_mld MLD6IGMP ] mld6igmp_process: RX MLD_LISTENER_REPORT from fe80::a00:27ff:f ea8:6cb1 to ff08::2:1 on vif eth4 [ 2015/05/05 18:34:21.23264 TRACE xorp_pimsm6 PIM ] Add membership for (::, ff08::2:1) on vif eth4 [ 2015/05/05 18:34:21.23373 WARNING xorp_pimsm6 PIM ] JoinDesired(*,G) = true: upstream neighbor for RP 2002::1 for g roup ff08::2:1: not found [ 2015/05/05 18:34:21.275210 TRACE xorp_pimsm6 PIM ] pim_send: TX PIM_HELLO from fe80::a00:27ff:fe67:41dc to ff02::d on vif eth4 [ 2015/05/05 18:34:22.2297 INFO xorp_rtrmgr:1855 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fib 2mrib (xorp_fib2mrib) [ 2015/05/05 18:34:22.3574 WARNING xorp_rtrmgr:1855 XrlFinderTarget obj/x86_64-unknown-linux-gnu/xrl/targets/finder_ base.cc:1135 handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Comma nd failed Target "fib2mrib" does not exist or is not enabled. [ 2015/05/05 18:34:22.3801 WARNING xorp_rtrmgr:1855 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, co de: 201 Resolve failed retries: 0 max_retries: 30 --------------Skipped lines-------------------- What's wrong with this configuration? I had before problems in ipv4 multicast, solution there was in dropping rp_filter flags. Are there any special flags or actions that should be done to make multicast traffic pass? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150505/da63fe0c/attachment.html From ma_peixoto at yahoo.com Sun May 17 14:18:30 2015 From: ma_peixoto at yahoo.com (manuel peixoto) Date: Sun, 17 May 2015 21:18:30 +0000 (UTC) Subject: [Xorp-users] How to send Multicast to GRE tunnel interface Message-ID: <543080371.330759.1431897510355.JavaMail.yahoo@mail.yahoo.com> Hello, I am a Portuguese programmer, and i need some advise on to send a Multicast stream into one GRE tunnel. I searched in several forums and also in this one, for some idea on how to do it. I read a lot good posts, that put me in the right track, but I always get into some blocking situation. I already tried pfSense with IGMP Proxy and SMCRoute. On pfSense, I could receive the multicast for some short period of time on the other GRE endpoint, but then they stopped. And I could put it working again if I do a service restart to the IGMP Proxy, I was not able to figure out why. On SMCRoute, I get and error indicating that it could not route the multicast to the GRE interface. Now I am trying the XORP approach, but still have issues. Let me explain what is my scenario: My system has OS Ubuntu 15.04. The other endpoint of the GRE tunnel is Debian OS. My system (server) is a DELL R710 64Bits. I have: 1) Ingest/Upstream interface (interface em2) I am receiving from it some Multicast: 239.1.1.x These multicast are video multicast, basically each multicast is a single video stream. 2) Downstream interface I have two interfaces a) One physical interface (interface em4), that is one of the network interfaces from the DELL. b) One GRE tunnel interface (interface GRE00), that is create between my Ubuntu and the remote Debian server. I have done the following configurations on the Ubuntu server: sudo ip tunnel add gre00 remote REMOTE_SERVER local 192.168.123.213 ttl 255 dev em1 sudo ip link set gre00 up sudo ip link set gre00 multicast on sudo ip addr add My_EndPoint/30 broadcast My_EndPointBroadcast dev gre00 sudo iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o gre00 -j TCPMSS --clamp-mss-to-pmtu sudo echo 1 > /proc/sys/net/ipv4/ip_forward sudo echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter On sysctl set the variables: net.ipv4.conf.all.mc_forwarding = 1 net.ipv4.conf.gre0.mc_forwarding = 1 net.ipv4.conf.eth0.mc_forwarding = net.ipv4.conf.eth2.mc_forwarding = 1 net.ipv4.conf.eth3.mc_forwarding = 1 net.ipv4.conf.bovespa.mc_forwarding = 1 net.ipv4.conf.gre0.mc_forwarding = 1 I have installed the latest version of XORP (1.8.x) and I have configured my interfaces on the config.boot file: protocols { fib2mrib { disable: false }/*fib2mrib*/ igmp { disable: false interface em2 { vif em2 { disable: false version: 2 enable-ip-router-alert-option-check: false query-interval: 125 query-last-member-interval: 1 query-response-interval: 10 robust-count: 2 } } interface gre00 { vif gre00 { disable: false version: 2 enable-ip-router-alert-option-check: false query-interval: 125 query-last-member-interval: 1 query-response-interval: 10 robust-count: 2 } } interface em4 { vif em4 { disable: false version: 2 enable-ip-router-alert-option-check: false query-interval: 125 query-last-member-interval: 1 query-response-interval: 10 robust-count: 2 } } traceoptions { flag all { disable: false } } } /*IGMP*/ pimsm4 { disable: false interface em2 { vif em2 { disable: false dr-priority: 1 hello-period: 30 hello-triggered-delay: 5 } } interface gre00 { vif gre00 { disable: false dr-priority: 1 hello-period: 30 hello-triggered-delay: 5 } } interface em4 { vif em4 { disable: false dr-priority: 1 hello-period: 30 hello-triggered-delay: 5 } } interface register_vif { vif register_vif { disable: false dr-priority: 1 hello-period: 30 hello-triggered-delay: 5 } } /*static-rps { rp 192.168.113.213 { group-prefix 239.0.0.0/8 { rp-priority: 192 hash-mask-len: 30 } group-prefix 224.0.0.0/4 { rp-priority: 192 hash-mask-len: 30 } } }*/ /*bootstrap { disable: false cand-bsr { scope-zone 239.1.1.0/24 { cand-bsr-by-vif-name: "gre00" bsr-priority: 1 hash-mask-len: 30 } } cand-rp { group-prefix 239.1.1.0/24 { cand-rp-by-vif-name: "gre00" rp-priority: 192 rp-holdtime: 150 } } }*/ traceoptions { flag all { disable: false } } } /*pimsm4*/ static { disable: false mrib-route 239.1.1.0/24 { next-hop: 10.10.10.1 metric: 1 } /* mrib-interface-route 239.0.0.0/8 { next-hop-interface: 10.10.10.2 next-hop-vif: 10.10.10.2 metric: 64 } */ } }/*Protocols*/ fea { unicast-forwarding4 { disable: false } }/*FEA*/ /*++++*/ interfaces { restore-original-config-on-shutdown: false /*interface lo { description: "Loopback" disable: false discard: false unreachable: false management: false default-system-config vif lo { disable: false } }*/ interface em2 { description: "upstream interface" disable: false discard: false unreachable: false management: false default-system-config vif em2 { disable: false /* address 192.168.113.213 { prefix-length:24 multicast-capable: true disable: false }*/ } } interface gre00 { description: "downstream interface" disable: false discard: false unreachable: false management: false default-system-config vif gre00 { disable: false /*address 10.10.10.1 { prefix-length:30 broadcast: 10.10.10.3 multicast-capable: true disable: false }*/ } } interface em4 { description: "downstream interface" disable: false discard: false unreachable: false management: false default-system-config vif em4 { disable: false /*address 10.10.10.1 { prefix-length:30 broadcast: 10.10.10.3 multicast-capable: true disable: false }*/ } } }/*interfaces*/ /*++++*/ plumbing { mfea4 { disable: false interface em2 { vif em2 { disable: false } } interface gre00 { vif gre00 { disable: false } } interface em4 { vif em4 { disable: false } } interface "register_vif" { vif "register_vif" { /* Note: this vif should be always enabled */ disable: false } } traceoptions { flag all { disable: false } } } }/*plumbing*/ If I ask the Multicast on the physical interface (em4) I can see the multicast with no problem. But on the GRE00 interface I can not see them. I mean, i see the IGMP requests comming from the DEBIAN server, and I see that for some seconds the GRE00 interface stays in the routing table of the XORP, but then it is deleted. And that repeats itself everytime I ask the multicast on the Debian server, using the IGMP request. Can you advise me of what can be happening? Is there a way where I can force XORP to route always the multicast to the GRE00 interface? Thanks in advanced.... Manuel Silva From francoc at peerless-clothing.com Thu May 21 06:35:06 2015 From: francoc at peerless-clothing.com (Franco Clarizio) Date: Thu, 21 May 2015 09:35:06 -0400 Subject: [Xorp-users] XORP and OSPF question please Message-ID: Good morning, I have installed xorp on a CentOS 6.6 box. I have a problem with ospf stuck in the INIT state when trying to communicate with my core router. I am attaching my config.boot file - does anyone have any suggestions? Thank you in advance, Franco Clarizio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150521/fb11844b/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: config.boot Type: application/octet-stream Size: 2455 bytes Desc: not available Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150521/fb11844b/attachment.obj From xorp at iancoetzee.za.net Thu May 21 07:15:08 2015 From: xorp at iancoetzee.za.net (Ian Coetzee) Date: Thu, 21 May 2015 16:15:08 +0200 Subject: [Xorp-users] XORP and OSPF question please In-Reply-To: References: Message-ID: *dons flameproof* My suggestion is removing XORP and rather using bird http://bird.network.cz Kind regards 2015-05-21 15:35 GMT+02:00 Franco Clarizio : > Good morning, > > I have installed xorp on a CentOS 6.6 box. I have a problem with ospf > stuck in the INIT state when trying to communicate with my core router. > > I am attaching my config.boot file - does anyone have any suggestions? > > Thank you in advance, > Franco Clarizio > > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150521/bb87e124/attachment.html From william at losrios.edu Thu May 21 08:54:07 2015 From: william at losrios.edu (Williams, Mark) Date: Thu, 21 May 2015 15:54:07 +0000 Subject: [Xorp-users] XORP and OSPF question please In-Reply-To: References: Message-ID: OSPF stuck in INIT state could be a number of things. The obvious ones are things like -Area ID is not the same between peers -If using MD5 authentication, wrong key id or key value used -Subnet mask mismatch between peers If all those things check out, look at the MTU size on boot peers. If they are not equal, one of the peers will need to have the mtu-check disabled. Mark Williams Senior IT Analyst Los Rios Community College District From: xorp-users-bounces at xorp.org [mailto:xorp-users-bounces at xorp.org] On Behalf Of Franco Clarizio Sent: Thursday, May 21, 2015 6:35 AM To: xorp-users at xorp.org Subject: [Xorp-users] XORP and OSPF question please Good morning, I have installed xorp on a CentOS 6.6 box. I have a problem with ospf stuck in the INIT state when trying to communicate with my core router. I am attaching my config.boot file - does anyone have any suggestions? Thank you in advance, Franco Clarizio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150521/e5bbdd12/attachment.html From pvinod.sarma at freescale.com Wed May 27 03:48:48 2015 From: pvinod.sarma at freescale.com (Pullabhatla Vinod) Date: Wed, 27 May 2015 10:48:48 +0000 Subject: [Xorp-users] XORP from git hub not running . Message-ID: I tried to compile and run XORP for X86 and Powerpc 64 bit. While running it is giving me the following error : rtrmgr/main_rtrmgr.cc Init faie due to parse errors. PARSE ERROR [ Template File : < path to a tp file > ] last read symbol was This is coming for all the template files . What am I doing wrong . Please help me out . I have taken the source from : https://github.com/greearb/xorp.ct gcc version : 4.8.2 Thanks, Vinod. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150527/49bb5eed/attachment.html From greearb at candelatech.com Wed May 27 05:51:56 2015 From: greearb at candelatech.com (Ben Greear) Date: Wed, 27 May 2015 05:51:56 -0700 Subject: [Xorp-users] XORP from git hub not running . In-Reply-To: References: Message-ID: <5565BDEC.7020604@candelatech.com> What OS/version are you using? Thanks, Ben On 05/27/2015 03:48 AM, Pullabhatla Vinod wrote: > I tried to compile and run XORP for X86 and Powerpc 64 bit. While running it is giving me the following error : > > rtrmgr/main_rtrmgr.cc Init faie due to parse errors. PARSE ERROR [ Template File : < path to a tp file > ] last read symbol was > > This is coming for all the template files . What am I doing wrong . Please help me out . > > I have taken the source from : https://github.com/greearb/xorp.ct > > gcc version : 4.8.2 > > Thanks, > > Vinod. > > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From pvinod.sarma at freescale.com Wed May 27 05:54:47 2015 From: pvinod.sarma at freescale.com (Pullabhatla Vinod) Date: Wed, 27 May 2015 12:54:47 +0000 Subject: [Xorp-users] XORP from git hub not running . In-Reply-To: <5565BDEC.7020604@candelatech.com> References: <5565BDEC.7020604@candelatech.com> Message-ID: I am using Ubuntu 12.04 , Kernel - 3.13 . X86_64 . Do it have to run scons check each time afer scons install ? What if I am cross compiling ? I have seen several questions on similar error in this mailing list . But could not find an answer to this . Thanks, Vinod. -----Original Message----- From: Ben Greear [mailto:greearb at candelatech.com] Sent: Wednesday, May 27, 2015 6:22 PM To: Sarma P. Vinod-B46178; xorp-users at xorp.org Subject: Re: [Xorp-users] XORP from git hub not running . What OS/version are you using? Thanks, Ben On 05/27/2015 03:48 AM, Pullabhatla Vinod wrote: > I tried to compile and run XORP for X86 and Powerpc 64 bit. While running it is giving me the following error : > > rtrmgr/main_rtrmgr.cc Init faie due to parse errors. PARSE ERROR [ Template File : < path to a tp file > ] last read symbol was > > This is coming for all the template files . What am I doing wrong . Please help me out . > > I have taken the source from : https://github.com/greearb/xorp.ct > > gcc version : 4.8.2 > > Thanks, > > Vinod. > > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From greearb at candelatech.com Wed May 27 12:35:43 2015 From: greearb at candelatech.com (Ben Greear) Date: Wed, 27 May 2015 12:35:43 -0700 Subject: [Xorp-users] XORP from git hub not running . In-Reply-To: References: <5565BDEC.7020604@candelatech.com> Message-ID: <55661C8F.9080702@candelatech.com> We installed a clean 12.04 VM, installed the xorp dependencies, built, and tested it: sudo apt-get install git scons flex bison libssl-dev ncurses-dev g++ mkdir ~/git cd ~/git # Clone xorp github repository cd xorp.ct.git/xorp scons -j8 sudo scons install # Created xorp user group # added 'root' to xorp user group: sudo addgroup xorp sudo adduser greearb xorp sudo adduser root xorp Then, as root: /usr/local/xorp/sbin/xorp_rtrmgr -c /home/greearb/xorp.ct/xorp/package_files/xorp.conf Then, in a different terminal: sudo /usr/local/xorp/sbin/xorpsh (It connected fine). So, it works for me. You don't need to run 'scons check' at all, though I would hope that it does work. Thanks, Ben On 05/27/2015 05:54 AM, Pullabhatla Vinod wrote: > I am using Ubuntu 12.04 , Kernel - 3.13 . X86_64 . > Do it have to run scons check each time afer scons install ? What if I am cross compiling ? I have seen several questions on similar error in this mailing list . But could not find an answer to this . > > Thanks, > Vinod. > > -----Original Message----- > From: Ben Greear [mailto:greearb at candelatech.com] > Sent: Wednesday, May 27, 2015 6:22 PM > To: Sarma P. Vinod-B46178; xorp-users at xorp.org > Subject: Re: [Xorp-users] XORP from git hub not running . > > What OS/version are you using? > > Thanks, > Ben > > On 05/27/2015 03:48 AM, Pullabhatla Vinod wrote: >> I tried to compile and run XORP for X86 and Powerpc 64 bit. While running it is giving me the following error : >> >> rtrmgr/main_rtrmgr.cc Init faie due to parse errors. PARSE ERROR [ Template File : < path to a tp file > ] last read symbol was >> >> This is coming for all the template files . What am I doing wrong . Please help me out . >> >> I have taken the source from : https://github.com/greearb/xorp.ct >> >> gcc version : 4.8.2 >> >> Thanks, >> >> Vinod. >> >> >> >> _______________________________________________ >> Xorp-users mailing list >> Xorp-users at xorp.org >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users >> > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From pvinod.sarma at freescale.com Thu May 28 04:21:37 2015 From: pvinod.sarma at freescale.com (Pullabhatla Vinod) Date: Thu, 28 May 2015 11:21:37 +0000 Subject: [Xorp-users] XORP from git hub not running . In-Reply-To: <55661C8F.9080702@candelatech.com> References: <5565BDEC.7020604@candelatech.com> <55661C8F.9080702@candelatech.com> Message-ID: Thanks Ben, I ran scons check and it worked for me also . Now I am able to run XORP . Can you tell me if PIM-SM can run in non-root namespaces ? Is there any limitation ? Thanks, Vinod. -----Original Message----- From: Ben Greear [mailto:greearb at candelatech.com] Sent: Thursday, May 28, 2015 1:06 AM To: Sarma P. Vinod-B46178 Cc: xorp-users at xorp.org Subject: Re: [Xorp-users] XORP from git hub not running . We installed a clean 12.04 VM, installed the xorp dependencies, built, and tested it: sudo apt-get install git scons flex bison libssl-dev ncurses-dev g++ mkdir ~/git cd ~/git # Clone xorp github repository cd xorp.ct.git/xorp scons -j8 sudo scons install # Created xorp user group # added 'root' to xorp user group: sudo addgroup xorp sudo adduser greearb xorp sudo adduser root xorp Then, as root: /usr/local/xorp/sbin/xorp_rtrmgr -c /home/greearb/xorp.ct/xorp/package_files/xorp.conf Then, in a different terminal: sudo /usr/local/xorp/sbin/xorpsh (It connected fine). So, it works for me. You don't need to run 'scons check' at all, though I would hope that it does work. Thanks, Ben On 05/27/2015 05:54 AM, Pullabhatla Vinod wrote: > I am using Ubuntu 12.04 , Kernel - 3.13 . X86_64 . > Do it have to run scons check each time afer scons install ? What if I am cross compiling ? I have seen several questions on similar error in this mailing list . But could not find an answer to this . > > Thanks, > Vinod. > > -----Original Message----- > From: Ben Greear [mailto:greearb at candelatech.com] > Sent: Wednesday, May 27, 2015 6:22 PM > To: Sarma P. Vinod-B46178; xorp-users at xorp.org > Subject: Re: [Xorp-users] XORP from git hub not running . > > What OS/version are you using? > > Thanks, > Ben > > On 05/27/2015 03:48 AM, Pullabhatla Vinod wrote: >> I tried to compile and run XORP for X86 and Powerpc 64 bit. While running it is giving me the following error : >> >> rtrmgr/main_rtrmgr.cc Init faie due to parse errors. PARSE ERROR [ >> Template File : < path to a tp file > ] last read symbol was >> >> >> This is coming for all the template files . What am I doing wrong . Please help me out . >> >> I have taken the source from : https://github.com/greearb/xorp.ct >> >> gcc version : 4.8.2 >> >> Thanks, >> >> Vinod. >> >> >> >> _______________________________________________ >> Xorp-users mailing list >> Xorp-users at xorp.org >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users >> > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From greearb at candelatech.com Thu May 28 07:57:54 2015 From: greearb at candelatech.com (Ben Greear) Date: Thu, 28 May 2015 07:57:54 -0700 Subject: [Xorp-users] XORP from git hub not running . In-Reply-To: References: <5565BDEC.7020604@candelatech.com> <55661C8F.9080702@candelatech.com> Message-ID: <55672CF2.7030409@candelatech.com> On 05/28/2015 04:21 AM, Pullabhatla Vinod wrote: > Thanks Ben, > I ran scons check and it worked for me also . > Now I am able to run XORP . Can you tell me if PIM-SM can run in non-root namespaces ? Is there any limitation ? It requires root permission, but if you mean a different directory, that can probably work. Maybe the scons build cmd allows different prefix for install dir, or something like that. I always use it installed in the default location. Thanks, Ben > > Thanks, > Vinod. > > -----Original Message----- > From: Ben Greear [mailto:greearb at candelatech.com] > Sent: Thursday, May 28, 2015 1:06 AM > To: Sarma P. Vinod-B46178 > Cc: xorp-users at xorp.org > Subject: Re: [Xorp-users] XORP from git hub not running . > > We installed a clean 12.04 VM, installed the xorp dependencies, built, and tested it: > > sudo apt-get install git scons flex bison libssl-dev ncurses-dev g++ > > mkdir ~/git > cd ~/git > # Clone xorp github repository > > cd xorp.ct.git/xorp > scons -j8 > sudo scons install > > # Created xorp user group > # added 'root' to xorp user group: > > sudo addgroup xorp > sudo adduser greearb xorp > sudo adduser root xorp > > Then, as root: > > /usr/local/xorp/sbin/xorp_rtrmgr -c /home/greearb/xorp.ct/xorp/package_files/xorp.conf > > Then, in a different terminal: > > sudo /usr/local/xorp/sbin/xorpsh > > (It connected fine). > > > So, it works for me. > > You don't need to run 'scons check' at all, though I would hope that it does work. > > Thanks, > Ben > > > On 05/27/2015 05:54 AM, Pullabhatla Vinod wrote: >> I am using Ubuntu 12.04 , Kernel - 3.13 . X86_64 . >> Do it have to run scons check each time afer scons install ? What if I am cross compiling ? I have seen several questions on similar error in this mailing list . But could not find an answer to this . >> >> Thanks, >> Vinod. >> >> -----Original Message----- >> From: Ben Greear [mailto:greearb at candelatech.com] >> Sent: Wednesday, May 27, 2015 6:22 PM >> To: Sarma P. Vinod-B46178; xorp-users at xorp.org >> Subject: Re: [Xorp-users] XORP from git hub not running . >> >> What OS/version are you using? >> >> Thanks, >> Ben >> >> On 05/27/2015 03:48 AM, Pullabhatla Vinod wrote: >>> I tried to compile and run XORP for X86 and Powerpc 64 bit. While running it is giving me the following error : >>> >>> rtrmgr/main_rtrmgr.cc Init faie due to parse errors. PARSE ERROR [ >>> Template File : < path to a tp file > ] last read symbol was >>> >>> >>> This is coming for all the template files . What am I doing wrong . Please help me out . >>> >>> I have taken the source from : https://github.com/greearb/xorp.ct >>> >>> gcc version : 4.8.2 >>> >>> Thanks, >>> >>> Vinod. >>> >>> >>> >>> _______________________________________________ >>> Xorp-users mailing list >>> Xorp-users at xorp.org >>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users >>> >> > > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -- Ben Greear Candela Technologies Inc http://www.candelatech.com