When I run adb shell
, ifconfig
on my android device, I get a list of network interfaces. While this answer covers most of the interface names, I am left wondering what rmnet_ipa0
might stand for.
lo usually stands for the loopback interface (localhost)
wlan usually stands for a wireless networking interface
rmnet interfaces are usually associated with cellular connections and usb tethering
sit interfaces are associated with tunneling IPv6 over IPv4
p2p interfaces are usually associated with peer-to-peer connections (perhaps your Android device's WiFi Direct support?)
dummy interfaces provide special aliases for the loopback interface
I believe that usb-thethering would usually be something like rmnet_usb0
, and my phone's mobile data connection would probably be rmnet_data0
, so what is that rmnet_ipa0?
.
The whole output of ifconfig
is
rmnet_ipa0 Link encap:UNSPEC
UP RUNNING MTU:2000 Metric:1
RX packets:88626 errors:0 dropped:0 overruns:0 frame:0
TX packets:64896 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:89068838 TX bytes:9380664
wlan0 Link encap:UNSPEC
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1756445 errors:0 dropped:53160 overruns:0 frame:0
TX packets:650187 errors:0 dropped:186 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:985553036 TX bytes:283899452
dummy0 Link encap:UNSPEC
inet6 addr: fe80::b86e:42ff:fea4:48/64 Scope: Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 TX bytes:210
rmnet_data0 Link encap:UNSPEC
inet addr:10.149.211.81 Mask:255.255.255.252
inet6 addr: fe80::6bca:2283:2c80:a22f/64 Scope: Link
UP RUNNING MTU:1500 Metric:1
RX packets:88626 errors:0 dropped:0 overruns:0 frame:0
TX packets:64896 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:88005326 TX bytes:9380664
lo Link encap:UNSPEC
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2694 errors:0 dropped:0 overruns:0 frame:0
TX packets:2694 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:166553 TX bytes:166553
It is still showing up as UP RUNNING
when the phone is in Airplane Mode.