双网卡奇怪现象,请高手指点

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
cheerland
帖子: 35
注册时间: 2017-02-13 16:00
系统: win10+ubuntu

双网卡奇怪现象,请高手指点

#1

帖子 cheerland » 2018-12-14 9:26

先说问题吧,因为内外网分离,自己加装了块网卡,之后未进行任何软件设置,只把先装的网卡连外网网线,后装的连内网网线,均可连通,但内网仅限于远程桌面,无法传文件(IP很诡异?)而且,网线一交换就内外网全连不通,而且开机后显示只有先装的网卡(enp0s25)是启动状态,另外一块打叉,我明白GUI上显示的不一定是真的,我可能以前做过啥设置但忘记了,现在想让这两块卡能好好工作别出妖蛾子,高手请指教一下我该怎么弄?

网络状态如下:
cyan@gameCenterU:~$ ifconfig
enp0s25 Link encap:Ethernet HWaddr 6c:f0:49:28:69:48
inet addr:172.16.200.35 Bcast:172.16.200.255 Mask:255.255.255.0
inet6 addr: fe80::6ef0:49ff:fe28:6968/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41327 errors:0 dropped:0 overruns:0 frame:0
TX packets:30414 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30266057 (30.2 MB) TX bytes:3053268 (3.0 MB)
Interrupt:16 Memory:fc300000-fc320000

enp17s1 Link encap:Ethernet HWaddr 00:ad:0a:0c:08:44
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24 errors:30 dropped:0 overruns:0 frame:0
TX packets:497 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2035 (2.0 KB) TX bytes:96020 (96.0 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:14766 errors:0 dropped:0 overruns:0 frame:0
TX packets:14766 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1174160 (1.1 MB) TX bytes:1174160 (1.1 MB)
cyan@gameCenterU:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
网卡是这样的。
cyan@gameCenterU:~$ lshw -C network
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: 82567LM-3 Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 02
serial: 6c:f0:49:28:69:68
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.4-3 ip=172.16.200.35 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:29 memory:fc300000-fc31ffff memory:fc327000-fc327fff ioport:1820(size=32)
*-network
description: Ethernet interface
product: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci@0000:11:01.0
logical name: enp17s1
version: 10
serial: 00:ad:0a:0c:08:46
size: 100Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
resources: irq:23 ioport:3000(size=256) memory:fc200000-fc2000ff memory:fc210000-fc21ffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
回复