• [^] # Re: Route par défaut

    Posté par (site web personnel) . En réponse au message Connection VPN Cisco (vpnc) ubuntu 10.4 freebox. Évalué à 1.

    Ah, il semble que mon problème aie quelque chose à voir avec ça. Mes routes avant la connection :
    monnier@kilo:~$ route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 2 0 0 eth1
    192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
    link-local * 255.255.0.0 U 1000 0 0 eth1
    default 192.168.0.254 0.0.0.0 UG 0 0 0 eth1
    
    Je me connecte :
    monnier@kilo:~$ sudo vpnc-connect esterel
    Connect Banner:
    | Warning ! You are now connected to Esterel Technologies Private Network.
    | 
    VPNC started in background (pid: 5285)...
    
    Nouvelle table de routes, listée instantanément :
    monnier@kilo:~$ route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    vldomsrv.estere * 255.255.255.255 UH 0 0 0 tun0
    twins.esterel-t * 255.255.255.255 UH 0 0 0 tun0
    reverse.complet 192.168.0.254 255.255.255.255 UGH 0 0 0 eth1
    192.168.3.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.2.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.0.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.0.0 * 255.255.255.0 U 2 0 0 eth1
    192.168.10.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
    link-local * 255.255.0.0 U 1000 0 0 eth1
    default 192.168.0.254 0.0.0.0 UG 0 0 0 eth1
    
    J'attends 30 s que la connection tombe:
    monnier@kilo:~$ ping fauve
    PING fauve.esterel-technologies.com (192.168.10.5) 56(84) bytes of data.
    64 bytes from fauve.esterel-technologies.com (192.168.10.5): icmp_seq=1 ttl=127 time=41.7 ms
    [...]
    64 bytes from fauve.esterel-technologies.com (192.168.10.5): icmp_seq=9 ttl=127 time=41.2 ms
    ^C
    --- fauve.esterel-technologies.com ping statistics ---
    13 packets transmitted, 9 received, 30% packet loss, time 12026ms
    rtt min/avg/max/mdev = 41.219/44.031/51.503/3.409 ms
    
    Nouvelle commande route, qui met plusieurs dizaines de secondes à s'afficher ( ! )
    monnier@kilo:~$ route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.10.24 * 255.255.255.255 UH 0 0 0 tun0
    192.168.10.28 * 255.255.255.255 UH 0 0 0 tun0
    213.30.139.86 192.168.0.254 255.255.255.255 UGH 0 0 0 eth1
    192.168.3.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.2.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.0.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.0.0 * 255.255.255.0 U 2 0 0 eth1
    192.168.10.0 * 255.255.255.0 U 0 0 0 tun0
    192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
    link-local * 255.255.0.0 U 1000 0 0 eth1
    default 192.168.0.254 0.0.0.0 UG 0 0 0 eth1
    
    Elle semble identique, sauf que les noms de machines ont été résolus en IP. Je ne comprends pas pourquoi elle met systématiquement longtemps à s'afficher une fois que j'ai perdu le lien avec mon VPN.