[Fwd: Re: [Openswan Users] openswan + l2tpd and pppd problem]

Tomasz Grzelak tgrzelak at wktpolska.com.pl
Thu Apr 7 12:22:41 CEST 2005

Stanislav Nedelchev wrote:

> i have win Xp box witj ip netmask behind NAT
>i get from l2tpd
>NAT box with real wip
>here is firewall with openswan +l2tpd an ppp
>witj real IP on eth0
>local l2tpd IP is
>one local IP on eth1 is
>and for third IP on et2 is
>i'm connecting without problem but i can only ping iP addresses
>starting with to 255
>i cat't ping and
>i try with changing option.l2tpd
>yo defaltroute and nodefault route but without succseed
>here is route for ppp0
>   *      UH    0      0        0 ppp0
>and ifconfig for ppp0
>ppp0      Link encap:Point-to-Point Protocol
>          inet addr:  P-t-P:  Mask:
I don't think I understand you well, but you need a route to a network 
to ping hosts in that network. You wrote you wanted to ping 192.168.2.x, 
but was there a route to the network in the routing table?

what is the output of 'route -n' or 'ip route show'? this would be the 
answer to your question probably...

And notice, and are different networks! It 
means you need to have different routes for these networks, or an 
aggreagte route, for example 'ip route add via ethX'

Tomasz Grzelak

More information about the Users mailing list