[Xorp-users] Multicast over GRE tunnel between Cisco and Ubuntu 11.10

Thiago Anderson thiago at g3informatica.com.br
Tue Jan 10 10:23:37 PST 2012


Ben,

Thz for reply...

i try to compile and get errors:

# git clone git://github.com/greearb/xorp.ct.git
# cd  xorp.ct/xorp
# scons

You will also want to edit similar code around line 282 of:
/usr/include/linux/netfilter_ipv6/ip6_tables.h
NOTE:  Recent kernels use struct xt_entry_target for the argument
   for these methods, so use that instead of ipt_entry_target if that
   is the case for your system.
Checking for C library curses... yes
Checking for C library pdcurses... no
Checking for C library ncurses... yes
Detected libraries: rt resolv crypto dl pcap curses ncurses
Mkdir("/usr/src/xorp.ct/xorp/obj/i686-pc-linux-gnu/lib")
Mkdir("/usr/src/xorp.ct/xorp/obj/i686-pc-linux-gnu/lib/xorp")
Symlink("/usr/src/xorp.ct/xorp/obj/i686-pc-linux-gnu/lib", as
"/usr/src/xorp.ct/xorp/obj/i686-pc-linux-gnu/lib/xorp/lib")

scons: warning: Two different environments were specified for target
aspath.os,
        but they appear to have the same action: $SHCXX -o $TARGET -c
$SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/usr/src/xorp.ct/xorp/bgp/SConscript", line 169, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: Configure: creating obj/i686-pc-linux-gnu/xorp_config.h
g++ -o obj/i686-pc-linux-gnu/cli/tools/cli_generic.o -c -O2 -g3 -Werror -W
-Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align
-Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO
-DXRL_PF=120 -DXORP_VERSION=1.8.5-WIP -D_FORTIFY_SOURCE=0
-Iobj/i686-pc-linux-gnu -I. -I. cli/tools/cli_generic.cc
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors

scons: *** [obj/i686-pc-linux-gnu/cli/tools/cli_generic.o] Error 1
scons: building terminated because of errors.


Help?

Thiago

2012/1/10 Ben Greear <greearb at candelatech.com>

> On 01/10/2012 05:56 AM, Thiago Anderson wrote:
>
>>
>>    Cisco                                                       Linux
>> 10.244.0.1/32 <http://10.244.0.1/32> -------------------[ipsec]----**------------------
>> 10.244.249.117
>> 10.244.229.221/30 <http://10.244.229.221/30> ---------------[ gre ]
>> --------------------- 10.244.229.222/30 <http://10.244.229.222/30>
>> 10.244.0.0/24 <http://10.244.0.0/24> ------------------------------**------------------------
>> 10.245.6.240/28 <http://10.245.6.240/28>
>>
>>
>> I have a tunnel as above, where gw ipsec - gw and a gre to pass multicast
>> and unicast.
>> Unicast is ok, and works through the normal conecoes tcp / ping.
>>
>> I'm trying to configure the XORP to be able to forward multicast but
>> still unable to deliver the join the group through the GRE tunnel.
>>
>> Below is the configuration of the XORP:
>>
>
> Make sure you are using Xorp 1.8.5-WIP (HEAD tag from github).  It fixes
> some bugs since the last release...I'll be doing a new official 1.8.5
> release
> within the next week or two.
>
> Thanks,
> Ben
>
>
>> **** My home network is on eth2 and gre tunnel is named Bovespa ****
>>
>>
>> rtrmgr {
>> config-directory: "/etc/xorp"
>> }
>>
>> interfaces {
>> interface eth2 {
>> description: "upstream interface"
>> disable:false
>> default-system-config
>> vif eth2 {
>> address 10.245.6.241 {
>> prefix-length:28
>> multicast-capable: true
>> }
>> }
>> }
>>
>> interface bovespa {
>> description: "downstream interface"
>> disable: false
>> default-system-config
>> vif bovespa {
>> address 10.245.6.222 {
>> prefix-length:30
>> multicast-capable: true
>> }
>> }
>> }
>>
>> }
>>
>> plumbing {
>> mfea4 {
>> disable: false
>> interface eth2 {
>> vif eth2 {
>> disable: false
>> }
>> }
>>
>> interface bovespa {
>> vif bovespa {
>> disable: false
>> }
>> }
>> interface register_vif {
>> vif register_vif {
>> /* Note: this vif should be always enabled */
>> disable: false
>> }
>> }
>> traceoptions {
>> flag all {
>> disable: false
>> }
>> }
>> }
>> }
>> protocols {
>>
>> igmp {
>> disable: false
>> interface eth2 {
>> vif eth2 {
>> disable: false
>> }
>> }
>>
>> interface bovespa {
>> vif bovespa {
>> disable: false
>> }
>> }
>>
>> traceoptions {
>> flag all {
>> disable: false
>> }
>> }
>> }
>>
>> pimsm4 {
>> disable: false
>> interface eth2 {
>> vif eth2 {
>> disable: false
>> }
>> }
>>
>> interface bovespa {
>> vif bovespa {
>> disable: false
>> }
>> }
>>
>> interface register_vif {
>> vif register_vif {
>> /* Note: this vif should be always enabled */
>> disable: false
>> }
>> }
>>
>> static-rps {
>> rp 10.244.0.10 {
>> group-prefix 233.111.180.96/27 <http://233.111.180.96/27> {
>> /* rp-priority: 192 */
>> }
>> group-prefix 233.111.180.128/27 <http://233.111.180.128/27> {
>>
>> /* rp-priority: 192 */
>> }
>> }
>> }
>>
>> bootstrap {
>> disable: false
>> cand-bsr {
>> scope-zone 233.111.180.96/27 <http://233.111.180.96/27> {
>>
>> cand-bsr-by-vif-name: "bovespa"
>> bsr-priority: 1
>> hash-mask-len: 30
>> }
>> }
>> cand-rp {
>> group-prefix 233.111.180.96/27 <http://233.111.180.96/27> {
>>
>> cand-rp-by-vif-name: "bovespa"
>> rp-priority: 192
>> rp-holdtime: 150
>> }
>> }
>> }
>>
>>
>> traceoptions {
>> flag all {
>> disable: false
>> }
>> }
>> }
>> fib2mrib {
>> disable: false
>> }
>> }
>>
>>
>> **********************
>> root at gw> show pim neighbors
>> Interface    DRpriority NeighborAddr    V Mode   Holdtime Timeout
>>
>>
>> **********************
>>
>> root at fw-neppo> show igmp group
>> Interface    Group           Source          LastReported Timeout V State
>> eth2         233.111.180.97  0.0.0.0         10.245.6.242     198 2     E
>> eth2         233.111.180.98  0.0.0.0         10.245.6.242     205 2     E
>> eth2         233.111.180.99  0.0.0.0         10.245.6.242     201 2     E
>> eth2         233.111.180.100 0.0.0.0         10.245.6.242     205 2     E
>>
>>
>> Thank for replay.
>>
>> Thiago.
>>
>>
>>
>> ______________________________**_________________
>> Xorp-users mailing list
>> Xorp-users at xorp.org
>> http://mailman.ICSI.Berkeley.**EDU/mailman/listinfo/xorp-**users<http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users>
>>
>
>
> --
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20120110/0c757f1f/attachment-0001.html 


More information about the Xorp-users mailing list