Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


3143 posts

Uber Geek

#195617 26-Apr-2016 21:25
Send private message

I am currently setting up a small vpn tunnel, which is then connecting 2 LAN's together, for nothing other than helping me understand routing, forwarding, etc.




I have turned an ubuntu host on the destination network into the VPN host and router.












on the VPN host, I have added a route using this command to allow traffic to travel back to Net1;


ip route add dev ppp0


I can then ping, browse, do whatever I want across the two LAN's.


So I open VMWare to connect to ESXi- it connects to the server, then stops responding. When I go to check the VPN host, I see that the route that I added just above has disappeared.
This happens all the time and I'm really getting to the end of my tether with it - I cannot work out for the life of me why it disappears.


To be clear; I am not rebooting when this happens - it disappears mid transport of traffic. 




Anyone else experienced this issue? 




EDIT: here is the route print.




root@ubuntu-ThinkPad:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default srp527w UG 0 0 0 wlan0 * U 0 0 0 ppp0 * UH 0 0 0 ppp0 * U 9 0 0 wlan0


After it randomly disappears:
root@ubuntu-ThinkPad:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default srp527w UG 0 0 0 wlan0 * UH 0 0 0 ppp0 * U 9 0 0 wlan0

Create new topic
3617 posts

Uber Geek


  #1542478 26-Apr-2016 22:37
Send private message

is vmware's network config conflicting with the vpn?

You're not on Atlantis anymore, Duncan Idaho.


Free kids accounts - trade shares and funds (NZ, US) with Sharesies (affiliate link).
874 posts

Ultimate Geek


  #1542551 27-Apr-2016 08:09
Send private message

Have you confirmed that the VPN is staying up? Routes vanish when interfaces go away.



Prodigi - Optimised IT Solutions
WebOps/DevOps, Managed IT, Hosting and Internet/WAN.


3143 posts

Uber Geek

  #1542723 27-Apr-2016 12:36
Send private message



is vmware's network config conflicting with the vpn?



Nope, the VPN box is physical, so can't be a conflict.






Have you confirmed that the VPN is staying up? Routes vanish when interfaces go away.





You're 100% on the money. I was looking through the logs last night after posting, and I can see a Signal 15 being received on the Net1 router. A little digging around seems to indicate that this may be a known issue with the pptpd/pppd daemon, which is frustrating.


Going to do some more testing tonight to see what I can do.


How come we can't set persistent routes? I don't care if traffic gets dropped when the route is down. They're private IP's anyway, so there's no where else for them to go, since they're not internet route-able or anything.




I wonder if I should set up a interface for ppp0 on the VPN server, that way the interface is always there, so the route shouldn't disappear. Will give it a try. 






3143 posts

Uber Geek

  #1544888 1-May-2016 14:40
Send private message

I still haven't found the reason why the connection keeps dropping out, however, I have put a script into the /etc/ppp/if-up.d/ folder, which executes when the connection comes up - this automatically adds the route in.




So at least now I'm not losing the route entirely, needing manual intervention, but still dropping some packets when the route goes down temporarily. 

Create new topic

News and reviews »

Synology Introduces BeeStation
Posted 23-Feb-2024 14:14

New One UI 6.1 Update Brings Galaxy AI to More Galaxy Devices
Posted 23-Feb-2024 10:50

Amazon Echo Hub Available in New Zealand
Posted 23-Feb-2024 10:40

InternetNZ Releases Internet Insights 2023
Posted 20-Feb-2024 10:31

Seagate Adds 24TB IronWolf Pro Hard Drives for Multi-user Commercial and Enterprise RAID Storage Solutions
Posted 19-Feb-2024 16:54

Seagate Skyhawk AI 24TB Elevates Edge Security Capacity and Performance
Posted 9-Feb-2024 17:18

GoPro Releases Quik Desktop App for macOS and Introduces Premium+ Subscription Tier
Posted 9-Feb-2024 17:14

Ring Introduces New Ring Battery Video Doorbell Pro
Posted 9-Feb-2024 16:51

Galaxy AI Transforms the new Galaxy S24 Series
Posted 18-Jan-2024 07:00

D-Link launches AI-Powered Aquila Pro M30 Wi-Fi 6 Mesh Systems
Posted 17-Jan-2024 20:02

Newest LG 4K Lifestyle Projector Doubles as Art Objet
Posted 9-Jan-2024 15:50

More LG Smart TV Owners Set To Enjoy the Latest webOS Upgrade
Posted 9-Jan-2024 15:45

Panasonic Announces the Z95A and Z93A With Fire TV Built In
Posted 9-Jan-2024 15:30

Amazon Echo Pop Review
Posted 8-Jan-2024 14:22

Samsung Tab S9 FE Review
Posted 17-Dec-2023 08:26

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.