Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
[求助]双网卡,特定网站走特定网卡。
Experiences and Insight
341
views ·
0
replies ·
To
floor
Go
qq420100523
deepin
2018-09-12 18:03
Author
本帖最后由 qq420100523 于 2018-9-12 10:04 编辑
wifi连接的是公司的公网wifi,有一些网络访问不了,手机使用usb连接电脑,识别为有线网卡,现在的情况是双网卡,我希望默认走公司wifi,特定网站走有线网络。
zwei@zwei-PC:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.20.10.1 0.0.0.0 UG 100 0 0 eth0
0.0.0.0 192.168.103.254 0.0.0.0 UG 600 0 0 wlp2s0
172.20.10.0 0.0.0.0 255.255.255.240 U 100 0 0 eth0
192.168.100.0 0.0.0.0 255.255.252.0 U 600 0 0 wlp2s0
zwei@zwei-PC:~$ ip route show
default via 172.20.10.1 dev eth0 proto dhcp metric 100
default via 192.168.103.254 dev wlp2s0 proto dhcp metric 600
172.20.10.0/28 dev eth0 proto kernel scope link src 172.20.10.10 metric 100
192.168.100.0/22 dev wlp2s0 proto kernel scope link src 192.168.102.203 metric 600
zwei@zwei-PC:~$ ifconfig -a
enp1s0: flags=4099 mtu 1500
ether 54:e1:ad:0d:c2:6a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163 mtu 1500
inet 172.20.10.10 netmask 255.255.255.240 broadcast 172.20.10.15
inet6 fe80::5b88:bb1c:de1b:3a93 prefixlen 64 scopeid 0x20
ether 92:3c:92:0f:df:61 txqueuelen 1000 (Ethernet)
RX packets 41 bytes 5175 (5.0 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 55 bytes 6298 (6.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 92 bytes 7080 (6.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 92 bytes 7080 (6.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163 mtu 1500
inet 192.168.102.203 netmask 255.255.252.0 broadcast 192.168.103.255
inet6 fe80::55c6:6aad:c9f1:f48b prefixlen 64 scopeid 0x20
ether c8:3d:d4:a3:96:7b txqueuelen 1000 (Ethernet)
RX packets 49990 bytes 17803177 (16.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12742 bytes 1814622 (1.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Copy the Code
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
【Enhanced Repo】Better Deepin Repo is released
Update driver for my computer
Popular Events
More
wifi连接的是公司的公网wifi,有一些网络访问不了,手机使用usb连接电脑,识别为有线网卡,现在的情况是双网卡,我希望默认走公司wifi,特定网站走有线网络。