[11:34] Hi, I am trying to config ubuntu server with netplan with several NIC. I am not able to make it work with more than 1 NIC. Could anyone help to fix the problem. Config --> https://paste.ubuntu.com/p/N9zvQGj76q/ [12:03] Hi JaySee! Is there any error message? Your config looks ok on first glance. could you maybe paste your `ip a` output? [12:22] @slyon: There are no errors. But I am not able to connect using other NIC except first NIC. ip a output --> https://paste.ubuntu.com/p/G5zCKYGFQC/ [12:31] thanks JaySee, 'ip a' shows that netplan applied all the IP addresses correctly to the interfaces [12:32] So i assume the problem must be somewhere else, how are you trying to connect? are there any firewall rules in place? what about routes? [12:41] This server is behind the firewall. But I am trying to connect to this server behind the firewall only. If i use the "renderer: NetworkManager", rather than "renderer: networkd" all the 4 interfaces are working fine. [12:41] I am not sure, what is the problem [12:43] @slyon : to do this, I had to disable, mask, stop systemd-networkd ... then unmask, enable, ans start NetworkManager [12:43] I think, netplan has some more configuration some where , which i am missing. [12:45] JaySee: can you compare the 'ip route' output when using the networkd renderer VS the NetworkManager renderer? [12:46] @slyon, sure. I will share them in few minutes [12:58] @slyon: this is how it looks after changing it to NetworkManager as renderer. It is adding 4 defaults routes --> https://paste.ubuntu.com/p/VrRjktm6QV/ [13:01] okay... are 10.2.22.1/10.3.23.1/10.4.23.1 the correct gateways which should be used by this interfaces? [13:03] I guess you could try to add the corresponding gateway4: settings to each interface (cf. https://netplan.io/reference/#common-properties-for-all-device-types) [13:05] (as you did with eth0) [13:07] slyon: yes the gateways are correct. But when I add gateways for all the 4 interfaces. Only 4th NIC is working remaining 3 are not working. This is kind of strange behavior. [13:09] ah.. maybe netplan/systemd overwrites the previous default gateways.. I guess then the (static) routes need to be defined manually [13:10] via the routes: setting... probably something like this: [13:10] routes: [13:10] - to: 0.0.0.0/0 [13:10] via: 10.2.22.1 [13:10] on-link: true [13:37] @slyon, thanks. I will try that. === King_InuYasha is now known as Conan_Kudo === Conan_Kudo is now known as King_InuYasha === King_InuYasha is now known as Conan_Kudo === Conan_Kudo is now known as King_InuYasha === King_InuYasha is now known as Conan_Kudo === Conan_Kudo is now known as King_InuYasha