Sylvain,

I observed similar messages. I think VJ is in effect in my test.

Charles

-----Original Message-----
From: lwip-users-bounces+cmao=moog....@nongnu.org 
[mailto:lwip-users-bounces+cmao=moog....@nongnu.org] On Behalf Of Sylvain Rochet
Sent: Monday, April 14, 2014 10:19 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] ppp-new IP forwarding only works one direction 
(Ethernet to PPP)

Hello Charles,


On Mon, Apr 14, 2014 at 01:05:07PM +0000, l...@moog.com 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
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to