EM7455 : arping not working in raw-IP mode

Bjørn Mork bjorn at mork.no
Thu Oct 5 19:33:04 UTC 2017


Is this a joke? The whole point of raw ip is that there is no L2 address or header. No, arp will not work...


Bjørn

On October 5, 2017 9:15:44 PM CEST, Senthilganapathy Paramasivam <senthilgp2020 at gmail.com> wrote:
>Hi ,
>
>Does Raw-IP mode not support arping?  Can some one clarify why arping
>is not working?
>The connection procedure is shown as below.
>EM7455 is directly wired to base station simulator ( CMW500 ).
>
># qmicli -p -d /dev/cdc-wdm1
>--wds-start-network="apn=broadband,ip-type=4" --dev
>ice-open-net="net-raw-ip|net-no-qos-header" --device-open-sync
>--client-no-relea
>se-cid
>[/dev/cdc-wdm1] Network started
>        Packet data handle: '63501184'
>[/dev/cdc-wdm1] Client ID not released:
>        Service: 'wds'
>            CID: '35'
>
># echo Y > /sys/class/net/wwan1/qmi/raw_ip
>
># udhcpc -i wwan1
>udhcpc: started, v1.26.2
>udhcpc: sending discover
>udhcpc: sending select for 172.22.1.100
>udhcpc: lease of 172.22.1.100 obtained, lease time 7200
>deleting routers
>adding dns 172.22.1.201
>Recorded lease to [/var/run/udhcpc-wwan1.lease]
>
># ifconfig wwan1
>wwan1: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
>   inet 172.22.1.100  netmask 255.255.255.248  destination 172.22.1.100
>        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>txqueuelen 1000  (UNSPEC)
>        RX packets 20  bytes 2116 (2.0 KiB)
>        RX errors 0  dropped 0  overruns 0  frame 0
>        TX packets 31  bytes 3842 (3.7 KiB)
>        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
># ping -I wwan1 172.22.1.201
>PING 172.22.1.201 (172.22.1.201) from 172.22.1.100 wwan1: 56(84) bytes
>of data.
>64 bytes from 172.22.1.201: icmp_seq=1 ttl=64 time=16.8 ms
>64 bytes from 172.22.1.201: icmp_seq=2 ttl=64 time=13.7 ms
>64 bytes from 172.22.1.201: icmp_seq=3 ttl=64 time=14.7 ms
>64 bytes from 172.22.1.201: icmp_seq=4 ttl=64 time=14.9 ms
>64 bytes from 172.22.1.201: icmp_seq=5 ttl=64 time=15.9 ms
>64 bytes from 172.22.1.201: icmp_seq=6 ttl=64 time=14.9 ms
>64 bytes from 172.22.1.201: icmp_seq=7 ttl=64 time=15.9 ms
>
>
># arping -I wwan1 -s 172.22.1.100 172.22.1.201
>arping: Device wwan1 not available.
>
>Thanks and Regards
>Senthil
>_______________________________________________
>libqmi-devel mailing list
>libqmi-devel at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel


More information about the libqmi-devel mailing list