Hi, I have a bit of a tricky problem with a NIC that I could use some help diagnosing. This is on a fairly fresh Proxmox install which I happen to have PCI passthrough set up on (a TV tuner card to a VM running MythTV) and I almost wonder if that's related. That, or hardware failure, I can't imagine what else.
This PCI NIC has two ports, enp3s0 and enp4s0, with the same behavior on both. I have this in my /etc/network/interfaces:
However,
No IP as you can see... this is with a known-good ethernet cable on a network with working DHCP (dnsmasq). Checking the logs there, I see e.g.
which is the wrong MAC address, but with the same timing as my running ip link set enp4s0 down & up.
Changing /etc/network/interfaces to specify a static IP address also doesn't work:
I run ip link set enp4s0 down and then up
The link itself seems fine
So I'm not sure what else to try. Any suggestions?
This PCI NIC has two ports, enp3s0 and enp4s0, with the same behavior on both. I have this in my /etc/network/interfaces:
Code:
auto enp4s0
iface enp4s0 inet dhcp
However,
Code:
$ ip address show enp4s0
3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 68:1c:a2:12:57:ec brd ff:ff:ff:ff:ff:ff
inet6 fe80::6a1c:a2ff:fe12:57ec/64 scope link
valid_lft forever preferred_lft forever
No IP as you can see... this is with a known-good ethernet cable on a network with working DHCP (dnsmasq). Checking the logs there, I see e.g.
Code:
Jan 23 22:20:49 dnsmasq-dhcp[1107]: DHCPDISCOVER(ens18) 88:96:4e:43:ab:e2
Jan 23 22:20:49 dnsmasq-dhcp[1107]: DHCPOFFER(ens18) 192.168.1.248 88:96:4e:43:ab:e2
Jan 23 22:20:49 dnsmasq-dhcp[1107]: DHCPDISCOVER(ens18) 88:96:4e:43:ab:e2
Jan 23 22:20:49 dnsmasq-dhcp[1107]: DHCPOFFER(ens18) 192.168.1.248 88:96:4e:43:ab:e2
Changing /etc/network/interfaces to specify a static IP address also doesn't work:
Code:
auto enp4s0
iface enp4s0 inet static
address 192.168.1.15/24
gateway 192.168.1.254
I run ip link set enp4s0 down and then up
The link itself seems fine
Code:
$ sudo ethtool enp4s0
Settings for enp4s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
So I'm not sure what else to try. Any suggestions?