From pavlin at icir.org Fri Nov 2 20:44:02 2007 From: pavlin at icir.org (Pavlin Radoslavov) Date: Fri, 02 Nov 2007 20:44:02 -0700 Subject: [Xorp-hackers] periodic updation In-Reply-To: Message from "Arjun Prasad" of "Thu, 01 Nov 2007 09:15:45 +0530." <001f01c81c39$b0595fe0$2283a8c0@ceeyes.com> Message-ID: <200711030344.lA33i2WA078910@possum.icir.org> Arjun Prasad wrote: > Hi all! > > As we know that there is periodic as well as triggered updation is there in RIP and OSPF. > > My question is why we need periodic updation as triggered updation is sufficeint enough to update the table whenever there is any change in network.(also because of periodic updation we have unneccessry trafic in network). Robustness. > And why periodic updation time interval is so less in case of RIP table updation whereas comparatively high in OSPF table periodic updation. Different protocols, different dynamics. Regards, Pavlin P.S. Those are not XORP-related questions, so I won't go into details on the subject. Check some books that describe those protocols for better understanding of the issues. > Regards, > Arjun_______________________________________________ > Xorp-hackers mailing list > Xorp-hackers at icir.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers From ramir11 at gmail.com Mon Nov 5 01:18:58 2007 From: ramir11 at gmail.com (Raz Amir) Date: Mon, 5 Nov 2007 11:18:58 +0200 Subject: [Xorp-hackers] Supporting PIM-DM Message-ID: <32a44f580711050118w5a601400p8920cb4d924f342f@mail.gmail.com> Dear Xorp Hackers, I am interesting in PIM-DM support. I was trying to search the site for information if this item is on the roadmap or not, but I couldn't find it. Is there a plan to support PIM-DM, and if so, when is it planned to? Thank you very much, Raz. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20071105/90e542af/attachment.html From pavlin at icir.org Mon Nov 5 11:00:44 2007 From: pavlin at icir.org (Pavlin Radoslavov) Date: Mon, 05 Nov 2007 11:00:44 -0800 Subject: [Xorp-hackers] Supporting PIM-DM In-Reply-To: Message from "Raz Amir" of "Mon, 05 Nov 2007 11:18:58 +0200." <32a44f580711050118w5a601400p8920cb4d924f342f@mail.gmail.com> Message-ID: <200711051900.lA5J0iGl018270@possum.icir.org> Raz Amir wrote: > Dear Xorp Hackers, > > I am interesting in PIM-DM support. > I was trying to search the site for information if this item is on the > roadmap or not, > but I couldn't find it. > > Is there a plan to support PIM-DM, and if so, when is it planned to? It is on our internal TODO list. So far we haven't decided when we will start the implementation. Regards, Pavlin From mallikarjuna at ceeyes.com Mon Nov 12 18:51:21 2007 From: mallikarjuna at ceeyes.com (Mallikarjuna) Date: Tue, 13 Nov 2007 08:21:21 +0530 Subject: [Xorp-hackers] (no subject) Message-ID: <200711130302.lAD32cLN024639@pork.ICSI.Berkeley.EDU> I have gone through the source code flow ,could you explain me the following syntax that i have found in xorp 1.4/mld6igmp/xorp_igmp.cc , string finder_hostname = FinderConstants::FINDER_DEFAULT_HOST().str(); with regards Mallikaarjjuna.M -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20071113/64303bbd/attachment.html From pavlin at icir.org Tue Nov 13 07:50:27 2007 From: pavlin at icir.org (Pavlin Radoslavov) Date: Tue, 13 Nov 2007 07:50:27 -0800 Subject: [Xorp-hackers] (no subject) In-Reply-To: Message from "Mallikarjuna" of "Tue, 13 Nov 2007 08:21:21 +0530." <200711130302.lAD32cLN024639@pork.ICSI.Berkeley.EDU> Message-ID: <200711131550.lADFoRpF074334@possum.icir.org> Mallikarjuna wrote: > I have gone through the source code flow ,could you explain me the > following syntax that i have found in xorp 1.4/mld6igmp/xorp_igmp.cc , > > string finder_hostname = > FinderConstants::FINDER_DEFAULT_HOST().str(); That's all C++ syntax. FinderConstants::FINDER_DEFAULT_HOST() is a method inside class FinderConstants (see libxipc/finder_constants.hh). It returns IPv4 address (see libxorp/ipv4.hh). The str() method for the IPv4 address class returns a C++ string. That string itself is assigned to variable "finder_hostname". Hope that helps, Pavlin From atanu at ICSI.Berkeley.EDU Tue Nov 13 15:22:35 2007 From: atanu at ICSI.Berkeley.EDU (Atanu Ghosh) Date: Tue, 13 Nov 2007 15:22:35 -0800 Subject: [Xorp-hackers] Route with bad next-hop added with OSPF with redundant-link configuration. In-Reply-To: Message from Ben Greear of "Wed, 24 Oct 2007 10:01:15 PDT." <471F7A5B.90801@candelatech.com> Message-ID: <61304.1194996155@tigger.icir.org> Hi, This problem is now fixed, thanks for the LSA dump it came in very useful. 1.292 +14 -11; commitid: 3c75473a31087ea6; xorp/ospf/area_router.cc 1.18 +48 -2; commitid: 1b2f473975667ea6; xorp/libproto/spt.hh Atanu. >>>>> "Ben" == Ben Greear writes: Ben> Atanu Ghosh wrote: >> Hi, >> >> If you think that routes are being incorrectly computed could you >> send me the LSA database as well as the routes that you expect to >> see. >> >> The LSA database can be extracted with the print_lsas command. $ >> print_lsas -S saved.lsas >> >> Atanu. >> Ben> lsas are attached (for router 2). I see these routes: Ben> [root at lf1016-55 lanforge]# ip route show table 10002 Ben> 99.1.1.0/24 dev 2.3.2 scope link 10.2.2.0/24 dev eth2 scope Ben> link 10.1.1.0/24 via 10.1.2.2 dev 1.2.2 proto xorp metric 2 Ben> notify 10.1.2.0/24 dev 1.2.2 scope link unreachable default Ben> proto xorp metric 1 notify Ben> I expect to see: [root at lf1016-55 lanforge]# ip route show table Ben> 10002 99.1.1.0/24 dev 2.3.2 scope link 10.2.2.0/24 dev eth2 Ben> scope link 10.1.1.0/24 via 10.1.2.1 dev 1.2.2 proto xorp metric Ben> 2 notify ^^^^ 10.1.2.0/24 dev 1.2.2 scope link unreachable Ben> default proto xorp metric 1 notify Ben> Thanks, Ben Ben> -- Ben Greear Candela Technologies Ben> Inc http://www.candelatech.com From greearb at candelatech.com Tue Nov 13 15:34:57 2007 From: greearb at candelatech.com (Ben Greear) Date: Tue, 13 Nov 2007 15:34:57 -0800 Subject: [Xorp-hackers] Route with bad next-hop added with OSPF with redundant-link configuration. In-Reply-To: <61304.1194996155@tigger.icir.org> References: <61304.1194996155@tigger.icir.org> Message-ID: <473A34A1.7080106@candelatech.com> Atanu Ghosh wrote: > Hi, > > This problem is now fixed, thanks for the LSA dump it came in very useful. > > 1.292 +14 -11; commitid: 3c75473a31087ea6; xorp/ospf/area_router.cc > 1.18 +48 -2; commitid: 1b2f473975667ea6; xorp/libproto/spt.hh Excellent! Thanks for fixing this. I need to rebuild my test system for this scenario, but hopefully can confirm that it does indeed fix my problem in a few days. Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com From mallikarjuna at ceeyes.com Wed Nov 14 06:42:05 2007 From: mallikarjuna at ceeyes.com (Mallikarjuna) Date: Wed, 14 Nov 2007 20:12:05 +0530 Subject: [Xorp-hackers] FW: Xorp-hackers Digest, Vol 20, Issue 4 Message-ID: <200711141453.lAEErUpu000706@pork.ICSI.Berkeley.EDU> -----Original Message----- From: Mallikarjuna [mailto:mallikarjuna at ceeyes.com] Sent: Wednesday, November 14, 2007 8:09 PM To: 'xorp-hackers at icir.org' Subject: RE: Xorp-hackers Digest, Vol 20, Issue 4 Thanks for giving me the reply , You have clarified my doubt, Could you give me the hardware access calls list in xorp,so that I can understand the code flow of xorp well. Once again Thanking you. With regards Mallikaarjjuna From pavlin at icir.org Wed Nov 14 09:26:26 2007 From: pavlin at icir.org (Pavlin Radoslavov) Date: Wed, 14 Nov 2007 09:26:26 -0800 Subject: [Xorp-hackers] FW: Xorp-hackers Digest, Vol 20, Issue 4 In-Reply-To: Message from "Mallikarjuna" of "Wed, 14 Nov 2007 20:12:05 +0530." <200711141453.lAEErUpu000706@pork.ICSI.Berkeley.EDU> Message-ID: <200711141726.lAEHQQfe093582@possum.icir.org> > Could you give me the hardware access calls list in xorp,so that I > can understand the code flow of xorp well. What do you mean by "hardware access calls"? The kernel system calls? We don't have a compiled list of all system calls used by XORP because there is no much use for it. If you need to consider at the routing-related system calls, check the bottom layer of the FEA which interacts directly with the kernel. However, this won't help you understand the rest of XORP. You need to read first the XORP design documents to get the high-level picture and only then you should go into the details of the source code. Regards, Pavlin From arjun at ceeyes.com Thu Nov 15 21:35:30 2007 From: arjun at ceeyes.com (Arjun Prasad) Date: Fri, 16 Nov 2007 11:05:30 +0530 Subject: [Xorp-hackers] exec family of sys.com Message-ID: <001201c82812$be785a60$2283a8c0@ceeyes.com> hi all! according to me i think you people have used exec family of system calls inorder to executer the executable files in rip/tools directory . so plz tell me where u made call to those executables file in source code. Regards, Arjun -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20071116/4ca8c6bd/attachment.html From arjun at ceeyes.com Thu Nov 15 21:37:10 2007 From: arjun at ceeyes.com (Arjun Prasad) Date: Fri, 16 Nov 2007 11:07:10 +0530 Subject: [Xorp-hackers] rip Message-ID: <001301c82812$bf7e0a90$2283a8c0@ceeyes.com> hi all! According to me i think you people have used exec family of system calls inorder to executer the executable files in rip/tools directory . so plz tell me where u made call to those executables file in source code. Regards, Arjun -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20071116/c5d9964f/attachment.html From pavlin at icir.org Thu Nov 15 22:19:57 2007 From: pavlin at icir.org (Pavlin Radoslavov) Date: Thu, 15 Nov 2007 22:19:57 -0800 Subject: [Xorp-hackers] exec family of sys.com In-Reply-To: Message from "Arjun Prasad" of "Fri, 16 Nov 2007 11:05:30 +0530." <001201c82812$be785a60$2283a8c0@ceeyes.com> Message-ID: <200711160619.lAG6JvHX042499@possum.icir.org> > according to me i think you people have used exec > family of system calls inorder to executer the executable > files in rip/tools directory . > so plz tell me where u made call to those executables file in source code. Those are called by xorpsh. The xorpsh template files (etc/templates/*.cmds) specify the names of the binaries. Xorpsh itself uses the RunCommand class (libxorp/run_command.hh) to execute them. Pavlin From greearb at candelatech.com Tue Nov 20 17:38:02 2007 From: greearb at candelatech.com (Ben Greear) Date: Tue, 20 Nov 2007 17:38:02 -0800 Subject: [Xorp-hackers] Xorp assert when VLAN dissappears Message-ID: <47438BFA.3000002@candelatech.com> I am seeing an assert due (I believe) to a VLAN leaving before Xorp is told it is gone: ... [ 2007/11/20 11:18:59 TRACE xorp_ospfv2 OSPF ] Event(InterfaceUp) Interface(eth0.1021/eth0.1021) State(Down) [ 2007/11/20 11:18:59 TRACE xorp_ospfv2 OSPF ] Interface eth0.1021 Vif eth0.1021 data 0x837e540 len 44 [ 2007/11/20 11:18:59 TRACE xorp_ospfv2 OSPF ] Transmit: Hello Packet: Version 2 Type 1 Router ID 127.1.0.21 Area ID 0.0.0.0 Auth Type 0 Network Mask 0xffffff00 Hello Interval 10 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 Router Priority 128 Router Dead Interval 40 Designated Router 0.0.0.0 Backup Designated Router 0.0.0.0 [ 27271 +168 area_router.cc peer_up ] PeerID 1 [ 27271 +3574 area_router.cc publish_all ] Publish: Router-LSA: LS age 0 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1 Link State ID 127.1.0.21 Advertising Router 127.1.0.21 LS sequence number 0x80000001 LS checksum 0x2fc3 length 36 bit Nt false bit V false bit E false bit B false Type 3 Stub network Subnet number 10.21.21.0 Mask 255.255.255.0 Metric 1 [ 27271 +3540 area_router.cc publish ] Publish: Router-LSA: LS age 0 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1 Link State ID 127.1.0.21 Advertising Router 127.1.0.21 LS sequence number 0x80000001 LS checksum 0x2fc3 length 36 bit Nt false bit V false bit E false bit B false Type 3 Stub network Subnet number 10.21.21.0 Mask 255.255.255.0 Metric 1 [ 2007/11/20 11:18:59 INFO xorp_rtrmgr:26372 RTRMGR task.cc:2228 run_task ] No more tasks to run [ 2007/11/20 11:18:59 WARNING xorp_fea XrlFeaTarget ] Handling method for raw_packet4/0.1/join_multicast_group failed: XrlCmdError 102 Command failed Cannot join group 224.0.0.5 on interface eth0.1021 vif eth0.1021: No such device [ 2007/11/20 11:18:59 FATAL xorp_ospfv2:27271 OSPF xrl_io.cc:638 join_multicast_group_cb ] Cannot join a multicast group on interface eth0.1021 vif eth0.1021: 102 Command failed Cannot join group 224.0.0.5 on interface eth0.1021 vif eth0.1021: No such device created new heap in find_heap, ptr: 0x83682d0 created new heap in find_heap, ptr: 0x837b098 [ 2007/11/20 11:18:59 ERROR xorp_rtrmgr:26372 RTRMGR module_manager.cc:747 done_cb ] Command "/usr/local/xorp/ospf/xorp_ospfv2": terminated with signal 6; aborted with a core dump. [ 2007/11/20 11:18:59 INFO xorp_rtrmgr:26372 RTRMGR module_manager.cc:291 module_exited ] Module coredumped: ospf4 [ 2007/11/20 11:18:59 INFO xorp_rib RIB ] Received death event for protocol ospfv2 shutting down ------- -- Ben Greear Candela Technologies Inc http://www.candelatech.com From arjun at ceeyes.com Wed Nov 28 23:12:36 2007 From: arjun at ceeyes.com (Arjun Prasad) Date: Thu, 29 Nov 2007 12:42:36 +0530 Subject: [Xorp-hackers] xorp configuration Message-ID: <000c01c83257$393f9170$2283a8c0@ceeyes.com> Hi 2 all! Hope u all will be doing very fine in order 2 make xorp the best router plateform in the Universe. I have a dought regarding xorp configuration. Can u guys explain in details what is there in ... config directory,acconfig.h header file,config.h.in file, configure.in file . And also what is performed by configure shell script and how it is related 2 above files. Regards , Arjun Prasad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20071129/9a593cea/attachment.html From pavlin at icir.org Thu Nov 29 20:03:15 2007 From: pavlin at icir.org (Pavlin Radoslavov) Date: Thu, 29 Nov 2007 20:03:15 -0800 Subject: [Xorp-hackers] xorp configuration In-Reply-To: Message from "Arjun Prasad" of "Thu, 29 Nov 2007 12:42:36 +0530." <000c01c83257$393f9170$2283a8c0@ceeyes.com> Message-ID: <200711300403.lAU43Fd5067170@possum.icir.org> > I have a dought regarding xorp configuration. > > Can u guys explain in details what is there in ... > config directory,acconfig.h header file,config.h.in file, > configure.in file . > And also what is performed by configure shell script and how it is related 2 above files. All this is part of the wonderful and magical world of autotools (autoconf/automake/libtool). Those are described in the info pages online and in the following online book: http://sources.redhat.com/autobook/ Hope that helps, Pavlin