#20904: WAN IPv4 address not shown in LuCi "Interfaces/WAN" (pppoe)
------------------------------+------------------------
  Reporter:  juanriccio@…     |      Owner:  developers
      Type:  defect           |     Status:  new
  Priority:  response-needed  |  Milestone:
 Component:  packages         |    Version:  Trunk
Resolution:                   |   Keywords:
------------------------------+------------------------

Comment (by juanriccio@…):

 Replying to [comment:11 jow]:
 > So LuCI agrees with netlink / libc here. Is the same bogus private IP
 reported by "ifconfig pppoe-wan" and "ip -4 addr show dev pppoe-wan" as
 well?

 No. Both ifconfig and ip report the correct external address.

 {{{
 # ifconfig pppoe-wan
 pppoe-wan Link encap:Point-to-Point Protocol
           inet addr:[CORRECT EXTERNAL ADDR]  P-t-P:[ISP GATEWAY ADDR]
 Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
           RX packets:11495945 errors:0 dropped:0 overruns:0 frame:0
           TX packets:7388490 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:5
           RX bytes:15815154078 (14.7 GiB)  TX bytes:633925132 (604.5 MiB)

 # ip -4 addr show dev pppoe-wan
 118: pppoe-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc
 hfsc state UNKNOWN qlen 5
     inet [CORRECT EXTERNAL ADDR] peer [ISP GATEWAY ADDR] scope global
 pppoe-wan
        valid_lft forever preferred_lft forever
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/20904#comment:12>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to