daily pastebin goal
25%
SHARE
TWEET

Untitled

linuxnoob011 Sep 11th, 2017 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. []@[]:~$ route -n
  2. Kernel IP routing table
  3. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  4. 0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 enx00249b29118e
  5. 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enx00249b29118e
  6. 192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enx00249b29118e
  7. []@[]:~$ sudo su
  8. [sudo] password for user:
  9. root@[]:/home/[]# ifup enp7s0
  10. root@[]:/home/[]# ifconfig
  11. enp7s0    Link encap:Ethernet  HWaddr []
  12.           inet addr:192.168.1.162  Bcast:192.168.1.255  Mask:255.255.255.0
  13.           inet6 addr: fe80::2ad2:44ff:fe0e:c5db/64 Scope:Link
  14.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  15.           RX packets:85389 errors:85384 dropped:0 overruns:0 frame:78225
  16.           TX packets:67564 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:1000
  18.           RX bytes:445 (445.0 B)  TX bytes:13648501 (13.6 MB)
  19.           Interrupt:19
  20.  
  21. enx00249b29118e Link encap:Ethernet  HWaddr []
  22.           inet addr:192.168.1.169  Bcast:192.168.1.255  Mask:255.255.255.0
  23.           inet6 addr: fe80::8126:8ea:3f15:d488/64 Scope:Link
  24.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  25.           RX packets:1644874 errors:0 dropped:0 overruns:0 frame:0
  26.           TX packets:1811187 errors:0 dropped:0 overruns:0 carrier:0
  27.           collisions:0 txqueuelen:1000
  28.           RX bytes:1206996932 (1.2 GB)  TX bytes:1477895226 (1.4 GB)
  29.  
  30. lo        Link encap:Local Loopback  
  31.           inet addr:127.0.0.1  Mask:255.0.0.0
  32.           UP LOOPBACK RUNNING  MTU:65536  Metric:1
  33.           RX packets:399238 errors:0 dropped:0 overruns:0 frame:0
  34.           TX packets:399238 errors:0 dropped:0 overruns:0 carrier:0
  35.           collisions:0 txqueuelen:1000
  36.           RX bytes:57856071 (57.8 MB)  TX bytes:57856071 (57.8 MB)
  37.  
  38. root@[]:/home/[]# route -n
  39. Kernel IP routing table
  40. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  41. 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 enp7s0
  42. 0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 enx00249b29118e
  43. 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enx00249b29118e
  44. 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 enp7s0
  45. 192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enx00249b29118e
  46. root@[]:/home/[]# ifdown enp7s0
RAW Paste Data
Top