Hi guys, I'm having some problems with pppd. I'm trying to install 2 servers with a leased line.
All signals (DCD, DSR, DTR, CTS and RTS) are up, which indcates that the cables and modems are OK, but I can't ping the remote peer. Here goes my configurations: Server 1: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.2 192.168.100.1 255.255.255.255 UGH 0 0 0 ppp0 200.216.95.214 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 192.168.100.0 0.0.0.0 255.255.255.252 U 0 0 0 ppp0 10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 200.216.95.214 0.0.0.0 UG 0 0 0 ppp1 /etc/network/interfaces iface ppp0 inet static address 192.168.100.1 netmask 255.255.255.252 network 192.168.100.0 broadcast 192.168.100.3 /etc/ppp/options.ttyS0 predio1:predio2 192.168.100.1:192.168.100.2 #noauth #debug #defaultroute crtscts mtu 576 mru 576 passive -chap modem -pap persist nodetach lock asyncmap 0 /etc/inittab # Starting the PPPD and keeping it alive. s1:23:respawn:/usr/sbin/pppd /dev/ttyS0 38400 /etc/init.d/bootmisc.sh #Habilitando o roteamento echo 1 > /proc/sys/net/ipv4/ip_forward echo "Iniciando o PPPD" /usr/sbin/pppd /dev/ttyS0 38400 sleep 60 /sbin/ifup ppp0 #Inserindo rotas estaticas: route add -net 10.0.2.0 netmask 255.255.255.0 gateway 192.168.100.1 route add -net 10.0.3.0 netmask 255.255.255.0 gateway 192.168.100.1 route add -net 10.0.4.0 netmask 255.255.255.0 gateway 192.168.100.1 route add -host 192.168.100.2 gw 192.168.100.1 ifconfig ppp0 Link encap:Point-Point Protocol inet addr:192.168.100.1 P-t-P:192.168.100.2 Mask:255.255.255.252 POINTOPOINT MTU:1500 Metric:1 RX packets:0 errors:10 dropped:10 overruns:0 TX packets:10 errors:0 dropped:0 overruns:0 Server 2: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.1 192.168.100.2 255.255.255.255 UGH 0 0 0 ppp0 192.168.100.0 0.0.0.0 255.255.255.252 U 0 0 0 ppp0 10.0.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 10.0.1.0 192.168.100.2 255.255.255.0 UG 0 0 0 ppp0 10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 192.168.100.2 0.0.0.0 UG 0 0 0 ppp0 /etc/network/interfaces iface ppp0 inet static address 192.168.100.2 netmask 255.255.255.252 network 192.168.100.0 broadcast 192.168.100.3 /etc/ppp/options.ttyS0 predio2:predio1 192.168.100.2:192.168.100.1 # noauth # debug # defaultroute crtscts mtu 576 mru 576 passive -chap modem -pap persist asyncmap 0 lock nodetach /etc/inittab # Starting the PPPD and keeping it alive. s1:23:respawn:/usr/sbin/pppd /dev/ttyS0 38400 /etc/init.d/bootmisc.sh #Habilitando o roteamento echo 1 > /proc/sys/net/ipv4/ip_forward #Habilitando o PPP /usr/sbin/pppd & sleep 60 /sbin/ifup ppp0 #Inserindo a rota default route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.100.2 #Inserindo rota para o Clube Naval 1:#Inserindo rota para o Clube Naval 1: route add -net 10.0.1.0 netmask 255.255.255.0 gw 192.168.100.2 route add -host 192.168.100.1 gw 192.168.100.2 ifconfig ppp0 Link encap:Point-Point Protocol inet addr:192.168.100.2 P-t-P:192.168.100.1 Mask:255.255.255.252 POINTOPOINT MTU:1500 Metric:1 RX packets:0 errors:10 dropped:10 overruns:0 TX packets:10 errors:0 dropped:0 overruns:0 Could anybody help me? Thanks, Marcelo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]