=== JanC is now known as Guest2655 | ||
=== JanC_ is now known as JanC | ||
geekbri | Oh my. I'm trying to turn an old ifupdown block of code to netplan and I'm really struggling to do this. I'm unsure how to easily share it. I've got a github gist or i could just post the old ifupdown here and one of my many failed netplan YAML attempts to replicate it. | 16:22 |
---|---|---|
schopin | geekbri: it'd be better to use a gist (or a pastebin) | 16:23 |
geekbri | Done and done @schopin | 16:23 |
geekbri | https://gist.github.com/brianbianco/6319270d08a49576c78812f5c54ef80b | 16:23 |
geekbri | I've had so many iterations of the attempted netplan config im not even sure which to put in it, so i chose a random one | 16:24 |
schopin | geekbri: I won't have much time to dive into this, but it seems like there are IPs that are mismatched, e.g. the gateway for the default route. | 16:32 |
geekbri | i may have chosen a bad config to include, let me redo this. I have the gateway correct in the one im looking at as far as I can tell | 16:34 |
danilogondolfo | geekbri, I left a comment in your gist | 16:34 |
geekbri | @danilogondolfo oh wow, let me compare to what i've got currently and see how close I was and give yours a try! | 16:35 |
geekbri | @danilogondolfo Thanks I've tried it. It does not work. It seems to have the same issue as mine so I suspect I'm missing something entirely. the static IP never appears in the routes | 16:36 |
danilogondolfo | what IP never appears in the routes? | 16:37 |
geekbri | sorry there are 2 network devices and the new device has a static ip of 172.16.19.254 which appears in the old routing tables | 16:39 |
geekbri | i did notice i may simply need to change the name of device in the one you provided which i failed to do though so let me try that first. | 16:40 |
danilogondolfo | right, I just translated your ifupdown file, which refers to eth1 | 16:40 |
geekbri | yeah sorry, thank you i appreciate that greatly. It was just an easy thing to overlook | 16:40 |
geekbri | i think you might have made it work, I think even if it doesn't work with your translation I've got what i need to figure it all out | 16:41 |
danilogondolfo | :) nice! | 16:41 |
geekbri | oh my god it works, you are my savior of the day | 16:41 |
geekbri | im able to ping the server externally at the secondary interfaces static ip. You have done me a solid | 16:42 |
geekbri | I'm going to go post this somewhere on the internet for the next person like me | 16:43 |
danilogondolfo | ;) | 16:43 |
schopin | :) | 16:43 |
geekbri | It's always funny how when you have the answer you look at it and you're ilke... well yeah of course why didn't I figure this out? | 16:44 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!