Inconsistency in wlm interface (ppp)


#1

Friends,
Something interesting and strange while bringing up 3G LTE interface. Here is my configuration to enable wlm0 LTE interface

wirelessmodem wlm0 {
device ttyUSB4
network airtel
no-dns
}

1). NetworkManager brought up the ppp0 interface and got an IP address from the provider. Confirmed from the console logs as well as Unix admin “ifconfig -a” command.
The issue is while executing operational command for “show interfaces”, vyos doesn’t show neither ‘wlm0’ nor ‘ppp0’. Why?

ppp0 Link encap:Point-to-Point Protocol
inet addr:100.88.8.84 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:266 (266.0 B) TX bytes:265 (265.0 B)
-----------
vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- — -----------
eth0 - A/D
eth1 - u/D
eth2 - u/D
eth3 - u/D
eth4 - u/D
eth5 - u/D
lo 127.0.0.1/8 u/u
::1/128

2). I went ahead, ran operation command “show ip route”, vyos added a route for wlm0 that is correct, but it is showing ‘wlm0’ as inactive. Why?

vyos@vyos:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
I - ISIS, B - BGP, > - selected route, * - FIB route
S 0.0.0.0/0 [10/0] is directly connected, wlm0 inactive
S 0.0.0.0/0 [1/0] via 10.20.2.1 inactive
C>* 10.64.64.64/32 is directly connected, ppp0
C>* 127.0.0.0/8 is directly connected, lo

  1. Further to it, I tried from unix admin added default route “route add default dev ppp0”, and able to ping via the ppp0 interface

root@vyos:/home/vyos# route add default dev ppp0
root@vyos:/home/vyos# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=629 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=269 ms

I know there is some disconnect but dont know where. Could anyone please correct me.

My vyos version is
vyos@vyos:~$ show version
No hypervisor detected
Version: VyOS 999.201801111542
Built by: autobuild@vyos.net
Built on: Thu 11 Jan 2018 15:42 UTC
Build ID: d4cf560b-9641-472f-b7c4-83b039db0522

Thanks,
Subbu


#2

We don’t need 4 posts regarding the same issue.