Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to set up a VPN between two branches. Branch A is on subnet 192.168.0.0/24 and branch B is on subnet 10.0.0.0/8.
I am using Juniper IPSEC VPN concentrators on both sides. I have no control over the VPN terminator in branch B, have only been given the parameters.
A test machine in branch B with IP 10.0.0.1 has been set up with a static route pointing to the VPN terminator on branch B LAN.
I have set up a test machine on branch A lan with ip address 192.168.0.2 and a static route directing all traffic destined for 10.0.0.0/8 to the internal interface of the VPN terminator, 192.168.0.253.
Now here is where it gets a bit sticky.
Branch A is located in another country so I am logged in via SSH to a second interface on the test machine. This interface is on a public ip.
Destination Gateway Genmask Flags Metric Ref Use Iface
207.x.x.x 0.0.0.0 255.255.255.224 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.0.0.0 192.168.0.253 255.0.0.0 UG 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 207.x.x.x 0.0.0.0 UG 0 0 0 eth1
I can see the internal interface of the VPN terminator:
PING 192.168.0.253 (192.168.0.253) 56(84) bytes of data.
64 bytes from 192.168.0.253: icmp_seq=1 ttl=64 time=3.71 ms
But when I try to ping the test machine at branch B, I get this error:
From 192.168.0.2 icmp_seq=7 Destination Host Unreachable
ping: sendmsg: Operation not permitted
My IP Tables allow ICMP originating from this host because I can ping to the private and public network. Now the question is;
Is this ping error a result of incorrect route configuration, iow, originating from my test machine, or is it because of VPN mis configuration, iow originating from the VPN terminator?