<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_1_1475597455529_3653"><span id="yui_3_16_0_1_1475597455529_3652">I am thinking of still running dhclient and change netmask to /32, but not sure it will effect to renew action of dhclient .</span></div><div id="yui_3_16_0_1_1475597455529_3654"><span>After dhclient got ip address, I changed netmask to /32 and I am able to ping outside.</span></div><div><span></span><br></div><div id="yui_3_16_0_1_1475597455529_3655"><span id="yui_3_16_0_1_1475597455529_3661">Thanks</span></div><div id="yui_3_16_0_1_1475597455529_3656"><span id="yui_3_16_0_1_1475597455529_3660">Tang</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Tuesday, October 4, 2016 12:28 PM, Tang Nguyen <tang_nguyen@yahoo.com> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv7027979814"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);"><div id="yiv7027979814yui_3_16_0_1_1475597455529_2833" dir="ltr"><span id="yiv7027979814yui_3_16_0_1_1475597455529_2832">Hi all,</span></div><div dir="ltr"><span></span><br clear="none"></div><div dir="ltr"><span>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.</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2831" dir="ltr"><span></span><br clear="none"></div><div dir="ltr"><span>My module is MC7354 (ATT)</span></div><div dir="ltr"><span></span><br clear="none"></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2805" dir="ltr"><span>What I did as below:</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2815" dir="ltr"><span id="yiv7027979814yui_3_16_0_1_1475597455529_2830"></span><br clear="none"></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2924" dir="ltr"><span id="yiv7027979814yui_3_16_0_1_1475597455529_2923">1. start network connection. Verify connection status with command: qmicli -d /dev/cdc-wdm3 --wds-get-packet-service-status</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2864" dir="ltr"><span>2. Send AT command to modem to show assigned IP address</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2865" dir="ltr"><span>3. Using ip command to set ip address from step #2 for wwan interface</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2888" dir="ltr"><span>4. Set default route to wwan interface</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2887" dir="ltr"><span>5. Ping outside faild with error: "Destination Host Unreachable"</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2954" dir="ltr"><span></span><br clear="none"></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_2933" dir="ltr"><span id="yiv7027979814yui_3_16_0_1_1475597455529_2944">Other running PPPd over serial USB port, is there any way we can force cellular interface to be a point-to-point interface ?</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_3003" dir="ltr"><span></span><br clear="none"></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_3004" dir="ltr"><span>Thanks</span></div><div id="yiv7027979814yui_3_16_0_1_1475597455529_3005" dir="ltr"><span>Tang</span></div> <div class="yiv7027979814qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv7027979814yqt0264024884" id="yiv7027979814yqt80460"><div class="yiv7027979814yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Saturday, October 1, 2016 1:11 PM, Tang Nguyen <tang_nguyen@yahoo.com> wrote:<br clear="none"></font></div> <br clear="none"><br clear="none"> <div class="yiv7027979814y_msg_container">Thank you Bjorn. I will try to set it as your suggestion to see how it works.<br clear="none"><br clear="none">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.<br clear="none">Thanks again Bjone.<br clear="none"><br clear="none">Tang<br clear="none"><br clear="none">Sent from my iPhone<br clear="none"><div class="yiv7027979814yqt0169827947" id="yiv7027979814yqtfd08262"><br clear="none">> On Oct 1, 2016, at 12:39 PM, Bjørn Mork <<a href="mailto:bjorn@mork.no" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:bjorn@mork.no">bjorn@mork.no</a>> wrote:<br clear="none">> <br clear="none">> Tang Nguyen <<a href="mailto:tang_nguyen@yahoo.com" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:tang_nguyen@yahoo.com">tang_nguyen@yahoo.com</a>> writes:<br clear="none">> <br clear="none">>> Hi,<br clear="none">>> 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. <br clear="none">>> I can open a PPP pver serial ttyUSB serial oport, but doing that we loose the AT command port and too much PPP overhead. <br clear="none">>> 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. <br clear="none">> <br clear="none">> Setting a /32 mask manually should not be a problem as long as you don't<br clear="none">> use DHCP. You'll just have to configure routing manually too. But<br clear="none">> since you are running OSPF, I guess that's not a problem.<br clear="none">> <br clear="none">> I must admit I'm a bit curious about the OSPF part. Don't think it is<br clear="none">> very common to run routing protocols over LTE links. But I cannot think<br clear="none">> of any reason why it shouldn't work. IS-IS won't work, though :)<br clear="none">> <br clear="none">> <br clear="none">> Bjørn<br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> libqmi-devel mailing list<br clear="none">> <a href="mailto:libqmi-devel@lists.freedesktop.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a><br clear="none">> <a href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel" target="_blank" rel="nofollow" shape="rect">https://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>