Menu

#5640 Failed to activate interfaces : RTNETLINK answers: Operation not supported

2.105
closed-fixed
nobody
None
5
2023-11-16
2023-11-13
No

I have 2 interfaces on the server ens18 and ens19

ens18 is IPv4 only and ens19 is IPv6 only: this is due to how my host provider provides IPv4 and IPv6 they have to be on their own interface.

I did have a problem that I reported and was fixed in version 2.101 ticket 5630 where the yaml file created was not correct.

Since that correction, I have been able to issue netplan apply the file that is created from Webmin's Network Configuration page and the yaml applies fine.

Also if I press the Apply Configuration button on the /net/ page that applies fine.

But if I select the adaptor or adaptors ens18 ens19 on the /net/list_ifcs.cgi page and select apply selected interfaces, I get the following error message: "Failed to activate interfaces : RTNETLINK answers: Operation not supported"

Any help to resolve this is much appreciated.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2023-11-13

    Which Linux distribution and version are you running there?

    Also, does the Apply button on the main page of the Network Configuration module work?

     
  • Stephen Cockburn

    ubuntu 20.04 and as I said above the Apply button on the main page works as does a manual netplan apply at the console. I also get the same error message when I add an IP and use the SAVE and APPLY button.

     

    Last edit: Stephen Cockburn 2023-11-13
  • Jamie Cameron

    Jamie Cameron - 2023-11-14

    Can you attach a screenshot of the Activated at Boot tag on the Network Interfaces page from your system?

     
  • Stephen Cockburn

    Activated at boot as requested

     
  • Stephen Cockburn

    Done and got the following error message: Failed to activate interfaces : ip addr add dev ens19 failed : RTNETLINK answers: Operation not supported

    Also ens18 which is IPv4 only applies fine, so I assume the error is happening because ens19 had no IPV4 address like I had with the previous netplan issue as mentioned in the first post. So I think its because ens19 is IPV6 only.

     

    Last edit: Stephen Cockburn 2023-11-15
  • Stephen Cockburn

    Many thanks, that has fixed the problem, will the fix now be integrated into a future release?

     

    Last edit: Stephen Cockburn 2023-11-16
    • Jamie Cameron

      Jamie Cameron - 2023-11-16

      Yes it will. Thanks for reporting this!

       
  • Jamie Cameron

    Jamie Cameron - 2023-11-16
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB