Friday, May 15

Geek

Daily LXD Stuff 15 May 2020

route add -net 10.1.21.0/24 gw 10.1.1.21

That's the magic trick of the day.  That precise command will route from the host to the LXD containers within my LXD virtual machine - or from other containers or virtual machines or containers within other virtual machines, as the case may be.

You have to specify -net, even though it's obvious from context.  You have to specify .0. even though given the context it is clearly irrelevant.  And no, they don't document that anywhere.

Posted by: Pixy Misa at 03:51 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 87 words, total size 1 kb.




Apple pies are delicious. But never mind apple pies. What colour is a green orange?




44kb generated in CPU 0.06, elapsed 0.328 seconds.
56 queries taking 0.2975 seconds, 280 records returned.
Powered by Minx 1.1.6c-pink.