** Description changed: Linux Mint 20.3, based on Ubuntu 20.04 $ uname -a Linux mintbook 5.15.0-131-generic #141~20.04.1-Ubuntu SMP Thu Jan 16 18:38:51 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux I have an ASUS notebook and it has no RJ45 socket. I use USB Gigabit adapter based on RTL8153. So far it worked OK but I have found today that I cannot configure alias with ifconfig. Try to configure alias IP address with ifconfig changes default interface. It looks like a bug in the RTL8153 driver. $ ethtool -i enx00e04c68002f driver: r8152 version: v1.12.13 firmware-version: rtl8153b-2 v1 10/23/19 expansion-rom-version: bus-info: usb-0000:00:14.0-2 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no $ lsusb | grep 8153 Bus 002 Device 004: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter Steps to replicate: 1) Connect USB adapter to a LAN, I assume I received IP address 192.168.1.11 from DHCP server. 2) check with ifconfig what is IP address on interface enx00e04c68002f 3) define alias, 'sudo ifconfig enx00e04c68002f:33 192.168.33.11' 4) check with ifconfig the result I see that there is no new interface enx00e04c68002f:33 and that IP address on interface enx00e04c68002f was changed to 192.168.33.11. That is a bug! Expected behavior: Interface enx00e04c68002f will keep IP address assigned from DHCP server, like 192.168.1.11 New interface enx00e04c68002f:33 will be added with IP address 192.168.33.11 This report is for an older kernel and older Ubuntu distribution. I assume the bug is still in the newer kernel, this has to be retested... + + --- + + When I use this method on my WiFi interface (based on rtl8821ce), IP + alias works as expected. This point to an issue with r8152 driver...
** Description changed: Linux Mint 20.3, based on Ubuntu 20.04 $ uname -a Linux mintbook 5.15.0-131-generic #141~20.04.1-Ubuntu SMP Thu Jan 16 18:38:51 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux I have an ASUS notebook and it has no RJ45 socket. I use USB Gigabit adapter based on RTL8153. So far it worked OK but I have found today that I cannot configure alias with ifconfig. Try to configure alias IP address with ifconfig changes default interface. It looks like a bug in the RTL8153 driver. $ ethtool -i enx00e04c68002f driver: r8152 version: v1.12.13 firmware-version: rtl8153b-2 v1 10/23/19 expansion-rom-version: bus-info: usb-0000:00:14.0-2 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no $ lsusb | grep 8153 Bus 002 Device 004: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter Steps to replicate: 1) Connect USB adapter to a LAN, I assume I received IP address 192.168.1.11 from DHCP server. 2) check with ifconfig what is IP address on interface enx00e04c68002f 3) define alias, 'sudo ifconfig enx00e04c68002f:33 192.168.33.11' 4) check with ifconfig the result I see that there is no new interface enx00e04c68002f:33 and that IP address on interface enx00e04c68002f was changed to 192.168.33.11. That is a bug! Expected behavior: Interface enx00e04c68002f will keep IP address assigned from DHCP server, like 192.168.1.11 New interface enx00e04c68002f:33 will be added with IP address 192.168.33.11 This report is for an older kernel and older Ubuntu distribution. I assume the bug is still in the newer kernel, this has to be retested... --- When I use this method on my WiFi interface (based on rtl8821ce), IP - alias works as expected. This point to an issue with r8152 driver... + alias works as expected. This points to an issue with r8152 driver... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2098726 Title: Cannot set alias for USB NIC RTL8153 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2098726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs