Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Two NICs both UP and yet nothing is right, be kind. I may be an idiot.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

Two NICs both UP and yet nothing is right, be kind. I may be an idiot.

#1 Post by MikeLieberman »

How it started. I have a onboard Realtek NIC which has been working using the RTL8111/8168/8411 driver. It is supposed to be a 1G NIC and years ago when I was running another OS on the unit it did perform as 1G. But now it has been operating as 100M. It operates on a managed switch connected to port 13. The server was running on that NIC as Wired connection 1.

So I purchased a USB3/NIC supporting 1G which uses the RTL8153 chipset. I installed in on a USB3 port on the server and port 11 on the switch.

Now while the switch reports BOTH NICs are connected, Debian has decided that the USB NIC is Wired connection 1. BUT when I look at my network monitoring software it looks like BOTH ports are carrying traffic. I was wanting to differentiate them to allow one to carry the hardware and the second to support a virtual machine. But I don't see a way to do this.

On top of all of this, the new NIC is also only running at 100M. The Switch is fully capable of 1G and many other connects run at 1G.

Here is snips from the screen and a second from the switch.
http://ndevor.netwright.net/NICs.jpg
http://ndevor.netwright.net/SW.png
  • Why can't I access the first NIC anymore?
  • Why did Debian seem to merge the two?
  • Why are the NICs both only running at 100M?
Last edited by MikeLieberman on 2021-08-26 00:09, edited 1 time in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Two NICs both UP and yet nothing is right, be kind. I may be an idiot.

#2 Post by arochester »

Your images can't be seen. Some people post images to a site and then give the link. e.g. Imgur

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: Two NICs both UP and yet nothing is right, be kind. I may be an idiot.

#3 Post by steve_v »

arochester wrote: 2021-08-25 15:08Your images can't be seen.
I can see the (gratuitously large) images, but they don't contain anything remotely interesting.
Without any useful log output, all that remains is silence...
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

Re: Two NICs both UP and yet nothing is right, be kind. I may be an idiot.

#4 Post by MikeLieberman »

steve_v wrote: 2021-08-25 19:36
arochester wrote: 2021-08-25 15:08Your images can't be seen.
I can see the (gratuitously large) images, but they don't contain anything remotely interesting.
Without any useful log output, all that remains is silence...
I have fixed the links, by removing the img tags.

What logs do you want to see? What part of syslog should I grep for?

User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

Re: Two NICs both UP and yet nothing is right, be kind. I may be an idiot.

#5 Post by MikeLieberman »

arochester wrote: 2021-08-25 15:08 Your images can't be seen. Some people post images to a site and then give the link. e.g. Imgur
I have fixed the links, by removing the img tags.

User avatar
MikeLieberman
Posts: 162
Joined: 2013-01-29 17:26
Location: General Santos City, Philippines
Has thanked: 17 times
Been thanked: 2 times

I have two NICs installed in a Jessie system so why can't I see them?

#6 Post by MikeLieberman »

There are two gigabit NICs in the system. I did NOT bond them, but after installing the second, they act as if bonded. I didn't tweak or touch the configuration at all after the install of the send NIC. Before the install, I had used the GUI in Jessie to configure the original onboard NIC to have a static IP address and it worked fine.

Now the GUI seems to be weirdly reporting that while it sees both NICs, one is "disconnected" (see screen shot of that below if you care to look) even though I can see via my network SNMP monitoring software that both NICs are not only connected but are carrying traffic. (Screen shot below if you care to look.)

The ip a command says there are two MAC address for Ethernet links but only one has an 'inet' line after it:
  • link/ether 80:3f:5d:07:26:a2 brd ff:ff:ff:ff:ff:ff.
  • link/ether b8:97:5a:15:27:e5 brd ff:ff:ff:ff:ff:ff
The GUI reports only 80:3f:5d:07:26:a2 as the MAC address

BUT the actual MAC addresses (as they are announced out to SMTP) for the two NICs are:
  • 00:18:F8:13:4F:27
  • 00:18:F8:13:4F:29
And that makes no sense as well.

Where do I look to see what is really happening with these NICs? Can I split them up from each other so one is used for a VM exclusively? I am just simply stumped. Where is this real configuration coming from in the OS?

The /etc/network/interfaces is only this. Not even an eth0 mentioned.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
root@Server:~#


The ip a command produces this:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:97:5a:15:27:e5 brd ff:ff:ff:ff:ff:ff
3: enx803f5d0726a2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 80:3f:5d:07:26:a2 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.70/24 brd 192.168.1.255 scope global noprefixroute enx803f5d0726a2
valid_lft forever preferred_lft forever
inet6 fd96:ac3f:9606:0:7d39:666f:b20:664/64 scope global temporary dynamic
valid_lft 558769sec preferred_lft 40074sec
inet6 fd47:14ee:8bdc:0:7d39:666f:b20:664/64 scope global temporary dynamic
valid_lft 558769sec preferred_lft 40074sec
inet6 fd81:cd0:ad56:0:7d39:666f:b20:664/64 scope global temporary dynamic
valid_lft 558769sec preferred_lft 40074sec
inet6 fd81:cd0:ad56::e46/128 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fd81:cd0:ad56:0:7c47:ce2e:8cf9:f2be/64 scope global temporary deprecated dynamic
valid_lft 472664sec preferred_lft 0sec
inet6 fd81:cd0:ad56:0:823f:5dff:fe07:26a2/64 scope global mngtmpaddr noprefixroute
valid_lft forever preferred_lft forever
inet6 fd96:ac3f:9606:0:7c47:ce2e:8cf9:f2be/64 scope global temporary deprecated dynamic
valid_lft 472664sec preferred_lft 0sec
inet6 fd96:ac3f:9606:0:823f:5dff:fe07:26a2/64 scope global mngtmpaddr noprefixroute
valid_lft forever preferred_lft forever
inet6 fd47:14ee:8bdc:0:7c47:ce2e:8cf9:f2be/64 scope global temporary deprecated dynamic
valid_lft 472664sec preferred_lft 0sec
inet6 fd47:14ee:8bdc:0:823f:5dff:fe07:26a2/64 scope global mngtmpaddr noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::823f:5dff:fe07:26a2/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:90:23:e6:ef brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever


A view of what the GUI shows: http://ndevor.netwright.net/NICs.jpg
A view showing that the 'live NIC' as reported doesn't have the MAC address of either of the NICs in the server: : http://ndevor.netwright.net/eth1.png
A view of the interfaces from the SNMP program: http://ndevor.netwright.net/int.png

User avatar
donald
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 1046
Joined: 2021-03-30 20:08
Has thanked: 186 times
Been thanked: 240 times

Re: Two NICs both UP and yet nothing is right, be kind. I may be an idiot.

#7 Post by donald »

We've merged both your threads on the same topic, please be aware that duplicate threads of the same topic with the same issue are considered spam.
Typo perfectionish.


"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank

Post Reply