ifconfig -a
enp0s7 Link encap:Ethernet HWaddr 00:21:85:36:02:7d
inet6 addr: fe80::221:85ff:fe36:27d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:395006 errors:0 dropped:0 overruns:0 frame:0
TX packets:301248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:405124585 (405.1 MB) TX bytes:92677299 (92.6 MB)
lo Link encap:Локальная петля (Loopback)
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:406 errors:0 dropped:0 overruns:0 frame:0
TX packets:406 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36958 (36.9 KB) TX bytes:36958 (36.9 KB)
ppp0 Link encap:Протокол PPP (Point-to-Point Protocol)
inet addr:93.124.124.43 P-t-P:81.177.113.41 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:393973 errors:0 dropped:0 overruns:0 frame:0
TX packets:300926 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:396254946 (396.2 MB) TX bytes:86036884 (86.0 MB)
System Information
Hardware:
Processor: AMD Athlon 64 X2 4400+ @ 2.31GHz (2 Cores), Motherboard: MSI MS-7309 v1.0, Chipset: NVIDIA MCP61, Memory: 2048MB, Disk: 250GB Seagate ST3250410AS, Graphics: ASUS AMD Radeon HD 2600 PRO 256MB, Audio: Realtek ALC888, Monitor: W2242
Software:
OS: Ubuntu 16.04, Kernel: 4.10.0-37-generic (x86_64), Desktop: Unity 7.4.0, Display Driver: modesetting 1.19.3, Compiler: GCC 5.4.0 20160609, File-System: ext4, Screen Resolution: 1680x1050
# interfaces(5) file used by ifup(

and ifdown(

auto lo
iface lo inet loopback
auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp0s7 up # line maintained by pppoeconf
provider dsl-provider
auto enp0s7
iface enp0s7 inet manual
ip r
default dev ppp0 scope link
81.177.113.41 dev ppp0 proto kernel scope link src 93.124.124.43
dig ya.ru
; <<>> DiG 9.10.3-P4-Ubuntu <<>> ya.ru
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20041
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ya.ru. IN A
;; ANSWER SECTION:
ya.ru. 221 IN A 87.250.250.242
;; Query time: 1 msec
;; SERVER: 80.95.37.230#53(80.95.37.230)
;; WHEN: Mon Oct 23 17:13:01 MSK 2017
;; MSG SIZE rcvd: 50