Discussion:
can't ping PPP server
(too old to reply)
pavan
2007-06-18 10:19:42 UTC
Permalink
Hi

i am trying to connect an embedded system running on Linux to Linux
host (Red hat 2.6.9 kernel) through PPP.
on client side(embedded system) i am using the following command:
pppd -detach crtscts lock noauth defaultroute 10.64.64.66:10.44.0.225 /
dev/ttyS4 9600&

on serverside (Redhat linux machine) :
pppd -detach crtscts lock noauth proxyarp 10.44.0.225: /dev/ttyUSB2
9600&

host ip address is :10.44.0.225

at start up i am getting this message:
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS4
Deflate (15) compression enabled
local IP address 10.64.64.66
remote IP address 10.44.0.225

when i give ifconfig on clientside i am able to see ppp connection
(RUNNING)

ppp0 Link encap:Point-Point Protocol
inet addr:10.64.64.66 P-t-P:10.44.0.225 Mask:
255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:75 (75.0 B) TX bytes:87 (87.0 B)



but i couldn't ping any computer connected to network. even i couldn't
reach the PPP server(Red hat machine) it self. i am running pppd on
server with sudo access. is that okay? or should it require "root"
access? at startup on serverside "cannot determine ethernet address
for proxy ARP" is appearing.

can anyone help me in this?

Thanks
pk
James Carlson
2007-06-18 11:20:19 UTC
Permalink
Post by pavan
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS4
Deflate (15) compression enabled
local IP address 10.64.64.66
remote IP address 10.44.0.225
[...]
Post by pavan
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:75 (75.0 B) TX bytes:87 (87.0 B)
It sure looks like the PPP link itself is fine. Are you perhaps
having problems elsewhere, such as in name service configuration?
Try using "ping -n".
Post by pavan
but i couldn't ping any computer connected to network. even i couldn't
reach the PPP server(Red hat machine) it self. i am running pppd on
server with sudo access. is that okay? or should it require "root"
access?
This is documented in the man pages.

If you have an "/etc/ppp/options" file, then an ordinary user can
invoke PPP. If you don't have such a file, then only a privileged
user (such as "root") can start it.

You don't really need sudo here, though it'll work. Instead, you may
want to use the /etc/ppp/peers/ directory and the pppd "call" option
to provide controlled access to privileged pppd features.
Post by pavan
at startup on serverside "cannot determine ethernet address
for proxy ARP" is appearing.
That means you have the link misconfigured. You're specifying the
"proxyarp" option on the server's side of the link. By definition,
when that option is in use, the remote address on the link *MUST* be
within the IP subnet defined on some broadcast-type (Ethernet)
interface. That's how proxy-ARP works. If you don't want to do that,
then you must use routing instead.

You haven't mentioned what your IP network looks like, so it's hard to
provide additional advice here.
--
James Carlson, Solaris Networking <***@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Loading...