From eaversa at gmail.com Mon Jan 4 20:35:01 2010 From: eaversa at gmail.com (Eric Aversa) Date: Mon, 4 Jan 2010 23:35:01 -0500 Subject: [Xorp-users] Problem with bgp and policy Message-ID: I encounter the following error when trying to restrict locally connected subnets exported via bgp. I am trying release 1.6 of xorp. Command failed Export of bgp failed: sem_error from line 106 of visitor_semantic.cc: No protocol specified in source match of export policy I am trying to use the config below. Am I doing something wrong with my network4 policy? > protocols { > bgp { > bgp-id: 192.168.3.1 > local-as: "64512" > enable-4byte-as-numbers: false > import: "bgp-in" > export: "REDIST_STATIC" > } > } policy { policy-statement "REDIST_STATIC" { term 1 { from { network4: 192.168.3.0/24 } } } > policy-statement "bgp-in" { > term 0 { > from { > neighbor: 192.168.1.28 > } > } > } } fea { unicast-forwarding4 { disable: false } } interfaces { restore-original-config-on-shutdown: false interface eth0 { description: "" disable: false discard: false unreachable: false management: false vif eth0 { disable: false address 192.168.1.40 { prefix-length: 24 disable: false } } } interface eth1 { description: "" disable: false discard: false unreachable: false management: false vif eth1 { disable: false address 192.168.3.1 { prefix-length: 24 disable: false } } } } From eaversa at gmail.com Mon Jan 4 20:44:42 2010 From: eaversa at gmail.com (Eric Aversa) Date: Mon, 4 Jan 2010 23:44:42 -0500 Subject: [Xorp-users] Problem with bgp and policy In-Reply-To: References: Message-ID: It seems that my problem is resolved if state my policy accordingly: > policy { > policy-statement "REDIST_STATIC" { > term 1 { > from { protocol: "connected" > network4: 192.168.3.0/24 > } > } > } On Mon, Jan 4, 2010 at 11:35 PM, Eric Aversa wrote: > I encounter the following error when trying to restrict locally > connected subnets exported via bgp. I am trying release 1.6 of xorp. > > Command failed Export of bgp failed: sem_error from line 106 of > visitor_semantic.cc: No protocol specified in source match of export > policy > > I am trying to use the config below. Am I doing something wrong with > my network4 policy? > >> ? protocols { >> ? ? ? bgp { >> ? ? ? ? ? bgp-id: 192.168.3.1 >> ? ? ? ? ? local-as: "64512" >> ? ? ? ? ? enable-4byte-as-numbers: false >> ? ? ? ? ? import: "bgp-in" >> ? ? ? ? ? export: "REDIST_STATIC" >> ? ? ? } >> ? } > ? ?policy { > ? ? ? ?policy-statement "REDIST_STATIC" { > ? ? ? ? ? ?term 1 { > ? ? ? ? ? ? ? ?from { > ? ? ? ? ? ? ? ? ? ?network4: 192.168.3.0/24 > ? ? ? ? ? ? ? ?} > ? ? ? ? ? ?} > ? ? ? ?} >> ? ? ? policy-statement "bgp-in" { >> ? ? ? ? ? term 0 { >> ? ? ? ? ? ? ? from { >> ? ? ? ? ? ? ? ? ? neighbor: 192.168.1.28 >> ? ? ? ? ? ? ? } >> ? ? ? ? ? } >> ? ? ? } > ? ?} > ? ?fea { > ? ? ? ?unicast-forwarding4 { > ? ? ? ? ? ?disable: false > ? ? ? ?} > ? ?} > ? ?interfaces { > ? ? ? ?restore-original-config-on-shutdown: false > ? ? ? ?interface eth0 { > ? ? ? ? ? ?description: "" > ? ? ? ? ? ?disable: false > ? ? ? ? ? ?discard: false > ? ? ? ? ? ?unreachable: false > ? ? ? ? ? ?management: false > ? ? ? ? ? ?vif eth0 { > ? ? ? ? ? ? ? ?disable: false > ? ? ? ? ? ? ? ?address 192.168.1.40 { > ? ? ? ? ? ? ? ? ? ?prefix-length: 24 > ? ? ? ? ? ? ? ? ? ?disable: false > ? ? ? ? ? ? ? ?} > ? ? ? ? ? ?} > ? ? ? ?} > ? ? ? ?interface eth1 { > ? ? ? ? ? ?description: "" > ? ? ? ? ? ?disable: false > ? ? ? ? ? ?discard: false > ? ? ? ? ? ?unreachable: false > ? ? ? ? ? ?management: false > ? ? ? ? ? ?vif eth1 { > ? ? ? ? ? ? ? ?disable: false > ? ? ? ? ? ? ? ?address 192.168.3.1 { > ? ? ? ? ? ? ? ? ? ?prefix-length: 24 > ? ? ? ? ? ? ? ? ? ?disable: false > ? ? ? ? ? ? ? ?} > ? ? ? ? ? ?} > ? ? ? ?} > ? ?} > From mohd.arif at nechclst.in Sun Jan 10 23:41:40 2010 From: mohd.arif at nechclst.in (Mohd Arif) Date: Mon, 11 Jan 2010 13:11:40 +0530 Subject: [Xorp-users] [PIM-SM] Urgent Query Regarding C-RP-Adv messages Message-ID: <0A8CFEC45B7F4C419F7543867C47442303BA1489@mailserver.nechclst.in> Dear All, Can somebody suggest that how the transmission interval between C-RP-Adv messages can be changed. As per my observation, the current time difference between two C-RP-Adv is 60 seconds. I want to make this interval as a configurable parameter. I tried it by changing values of rp_holdtime, but I think it is not related to the transmission interval between two C-RP-Adv messages. Thanks for the support. Best Regards, Mohd. Arif DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20100111/56977e76/attachment.html From gs050486d at student.etf.rs Mon Jan 25 06:53:41 2010 From: gs050486d at student.etf.rs (=?UTF-8?Q?Stevan_Grbi=C4=87_05/0486?=) Date: Mon, 25 Jan 2010 15:53:41 +0100 Subject: [Xorp-users] Xorp (&networking) rookie Message-ID: Hi to all, I'm beginner in this area. I'm curious what will I need (of equipment) to configure and check basic xorp functions, to test how it functioning? (I have laptop&desktop PCs with XinXP and ADSL huawei router)?! Thanks a lot! "_" From mohd.arif at nechclst.in Wed Jan 27 21:17:48 2010 From: mohd.arif at nechclst.in (Mohd Arif) Date: Thu, 28 Jan 2010 10:47:48 +0530 Subject: [Xorp-users] [URGENT] PIM-SM Operation on PowerPC Architecture Message-ID: <0A8CFEC45B7F4C419F7543867C47442303C93225@mailserver.nechclst.in> Dear All, I've compiled XORP for PowerPC architecture. Router Manager and PIM-SM are successfully running on the PowerPC based board. The issue is that the Candidate RP is always sending C-RP-Adv with ZERO hold time and ZERO priority. I changed the values of both configuration parameters using CLI. But even then, hold time and priority is ZERO. In addition, whatever be the priority of static RP, the XORP is always taking it as ZERO. (Information checked using "show pim rps" command) Can somebody suggest that what's going wrong? I'm sure that the configuration file is absolutely correct. Is there any kernel parameter which needs to be changed for it? Kindly suggest. I've tried every approach that I had in my mind but didn't get any positive result. Best Regards, Mohd. Arif DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . ----------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20100128/f84c1a88/attachment.html From gs050486d at student.etf.rs Sun Jan 31 08:02:13 2010 From: gs050486d at student.etf.rs (=?UTF-8?Q?Stevan_Grbi=C4=87_05/0486?=) Date: Sun, 31 Jan 2010 17:02:13 +0100 Subject: [Xorp-users] Very basic questions Message-ID: Hi everyone, I'm pretty new at Linux and XORP. I have downloaded XORP 1.6, unziped it and followed instructions for compiling, but I get stuck at gmake.. Here's what I get typing into terminal: grbic at ubuntu:~$ cd Downloads grbic at ubuntu:~/Downloads$ cd xorp-1.6 grbic at ubuntu:~/Downloads/xorp-1.6$ ./configure checking build system type... gmai686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... keyes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. grbic at ubuntu:~/Downloads/xorp-1.6$ gmake No command 'gmake' found, did you mean: Command 'imake' from package 'xutils-dev' (main) Command 'mmake' from package 'mmake' (universe) Command 'tmake' from package 'tmake' (universe) Command 'hmake' from package 'hmake' (universe) Command 'omake' from package 'omake' (universe) Command 'qmake' from package 'qt4-qmake' (main) Command 'qmake' from package 'qt3-dev-tools' (main) Command 'guake' from package 'guake' (universe) Command 'jmake' from package 'dist' (universe) Command 'make' from package 'make' (main) Command 'dmake' from package 'dmake' (main) Command 'vmake' from package 'hdf4-tools' (universe) Command 'cmake' from package 'cmake' (main) Command 'pmake' from package 'pmake' (main) gmake: command not found grbic at ubuntu:~/Downloads/xorp-1.6$ make make: *** No targets specified and no makefile found. Stop. grbic at ubuntu:~/Downloads/xorp-1.6$ what should I do? (as I saw in getting starting,I should have gmake by default..) I'm running Ubuntu 9.10(karmic) with 2.6.31-17 linux kernel and 2.28.1 gnome.. Also, I'm planing to run, XORP in Sun's Virtualbox to examine XORP (&network) basics, what should you recommend me? Thank you in advance! From moto at kawasaki3.org Sun Jan 31 23:02:22 2010 From: moto at kawasaki3.org (moto kawasaki) Date: Mon, 01 Feb 2010 16:02:22 +0900 (JST) Subject: [Xorp-users] Very basic questions In-Reply-To: References: Message-ID: <20100201.160222.247041332.moto@kawasaki3.org> Hi, > gmake: command not found > grbic at ubuntu:~/Downloads/xorp-1.6$ make > make: *** No targets specified and no makefile found. Stop. > grbic at ubuntu:~/Downloads/xorp-1.6$ > > > what should I do? (as I saw in getting starting,I should have gmake by > default..) You can check if gmake exists in your system by "which gmake." If you surely have gmake but which command won't agree, then you need to check your path by "echo $PATH" (comannd differs depending on your shell). Sorry in advance, I am not Ubuntsu user so that the above may be wrong. Enjoy! -- moto kawasaki