{"id":104,"date":"2008-12-08T18:56:52","date_gmt":"2008-12-08T16:56:52","guid":{"rendered":"https:\/\/vpn.univ-fcomte.fr\/?p=104"},"modified":"2008-12-08T19:05:52","modified_gmt":"2008-12-08T17:05:52","slug":"probleme-linux-route-par-defaut-surnumeraire","status":"publish","type":"post","link":"https:\/\/vpn.univ-fcomte.fr\/?p=104","title":{"rendered":"probl\u00e8me Linux : route par d\u00e9faut surnum\u00e9raire"},"content":{"rendered":"<p>avant d&rsquo;activer le VPN vous avez des routes du style :<br \/>\n<code>172.21.7.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1<br \/>\n0.0.0.0         172.21.7.254         0.0.0.0         UG     0      0        0 eth1<\/code><\/p>\n<p>Une fois activ\u00e9 le VPN (sur l&rsquo;interface WIFI) vous avez :<br \/>\n<code>194.57.91.250   172.21.7.254    255.255.255.255 UGH   0      0        0 eth1<br \/>\n192.168.255.202 0.0.0.0         255.255.255.255 UH    0      0        0 ppp0<br \/>\n172.21.7.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1<br \/>\n0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0<\/code><\/p>\n<p>Mais il est possible qu&rsquo;une fois activ\u00e9 ipsec vous ayez les routes suivantes en sus :<br \/>\n<code>0.0.0.0         0.0.0.0         128.0.0.0         U     0      0        0 eth1<br \/>\n128.0.0.0         0.0.0.0         128.0.0.0         U     0      0        0 eth1<br \/>\n169.254.0.0         0.0.0.0         255.255.0.0         U     1000      0        0 eth1<\/code><\/p>\n<p>Les deux premi\u00e8res routes sont compl\u00e8tement inutile et nuisible \u00e0 votre connexion. Il faut donc s&rsquo;en d\u00e9barrasser avec les commandes suivantes :<br \/>\n<code>route del -net 128.0.0.0 netmask 128.0.0.0<br \/>\nroute del -net 0.0.0.0 netmask 128.0.0.0<\/code><\/p>\n<p>Vous pouvez aussi aller modifier le fichier \/etc\/ipsec.conf en d\u00e9commentant la ligne suivante :<br \/>\n<code>include \/etc\/ipsec.d\/examples\/no_oe.conf<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>avant d&rsquo;activer le VPN vous avez des routes du style : 172.21.7.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 172.21.7.254 0.0.0.0 UG 0 0 0 eth1 Une fois activ\u00e9 le VPN (sur l&rsquo;interface WIFI) vous avez : 194.57.91.250 172.21.7.254 255.255.255.255 UGH 0 0 0 eth1 192.168.255.202 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 172.21.7.0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[109,6,90],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-problemes-utilisateurs","tag-del","tag-linux","tag-route"],"_links":{"self":[{"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104"}],"version-history":[{"count":0,"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions"}],"wp:attachment":[{"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpn.univ-fcomte.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}