Hi james, 
thanks to your answer.

After searching about arp management in the kernel, I found this:
http://kb.linuxvirtualserver.org/wiki/Using_arp_announce/arp_ignore_to_disable_ARP

in my conf the /proc/sys/net/ipv4/conf/l2tpeth0/arp_announce = 2 and
/proc/sys/net/ipv4/conf/l2tpeth0/arp_ignore=1
Because of the /proc/sys/net/ipv4/conf/default/... parameters.

I put in the /proc/sys/net/ipv4/conf/{all,l2tpeth0}/ { arp_announce , 
arp_ignore } =0 

GWA ping GWB and GWB ping GWA, it is OK now .









-----Message d'origine-----
De : James Chapman [mailto:[email protected]] 
Envoyé : mardi 27 août 2013 10:43
À : Didier Gaudin
Cc : '[email protected]'
Objet : Re: [Openl2tp-users] problem ARP request l2tpv3 ethernet

I had a quick look at your config - it looks fine.

I suggest check the setup at GWB for reasons why its ARP response might
be misdirected or disabled. Look at ARP stats etc. Try setting up static
ARP entries at GWA and GWB.

If you ping in the reverse direction from GWB to GWA, does GWA receive
an ARP request and send an ARP response?

On 26/08/13 14:45, Didier Gaudin wrote:
> Hi all,
> 
> I am trying to do a l2tpv3 tunnel between 2 nodes over WAN:
> 
>  
> 
> SiteA ----GWA -----------WAN----------GWB ------ SiteB
> 
>  
> 
> My conf on GWA :
> 
> site-A:# ip l2tp add tunnel tunnel_id 3000 peer_tunnel_id 4000 encap
> udp            local 10.190.47.252 remote 10.254.1.99 udp_sport 5000
> udp_dport 6000
> 
> site-A:# ip l2tp add session tunnel_id 3000 session_id 1000
> peer_session_id 2000
> 
> site-A:# ip link set l2tpeth0 up mtu 1488
> 
> site-A:# ip addr add 10.42.1.1 peer 10.42.1.2 dev l2tpeth0
> 
>  
> 
> an on GWB
> 
> site-B:# ip l2tp add tunnel tunnel_id 4000 peer_tunnel_id 3000 encap
> udp          local 10.254.1.99 remote 10.190.47.252 udp_sport 6000
> udp_dport 5000
> 
> site-B:# ip l2tp add session tunnel_id 4000 session_id 2000
> peer_session_id 1000
> 
> site-B:# ip link set l2tpeth0 up mtu 1488
> 
> site-B:# ip addr add 10.42.1.2 peer 10.42.1.1 dev l2tpeth0
> 
>  
> 
>  
> 
> on GWA (siteA)
> 
> ping 10.41.1.2   =>From 10.42.1.1 icmp_seq=288 Destination Host Unreachable
> 
>  
> 
> on GWB(siteB)
> 
> tcpdump -i l2tpeth0
> 
> 15:33:29.637148 ARP, Request who-has 10.42.1.2 tell 10.42.1.1, length 28
> 
> 15:33:30.639847 ARP, Request who-has 10.42.1.2 tell 10.42.1.1, length 28
> 
>  
> 
> GWA :
> 
> l2tpeth0  Link encap:Ethernet  HWaddr 0A:3E:FD:65:02:E3
> 
>           inet addr:10.42.1.1  Bcast:0.0.0.0  Mask:255.255.255.255
> 
>           UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
> 
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> 
>           TX packets:231 errors:0 dropped:0 overruns:0 carrier:0
> 
>           collisions:0 txqueuelen:1000
> 
>           RX bytes:0  TX bytes:22176
> 
>  
> 
> GWB :
> 
> l2tpeth0  Link encap:Ethernet  HWaddr 12:4B:87:6E:02:91
> 
>           inet addr:10.42.1.2  Bcast:0.0.0.0  Mask:255.255.255.255
> 
>           UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
> 
>           RX packets:227 errors:0 dropped:0 overruns:0 frame:0
> 
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> 
>           collisions:0 txqueuelen:1000
> 
>           RX bytes:12258  TX bytes:0
> 
>  
> 
> I don't know why GWB is not able to response to arp request who-was
> 
>  
> 
> Do you have an idea?
> 
> 
> 
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> 
> 
> 
> _______________________________________________
> Openl2tp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openl2tp-users
> 



-- 
James Chapman
Katalix Systems Ltd
http://www.katalix.com
Catalysts for your Embedded Linux software development

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Openl2tp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openl2tp-users

Reply via email to