Bonjour à tous,
Je viens creer une interface sur une passerelle de mon reseau qui est connecté en RJ45 à un modem en PPOE. Etant donné que cette passerelle a déja sa route vers internet de configuré j’ai commenté l’option default route du fichier de conf:
[code]klnet01:/etc/ppp/peers# cat dsl-provider | grep default
#noipdefault
Use this connection as the default route.
Comment out if you already have the correct default route installed.
#defaultroute
[/code]
Pourtant lorsque je lance la connexion et que mon interface ppp0 se monte, mon serveur n’accède plus à Internet:
klnet01:/etc/ppp/peers# ping google.fr
PING google.fr (209.85.148.147) 56(84) bytes of data.
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=1 ttl=57 time=23.6 ms
64 bytes from fra07s07-in-f147.1e100.net (209.85.148.147): icmp_seq=2 ttl=57 time=27.9 ms
klnet01:/etc/ppp/peers# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
212.11.48.80 0.0.0.0 255.255.255.248 U 0 0 0 eth1
192.168.7.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.6.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
172.19.251.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.4.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.3.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.50.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 192.168.1.1 255.0.0.0 UG 0 0 0 eth0
0.0.0.0 212.11.48.81 0.0.0.0 UG 0 0 0 eth1
klnet01:/etc/ppp/peers# pon dsl-provider
Plugin rp-pppoe.so loaded.
klnet01:/etc/ppp/peers# ping google.fr
klnet01:/etc/ppp/peers# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
178.32.37.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
212.11.48.80 0.0.0.0 255.255.255.248 U 0 0 0 eth1
192.168.7.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.6.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
172.19.251.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.4.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.3.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.50.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 192.168.1.1 255.0.0.0 UG 0 0 0 eth0
0.0.0.0 212.11.48.81 0.0.0.0 UG 0 0 0 eth1
J’ai loupé quelque chose?
Merci d’avance