<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: RE: multi VPN configuration
From: Arnaud Fileux <arnaud,AT,decaservices,DOT,com>
Date: Thu, 20 Mar 2003 18:14:32 +0100
In-reply-to: <B17EB7B34580D311BE38525405DF623201318DD5@atc-mail-db.atctraining.com.au>

Dear,

I have found the problem but don't known how to resolve it.

Just to remember my config for the 3 CIPE VPN:

Host A -- Internet -- Host C -- Internet -- Host B

>From 10.0.0.1(C) to 10.0.0.3 and 10.0.0.4 ok
>From 10.0.0.4(A) to 10.0.0.1 and 10.0.0.3 ok
>From 10.0.0.3(B) to 10.0.0.1 ok

>From 10.0.0.3 to 10.0.0.4:

tcpdump on 10.0.0.1

13:54:36.913715 10.0.0.1 > 10.0.0.4: icmp: echo
request (DF)
13:54:36.915706 10.0.0.4 > 10.0.0.1: icmp: echo reply
13:54:37.916943 10.0.0.1 > 10.0.0.4: icmp: echo
request (DF)
13:54:37.917664 10.0.0.4 > 10.0.0.1: icmp: echo reply
13:54:38.946054 10.0.0.1 > 10.0.0.4: icmp: echo
request (DF)
13:54:38.946959 10.0.0.4 > 10.0.0.1: icmp: echo reply
13:54:39.991089 10.0.0.1 > 10.0.0.4: icmp: echo
request (DF)
13:54:39.991878 10.0.0.4 > 10.0.0.1: icmp: echo reply

tcpdump on 10.0.0.4
13:56:20.318647 10.0.0.3 > 10.0.0.4: icmp: echo
request
13:56:25.569521 10.0.0.3 > 10.0.0.4: icmp: echo
request
13:56:30.627469 10.0.0.3 > 10.0.0.4: icmp: echo
request
13:56:36.129527 10.0.0.3 > 10.0.0.4: icmp: echo
request

My configuration is here:

Host A:

10.0.0.4: (linux)
device cipcb0
key = b8bc2a894c8df1d8df42bed2079304c1
me = 0.0.0.0:3112
peer = 193.25.z.y:3111
ipaddr 10.0.0.4
ptpaddr 10.0.0.1
maxerr -1
dynip

[root@pat ipv4]# netstat -rn
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic 
 MSS Fenêtre irtt Iface
10.0.0.1        0.0.0.0         255.255.255.255 UH    
  40 0          0 cipcb2
10.0.0.2        10.0.0.1        255.255.255.255 UGH   
  40 0          0 cipcb2
193.253.x.y   0.0.0.0         255.255.255.255 UH      
40 0          0 ppp1
172.10.10.0     0.0.0.0         255.255.255.0   U     
  40 0          0 eth1
10.0.0.0        0.0.0.0         255.0.0.0       U     
  40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     
  40 0          0 lo
0.0.0.0         193.253.x.y   0.0.0.0         UG      
40 0          0 ppp1

Host C
(linux)
10.0.0.1:
[root@serveur cipe]# cat /etc/cipe/options.cipcb1
device cipcb1
debug=1
key = b8bc2a894c8df1d8df42bed2079304c1
me = 193.25.z.y:2111
peer = 127.0.0.1:2112
ipaddr 10.0.0.1
ptpaddr 10.0.0.3
maxerr -1
dynip

[root@serveur cipe]# netstat -rn
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic 
 MSS Fenêtre irtt Iface
10.0.0.4        0.0.0.0         255.255.255.255 UH    
  40 0          0 cipcb2
10.0.0.3        0.0.0.0         255.255.255.255 UH    
  40 0          0 cipcb1
10.0.0.2        0.0.0.0         255.255.255.255 UH    
  40 0          0 cipcb0
193.253.160.3   0.0.0.0         255.255.255.255 UH    
  40 0          0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U     
  40 0          0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     
  40 0          0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     
  40 0          0 lo
0.0.0.0         193.253.160.3   0.0.0.0         UG    
  40 0          0 ppp0

[root@serveur cipe]# cat /etc/cipe/options.cipcb2
device cipcb2
key = b8bc2a894c8df1d8df42bed2079304c1
me = 193.25.z.y:3111
peer = 127.0.0.1:3112
ipaddr 10.0.0.1
ptpaddr 10.0.0.4
maxerr -1
dynip

Host B:
10.0.0.3: (Windows Machine)

key = b8bc2a894c8df1d8df42bed2079304c1
peer = 193.25.z.y:2111
me = 0.0.0.0:2112
ptpaddr 10.0.0.1
ipaddr 10.0.0.3

Destination reseau    Masque reseau  Adr. passerelle  
Adr. interface Metrique
          0.0.0.0          0.0.0.0         10.0.0.1   
    10.0.0.3      30
          0.0.0.0          0.0.0.0    62.147.137.61  
62.147.137.61     1
         10.0.0.0        255.0.0.0         10.0.0.3   
    10.0.0.3      30
         10.0.0.2  255.255.255.255         10.0.0.1   
    10.0.0.3      1
         10.0.0.3  255.255.255.255        127.0.0.1   
   127.0.0.1      30
         10.0.0.4  255.255.255.255         10.0.0.1   
    10.0.0.3      1
   10.255.255.255  255.255.255.255         10.0.0.3   
    10.0.0.3      30
    62.147.137.61  255.255.255.255        127.0.0.1   
   127.0.0.1      50
   62.255.255.255  255.255.255.255    62.147.137.61  
62.147.137.61     50
        127.0.0.0        255.0.0.0        127.0.0.1   
   127.0.0.1      1
  192.168.254.254  255.255.255.255    62.147.137.61  
62.147.137.61     1
        224.0.0.0        240.0.0.0         10.0.0.3   
    10.0.0.3      30
        224.0.0.0        240.0.0.0    62.147.137.61  
62.147.137.61     1
  255.255.255.255  255.255.255.255         10.0.0.3   
    10.0.0.3      1
Passerelle par defaut:     62.147.137.61

Thanks you for your help and idea.

Arnaud.





<< | Thread Index | >> ]    [ << | Date Index | >> ]