Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-12-2015, 02:15 AM   #1
LQ Newbie
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
How to disable redirecting gw to next hop


I have a little problem with redirecting gateways. I have set routing table, that to network x.x.x.x i want to go thru gw y.y.y.y. Problem is, that clients are connected on GSM routers so their connectin isnt much stable. And when i want to communicate with some, i get message that gw was redirected to y.y.y.z, but this is bad trace and packet is lost.
So the question is: how can i permanently disable this automatic redirecting? I tried sysctl.conf (in all, default and every single interface I set send_redirect, accept_redirect to zero), block icmp redirect on firewall (but it just block the messages, not the mechanism).
Im really desperate and dont know what else I can do...

Thank for any help

PS: mabye I can add some more information. I am using Raspberry PI as server (with Raspbian) and I am running VPN here

Last edited by banannek; 06-15-2015 at 01:12 AM. Reason: adding information
Old 06-12-2015, 03:18 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,645

Rep: Reputation: 141Reputation: 141
Where is VPN terminator, in GSM router or client machine?
Old 06-15-2015, 01:10 AM   #3
LQ Newbie
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Its in GSM router, but i finally fixed it. So I put it here for someone who might have same problem. When i was creating vpn devices, there were created MAC addresses for each of them, but the automatic mechanism gave same MAC to many devices so thats why the redirecting ocuured. So solution was simple, just assign MAC addresses manually.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create our own option type for hop by hop extention header manin Linux - Kernel 0 08-20-2014 10:44 PM
double hop 'scp' rsashok Linux - Wireless Networking 1 03-09-2009 08:31 PM
Hop on traceroute lo-kəy Linux - Networking 1 11-11-2008 05:13 AM
Load balancing just going out one hop Xeta Linux - Networking 0 05-27-2006 07:34 PM
Mysterious Hop Problem magebeast Linux - Networking 2 05-24-2002 01:48 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration