=== akp55__ is now known as akp55 [06:39] Hello Every one, Need a quick help with neplan configuration [06:40] Anyone willing to look into my issue? [06:43] anyone? [08:19] VJ: always better to ask the real question [08:23] kjetilho I want to discuss the issue to understand which I think will help me if i speak one on one and explain the issue [08:46] well, getting someone to volunteer one-on-one support is a lot less likely than getting a response here. [08:55] ok I have an ubuntu server 18.04 with 2 interfaces [08:55] I am unable to get the interal routing to be working [08:55] here is my yaml file [08:56] network: ethernets: ens160: addresses: [172.16.1.181/24] dhcp4: no gateway4: 172.16.1.254 nameservers: addresses: [172.16.1.241] routes: - to: 172.16.1.0/24 via: 172.16.1.254 table: 101 routing-policy: - from: 172.16.1.0 table: 101 ens192: addresses: [08:56] [192.168.1.126/24] dhcp4: no routes: - to: 192.168.1.0 via: 192.168.1.254 metric: 100 table: 102 - to: 233.0.0.0/8 via: 192.168.1.254 metric: 100 table: 103 routing-policy: - from: 192.168.1.0/24 table: 102 - from: 233.0.0.0/8 table: 103 version: 2 [08:56] what am i doing wrong? [09:04] do you really need this policy-routing? [09:05] well i tried without policy-routing and that didnt help [09:05] it's easier to read if you put the YAML in a gist on Github og snippet on Gitlab, or on a a pastebin like paste.debian.net [09:06] what do you want to achieve? [09:07] I am not able to reach a server which is in 233.x.x.x [09:07] if i put metric then i can reach 233.x.x.x but i lose internet connectivity [09:09] you should be able to add a route to 233.0.0.0/8 to the nic of your choice without any policy routing [09:10] you only need policy routing if locking in the source address is important. [09:11] sorry, I have to go back to real work :) [09:11] http://paste.debian.net/hidden/9b82afa5/ [09:11] could you plz look at it and let me know the changes [09:11] i will try quickly and update [09:13] I removed policy routing as well [09:13] http://paste.debian.net/1177458/ [09:13] didnt help [10:16] anyone ? [10:16] help me with routing issues in netplan ? [10:16] http://paste.debian.net/1177458/ [10:21] VJ is the static route you defined for ens160 your default gateway? Can you paste the output of "ip route"? [10:22] paste.debian.net/1177463 [10:22] this is the route output [10:23] and yes that the default gw [10:23] thats the interface which is connected to internet [10:23] the other interface is for internal network [10:23] i can reach internet with the current config but not to local network [10:24] specifically to 233.x.x.x netowrk even though i have put a route in place [10:26] can you analyse via "traceroute SERVER_IP"? To see where the packets are flowing to? [10:27] http://paste.debian.net/1177466/ [10:27] this is the output of traceroute [10:30] hmm.. okay that's not helpful. Why did you define "gateway4: 172.16.1.254" and the additional static route to 172.16.1.254? Both are your route to the internet right? Maybe try to get rid of the "gateway4" then, it might confuse the system [10:31] i did that as well. thta didnt help [10:31] now i ahve removed the route for the default gateway [10:31] even now, i can reach internet but not to 233.x.x.x [10:32] you removed the static route, or the "gateway4" setting? I'd recommend to remove the "gateway4" setting and only define routes manually, as the gateway setting does some magic in networkd, which might not play nicely with other routes [10:33] 233.x.x.x is a magic subnet - I would not use it - it is part of the space allocated to multicast [10:43] yes 233 is the server which is used for some video streaming [10:43] i see in some of the forms where netplan doesn't support multicast routing [10:43] is this true ? [10:43] if yes then i wasted my 3days :) [10:45] multicast routing is very different from normal routing [10:46] i haven't done it since 1996 or thereabouts, so I have no idea how it is best done these days [10:49] I'm not sure about multicast routing either.. this ticket suggests that you need to define the device/on-link instead of a gateway for multicast routes: https://bugs.launchpad.net/netplan/+bug/1833475 [10:51] ya i saw this and tried as well [10:51] didnt help [10:51] i added on-link: true [10:51] no luck [11:05] anyone else who has information about multicast routing in netplan ? [11:27] any one ? know can help with multicast routing in netplan?