User Tools

Site Tools


proxmox:troubleshooting:no_internet_on_vm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proxmox:troubleshooting:no_internet_on_vm [2021/06/17 12:38] peterproxmox:troubleshooting:no_internet_on_vm [2021/06/19 09:26] (current) peter
Line 47: Line 47:
 </WRAP> </WRAP>
  
 +----
 +
 +===== Check udev =====
 +
 +<code bash>
 +udevadm info /sys/class/net/vmbr0
 +</code>
 +
 +returns:
 +
 +<code bash>
 +P: /devices/virtual/net/vmbr0
 +L: 0
 +E: DEVPATH=/devices/virtual/net/vmbr0
 +E: DEVTYPE=bridge
 +E: INTERFACE=vmbr0
 +E: IFINDEX=5
 +E: SUBSYSTEM=net
 +E: USEC_INITIALIZED=188415741
 +E: ID_NET_NAMING_SCHEME=v240
 +E: ID_NET_DRIVER=bridge
 +E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link
 +E: ID_NET_NAME=eth0
 +E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/eth0
 +E: TAGS=:systemd:
 +</code>
 +
 +----
 +
 +===== Check the Network Link file shown by udev =====
 +
 +<code bash>
 +cat /usr/lib/systemd/network/99-default.link
 +</code>
 +
 +returns:
 +
 +<code bash>
 +#  SPDX-License-Identifier: LGPL-2.1+
 +#
 +#  This file is part of systemd.
 +#
 +#  systemd is free software; you can redistribute it and/or modify it
 +#  under the terms of the GNU Lesser General Public License as published by
 +#  the Free Software Foundation; either version 2.1 of the License, or
 +#  (at your option) any later version.
 +
 +[Link]
 +NamePolicy=keep kernel database onboard slot path
 +MACAddressPolicy=persistent
 +</code>
 +
 +----
 +
 +===== Check the Journal =====
 +
 +<code bash>
 +journalctl -b -u systemd-networkd.service -u systemd-udevd.service --no-hostname
 +</code>
 +
 +returns:
 +
 +<code bash>
 +Mar 10 07:11:36 systemd[1]: Starting udev Kernel Device Manager...
 +Mar 10 07:11:36 systemd[1]: Started udev Kernel Device Manager.
 +Mar 10 07:11:36 systemd[1]: Starting Network Service...
 +Mar 10 07:11:36 systemd-udevd[296]: link_config: autonegotiation is unset or enabled, the speed and duplex are n
 +Mar 10 07:11:37 systemd-networkd[269]: Enumeration completed
 +Mar 10 07:11:37 systemd-networkd[269]: lo: Removing non-existent address: ::1/128 (valid forever), ignoring
 +Mar 10 07:11:37 systemd[1]: Started Network Service.
 +Mar 10 07:11:37 systemd-udevd[279]: Using default interface naming scheme 'v240'.
 +Mar 10 07:11:37 systemd-networkd[269]: eth0: Gained carrier
 +Mar 10 07:11:37 systemd-networkd[269]: eth0: Could not bring up interface: Invalid argument
 +Mar 10 07:11:37 systemd-networkd[269]: eth0: could not set address: Permission denied
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  The following messages seems interesting:
 +
 +  * **link_config: autonegotiation is unset or enabled, the speed and duplex are n**.
 +  * **Using default interface naming scheme 'v240'**.
 +  * **eth0: Could not bring up interface: Invalid argument**.
 +
 +</WRAP>
 +
 +----
 +
 +===== link_config: autonegotiation is unset or enabled =====
 +
 +<code bash>
 + Supported ports: [ ]
 + Supported link modes:   10baseT/Half 10baseT/Full 
 +                         100baseT/Half 100baseT/Full 
 +                         1000baseT/Full 
 +                         2500baseT/Full 
 + Supported pause frame use: Symmetric
 + Supports auto-negotiation: Yes
 + Supported FEC modes: Not reported
 + Advertised link modes:  10baseT/Half 10baseT/Full 
 +                         100baseT/Half 100baseT/Full 
 +                         1000baseT/Full 
 +                         2500baseT/Full 
 + Advertised pause frame use: Symmetric
 + Advertised auto-negotiation: Yes
 + Advertised FEC modes: Not reported
 + Speed: 1000Mb/s
 + Duplex: Full
 + Port: Twisted Pair
 + PHYAD: 0
 + Transceiver: internal
 + Auto-negotiation: on
 + MDI-X: off (auto)
 + Current message level: 0x00000007 (7)
 +        drv probe link
 + Link detected: yes
 +</code>
proxmox/troubleshooting/no_internet_on_vm.1623933501.txt.gz · Last modified: 2021/06/17 12:38 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki