Article 6EFJV Which net interface (ip) was used when to open webpage with browser?

Which net interface (ip) was used when to open webpage with browser?

by
luofeiyu
from LinuxQuestions.org on (#6EFJV)
There are two interfaces and ips in my pc:
Code:sudo ifconfig | rg flags -A 1

enp6s0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.31.167 netmask 255.255.255.0 broadcast 192.168.31.255

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0

wlx001a8c3008b1: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.31.124 netmask 255.255.255.0 broadcast 192.168.31.255Which net interface (ip) was used when to open webpage with browser?The os choose 192.168.31.167 or 192.168.31.124?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments