[Losing parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0)]

Issues related to applications and software problems
Post Reply
SUP-AMIX
Posts: 3
Joined: 2019/12/03 13:24:34

[Losing parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0)]

Post by SUP-AMIX » 2019/12/03 13:29:45

Hi,
--

What type of problem / behavior are you experiencing? What do you expect to find?

Losing the parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0), you must run the sysctl -p command.

Where are you experiencing this kind of behavior? In which environment?

Production environment

When does this behavior occur? How often? Several times? Sometimes?

The problem occurs several times a day!

What information can you provide about impacts and business impact?

Regarding the period, occurs daily and generates business impact!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [Losing parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0)]

Post by TrevorH » 2019/12/03 15:33:52

On CentOS 6?

Is the interface going up and down a lot?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

SUP-AMIX
Posts: 3
Joined: 2019/12/03 13:24:34

Re: [Losing parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0)]

Post by SUP-AMIX » 2019/12/03 19:46:08

On CentOS 6?
Yes! 6.10

Is the interface going up and down a lot?
No, the interface is working normally!

User avatar
Errosion
Posts: 43
Joined: 2014/12/03 19:58:02

Re: [Losing parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0)]

Post by Errosion » 2019/12/03 21:31:53

How do you know it is losing that parameter?

I'm also guessing you have that parameter defined in /etc/sysctl.conf since you want to keep it persistent, yes?

Also, just poking around, it seems like that setting defaults to "0" already. When the issue occurs, what is that option getting set to?

Use

Code: Select all

sysctl -a | grep rp_filter
to see.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [Losing parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0)]

Post by TrevorH » 2019/12/03 23:01:57

It would be normal for it to reset to the default if the interface is restarted. And that tends to happen quite often with VPNs...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

SUP-AMIX
Posts: 3
Joined: 2019/12/03 13:24:34

Re: [Losing parameter setting (net.ipv4.conf.ipsec0.rp_filter = 0)]

Post by SUP-AMIX » 2019/12/04 12:45:10

Thank you. Your guess led me to the solution. :D

Baria / Mauricio

Post Reply