PB passerelle internet
Bonjour à tou(te)s,
Ma config :
PCLAN-eth0--------switch--------eth0-PSRL-ppp0--------Internet
J'essaie de configurer PSRL (IP fixe : 192.168.1.20) en passerelle
internet de mon LAN.
PSRL se connecte sans prob au boot.
J'ai installé dnsmasq sur PSRL pour son service DNS et DHCP.
Je verrai plus tard les problèmes de firewall sur PSRL.
PSRL# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Le DHCP fonctionne :
PCLAN#
[...]
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.1.20
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.20
Reloading /etc/samba/smb.conf: smbd only.
bound to 192.168.1.101 -- renewal in 19098 seconds.
done.
PCLAN a accès au réseau local, mais pas à internet :
PCLAN# ping google.com
PING google.com (74.125.45.100) 56(84) bytes of data.
^C
--- google.com ping statistics ---
20 packets transmitted, 0 received, 100% packet loss, time 18999ms
On dirait qu'il me manque un routage des paquets au retour du ping ...
A tout hasard, je vous donne ma table de routage sur PSRL :
PSRL# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use
Iface
1.1.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Je suis dans le brouillard là,
Toute aide sera la bienvenue,
Merci
Jean Marc
Reply to: