Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- []@[]:~$ route -n
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 enx00249b29118e
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enx00249b29118e
- 192.168.1.0 0.0.0.0 255.255.255.0 U 100 0 0 enx00249b29118e
- []@[]:~$ sudo su
- [sudo] password for user:
- root@[]:/home/[]# ifup enp7s0
- root@[]:/home/[]# ifconfig
- enp7s0 Link encap:Ethernet HWaddr []
- inet addr:192.168.1.162 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::2ad2:44ff:fe0e:c5db/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:85389 errors:85384 dropped:0 overruns:0 frame:78225
- TX packets:67564 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:445 (445.0 B) TX bytes:13648501 (13.6 MB)
- Interrupt:19
- enx00249b29118e Link encap:Ethernet HWaddr []
- inet addr:192.168.1.169 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::8126:8ea:3f15:d488/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1644874 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1811187 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1206996932 (1.2 GB) TX bytes:1477895226 (1.4 GB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:399238 errors:0 dropped:0 overruns:0 frame:0
- TX packets:399238 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:57856071 (57.8 MB) TX bytes:57856071 (57.8 MB)
- root@[]:/home/[]# route -n
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp7s0
- 0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 enx00249b29118e
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enx00249b29118e
- 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp7s0
- 192.168.1.0 0.0.0.0 255.255.255.0 U 100 0 0 enx00249b29118e
- root@[]:/home/[]# ifdown enp7s0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement