lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] ppp-new IP forwarding only works one direction (Etherne


From: Sylvain Rochet
Subject: Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP)
Date: Mon, 14 Apr 2014 15:18:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Charles,


On Mon, Apr 14, 2014 at 01:05:07PM +0000, address@hidden wrote:
> Hi Sylvain,
> 
> I applied the patch and it seems everything is working. However, I 
> don't know much about VJ support, so I don't know if the PPP server 
> and my gateway device have actually negotiated to use VJ at all. 
> Please tell me how to check VJ is in effect. Is there any specific 
> debug options for VJ ?

pppd negotiate VJ by default unless novj option is set.

pppd debug display the VJ negotiation, for example:

Apr 12 01:55:14 ornithopter pppd[990]: rcvd [IPCP ConfAck id=0x1 <compress VJ 
0f 01> <addr 192.168.2.1>]
Apr 12 01:55:14 ornithopter pppd[990]: sent [IPCP ConfAck id=0x2 <compress VJ 
0f 01> <addr 192.168.2.2> <ms-dns1 198.168.100.7> <ms-dns2 198.168.100.7>]


> I did set VJ_SUPPORT to 1 in lwipopts.h, is there anything else need 
> be set up?

That should be enough, as long as your PPP server accept VJ.


Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]