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:67203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:445 (445.0 B) TX bytes:13612080 (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:1621183 errors:0 dropped:0 overruns:0 frame:0
TX packets:1751066 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1202102353 (1.2 GB) TX bytes:1418915314 (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:397124 errors:0 dropped:0 overruns:0 frame:0
TX packets:397124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57587849 (57.5 MB) TX bytes:57587849 (57.5 MB)
root@[]:/home/[]# ping -I enp7s0 -c3 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 192.168.1.162 enp7s0: 56(84) bytes of data.
From 192.168.1.162 icmp_seq=1 Destination Host Unreachable
^C
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 0 received, +1 errors, 100% packet loss, time 2028ms
pipe 3
root@[]:/home/[]# ping -I enp7s0 -c3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.162 enp7s0: 56(84) bytes of data.
From 192.168.1.162 icmp_seq=1 Destination Host Unreachable
From 192.168.1.162 icmp_seq=2 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 2025ms
pipe 2
root@[]:/home/[]# ping -I enp7s0 -c3 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 192.168.1.162 enp7s0: 56(84) bytes of data.
From 192.168.1.162 icmp_seq=1 Destination Host Unreachable
From 192.168.1.162 icmp_seq=2 Destination Host Unreachable
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 2011ms
pipe 2