[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

ppp routing problem



hi all!

i sent a message out a while ago asking for help to get PAP authentication
working, and found out that the pap-secrets file in ppp 2.3.3 is read more
strictly than in ppp 2.2.0f... as follows:

the file is made up of 4 fields: <client> <server> <secret> <ip-addresses>

in ppp 2.2.0f you could leave the last field blank, however, in ppp 2.3.3
this field MUST have a value, even if just a wild card ( "*" ).

now that i have PAP working, it seems that my ppp routing is not...
sometimes i just hate upgrading!

if you could tell me what is wrong with the following, please do!
in the ppp options file i have:

	asyncmap 0
	netmask 255.255.255.192
	domain interdim.com
	proxyarp
	lock
	crtscts
	modem

let us say that the server-side of the link is IP address ppp-server
and the client-side of the link is IP address ppp-client.

then i have my options.ttyS1 file:

	ppp-server:ppp-client

after the link goes up, i can telnet ok from the client to the server but
not to the rest of the LAN, which makes me think that the routing is bad,
eg the "proxyarp". anybody know why this would not work anymore?

ifconfig -a:

lo	(blabla)
eth0	(blabla) inet addr: ppp-server bcast: <snip>.255 mask:255.255.255.192
ppp0	(blabla) inet addr: ppp-server P-t-P: ppp-client mask:255.255.255.192

and route -e:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
<ppp-client>    0.0.0.0         255.255.255.255 UH     1500 0          0 ppp0
<ppp-server>    0.0.0.0         255.255.255.192 U      1500 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
0.0.0.0         <gate>.193      0.0.0.0         UG     1500 0          0 eth0

i can't really remember what this is supposed to look like, so if any of
you could tell me if this is ok, please let me know!

the only part that looks remotely suspicious to me is the fact that the
inet addr of ppp0 is set to ppp-server.

thanks in advance,
phil.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]