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

Re: ifup-ipsec adds route



David T Hollis (dhollis davehollis com) said: 
> I recently managed to get the Linux 2.6 IPSEC up and running using the
> ipsec-tools RPM that was briefly in Rawhide.  While converting to use
> the support that is in initscripts for IPSEC, I noticed that the scripts
> attempt to create an IP route:
> 
> ip route add to $DSTNET via $DST
> 
> if it's a tunnel connection.  In my scenario (which I think is the
> pretty typical scenario of LAN_A -> gw1 -> Internet <- gw2 <- LAN_B),
> that call fails with: RTNETLINK answers: Network is unreachable.

It's needed in some scenarios, namely when you can't get to $DSTNET
via your normal default gateway.

Bill




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