Hello.

I try to setup tunnel between rp-l2tpd+FreeSWAN and W2k server.
In the first case I use LAN to test configuration, and everything works fine.
In second case from the _same_ W2K server with I dialup on router and after that run l2tpd over ppp (l2tpd server is behind the router). And get error "no answer".


IPSec connection is ok. When I run rp-l2tp in debug mod I receive this:

# l2tpd -f -d 65535
0.000 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
0.000 tunnel_new() -> 21548/0
0.000 21548/1: Peer host name is 'tobo-server'
0.000 tunnel(21548/1) state idle -> wait-ctl-conn
0.000 tunnel_enqueue_dgram(21548/1, SCCRP) rws=8 cwnd=1 ssthresh=8 outstanding=0
0.000 xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=8 outstanding=0
0.000 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
0.000 loop in xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=8 outstanding=1
0.989 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
0.989 tunnel_new() -> 15689/0
0.989 15689/1: Peer host name is 'tobo-server'
0.989 tunnel(15689/1) state idle -> wait-ctl-conn
0.990 tunnel_enqueue_dgram(15689/1, SCCRP) rws=8 cwnd=1 ssthresh=8 outstanding=0
0.990 xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=8 outstanding=0
0.990 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
0.990 loop in xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=8 outstanding=1
1.000 xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
1.000 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
1.000 loop in xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
1.990 xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
1.990 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
1.990 loop in xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
3.009 xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
3.009 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
3.010 loop in xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
3.010 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
3.010 tunnel_new() -> 59801/0
3.010 59801/1: Peer host name is 'tobo-server'
3.010 tunnel(59801/1) state idle -> wait-ctl-conn
3.010 tunnel_enqueue_dgram(59801/1, SCCRP) rws=8 cwnd=1 ssthresh=8 outstanding=0
3.010 xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=8 outstanding=0
3.010 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
3.010 loop in xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=8 outstanding=1
4.000 xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
4.000 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
4.001 loop in xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
4.010 xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
4.010 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
4.011 loop in xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
6.020 xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
6.020 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
6.021 loop in xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
7.009 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
7.009 tunnel_new() -> 2353/0
7.009 2353/1: Peer host name is 'tobo-server'
7.009 tunnel(2353/1) state idle -> wait-ctl-conn
7.009 tunnel_enqueue_dgram(2353/1, SCCRP) rws=8 cwnd=1 ssthresh=8 outstanding=0
7.009 xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=8 outstanding=0
7.009 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
7.010 loop in xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=8 outstanding=1
7.010 xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
7.010 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
7.011 loop in xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
8.010 xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
8.010 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
8.011 loop in xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
8.011 xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
8.011 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
8.011 loop in xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
10.020 xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
10.020 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
10.021 loop in xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
10.030 xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
10.030 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
10.031 loop in xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
14.031 xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
14.031 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
14.031 loop in xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
15.010 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
15.010 tunnel_new() -> 61776/0
15.010 61776/1: Peer host name is 'tobo-server'
15.010 tunnel(61776/1) state idle -> wait-ctl-conn
15.010 tunnel_enqueue_dgram(61776/1, SCCRP) rws=8 cwnd=1 ssthresh=8 outstanding=0
15.010 xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=8 outstanding=0
15.010 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
15.010 loop in xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=8 outstanding=1
15.011 xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
15.011 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
15.011 loop in xmit_queued(21548/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
16.012 xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
16.012 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
16.012 loop in xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
16.012 xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
16.012 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
16.012 loop in xmit_queued(15689/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
18.013 xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
18.013 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
18.013 loop in xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
18.033 xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
18.033 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
18.033 loop in xmit_queued(59801/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
22.025 xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
22.025 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
22.025 loop in xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
22.035 xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
22.035 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
22.035 loop in xmit_queued(2353/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
Error: Too many retransmissions on tunnel (21548/1); closing down
23.015 tunnel_free(21548/1)
Error: Too many retransmissions on tunnel (15689/1); closing down
24.016 tunnel_free(15689/1)
25.015 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
25.015 tunnel_new() -> 41997/0
25.015 41997/1: Peer host name is 'tobo-server'
25.015 tunnel(41997/1) state idle -> wait-ctl-conn
25.015 tunnel_enqueue_dgram(41997/1, SCCRP) rws=8 cwnd=1 ssthresh=8 outstanding=0
25.015 xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=8 outstanding=0
25.015 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
25.015 loop in xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=8 outstanding=1
26.017 xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
26.017 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
26.017 loop in xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
Error: Too many retransmissions on tunnel (59801/1); closing down
26.037 tunnel_free(59801/1)
28.028 xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
28.028 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
28.028 loop in xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
30.029 xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
30.029 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
30.029 loop in xmit_queued(61776/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
Error: Too many retransmissions on tunnel (2353/1); closing down
30.039 tunnel_free(2353/1)
32.030 xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
32.030 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
32.030 loop in xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
Error: Too many retransmissions on tunnel (61776/1); closing down
38.033 tunnel_free(61776/1)
40.034 xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=0
40.034 dgram_send_to_wire() -> type=SCCRP, tid=1, sid=0, Nr=1, Ns=0
40.034 loop in xmit_queued(41997/1): rws=8 cwnd=1 ssthresh=1 outstanding=1
Error: Too many retransmissions on tunnel (41997/1); closing down
48.038 tunnel_free(41997/1)


I use the same config for l2tpd in both cases. Why loopback is detected? Is it MTU problem or something else? I'm confused :(
Can anyone give me advises about this strange situation?
Thank you.
Regards.









Reply via email to