Point to Point interface over qmi_wwan device

Tang Nguyen tang_nguyen at yahoo.com
Tue Oct 4 16:32:47 UTC 2016


I am thinking of still running dhclient and change netmask to /32, but not sure it will effect to renew action of dhclient .After dhclient got ip address, I changed netmask to /32 and I am able to ping outside.
ThanksTang 

    On Tuesday, October 4, 2016 12:28 PM, Tang Nguyen <tang_nguyen at yahoo.com> wrote:
 

 Hi all,
I have tested /32 mask on wwan without running dhclient. but seems not working .  The  packet connection successfully connected but it would be dropped after a while.  Looks like Sierra firmware waits for dhclient discovery request from host, and after a while it would disconnect the data link.
My module is MC7354 (ATT)
What I did as below:
1. start network connection.  Verify connection status with command: qmicli  -d /dev/cdc-wdm3 --wds-get-packet-service-status2. Send AT command to modem to show assigned IP address3. Using ip command to set ip address from step #2 for wwan interface4. Set default route to wwan interface5.  Ping outside faild with error: "Destination Host Unreachable"
Other running PPPd over serial USB port, is there any way we can force cellular interface to be a point-to-point interface ?
ThanksTang 

    On Saturday, October 1, 2016 1:11 PM, Tang Nguyen <tang_nguyen at yahoo.com> wrote:
 

 Thank you Bjorn.  I will try to set it as your suggestion to see how it works.

Our customer designs their network running out box as one of gateway.  They don't want to advertise their network behind the box, so they require cellular link as a point to point interface- not sending broadcast.  It works well evdo modem, which is a PPP link over cellular network.
Thanks again Bjone.

Tang

Sent from my iPhone

> On Oct 1, 2016, at 12:39 PM, Bjørn Mork <bjorn at mork.no> wrote:
> 
> Tang Nguyen <tang_nguyen at yahoo.com> writes:
> 
>> Hi,
>> I am working on the feature of setting a netmask of /32 for  wwan network interface.  Usually, dhclient would get a /29 netmask  from mini dhcpserver in modem.  The wwanX ethernet-line interface and /29 netmask has affected to OSPF network design over LTE modem.  We need to have a Point-to-Point interface and /32 netmask on wwan to solve this problem. 
>> I can open a PPP pver serial ttyUSB serial oport, but doing that we loose the AT command port and too much PPP overhead. 
>> Can we have anyway to force wwanX to have  /32 netmask  over libqmi - I intend to use "ip or ifconfig" command to change netmask of wwan, but not sure it is the right way or not.  
> 
> Setting a /32 mask manually should not be a problem as long as you don't
> use DHCP.  You'll just have to configure routing manually too.  But
> since you are running OSPF, I guess that's not a problem.
> 
> I must admit I'm a bit curious about the OSPF part. Don't think it is
> very common to run routing protocols over LTE links.  But I cannot think
> of any reason why it shouldn't work. IS-IS won't work, though :)
> 
> 
> Bjørn
> 
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel

   

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20161004/bbd848f8/attachment.html>


More information about the libqmi-devel mailing list