Re: Advantages of netctl over systemd-networkd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



* Simon Gomizelj <simon@xxxxxxxxx> [2016-04-26 01:07] :
> Alexandre de Verteuil <alexandre@xxxxxxxxxxxxxx> writes:
> > I was happily configuring static and dynamic networking in my home
> > network using systemd.netdev and systemd.network unit files until
> > I needed static routes for my site-to-site VPN setup. I'm still
> > investigating the root cause, but basically routes don't get added and I
> > get the following error message in the journal:
> >
> >     systemd-networkd[4468]: br0: Could not set route: Network is unreachable
> >
> What's the VPN technology?
> 
> If you're trying to add routes to traverse the VPN before the VPN
> connection is established, its going to fail. The robust thing to do is
> configure your VPN client software to add or remove routes. I know for
> sure that both OpenVPN and pptpclient have ways of doing that.

I'm using OpenVPN. However, I'll need to set up static routes manually
anyways for the following reasons:

- the VPN server is not on the same machine as the Internet gateway, so
I also need to add static routes on the router with the OpenVPN server
as the next hop.

- I also plan to create VLANS for management, testing and security. I
know it's overkill for a home network but it's also a lab for learning
so regardless of the VPN I'm going to need to configure static routes.

The router will soon be replaced by an Archlinux box. Right now I'm
testing network configuration on virtual machines. My current router is
an all-in-one residential DSL modem and doesn't support anything I want
to do. In the meantime, my OpenVPN server does IP masquerade.

Regards,
-- 
Alexandre de Verteuil <alexandre@xxxxxxxxxxxxxx>
public key ID : 0xDD237C00
http://alexandre.deverteuil.net/



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux