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: LMao
Subject: Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP)
Date: Tue, 15 Apr 2014 18:03:40 +0000

Sylvain,

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

Charles

-----Original Message-----
From: address@hidden [mailto:address@hidden 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, 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

reply via email to

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