LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

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


Hi,

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
David

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 12:12 AM. Reason: adding information
 
Old 06-12-2015, 02:18 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Where is VPN terminator, in GSM router or client machine?
 
Old 06-15-2015, 12:10 AM   #3
banannek
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.
 
  


Reply



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 09:44 PM
double hop 'scp' rsashok Linux - Wireless Networking 1 03-09-2009 07:31 PM
Hop on traceroute lo-kəy Linux - Networking 1 11-11-2008 04:13 AM
Load balancing just going out one hop Xeta Linux - Networking 0 05-27-2006 06:34 PM
Mysterious Hop Problem magebeast Linux - Networking 2 05-24-2002 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:07 PM.

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