You are not logged in.

#1 2013-05-06 20:52:29

cmtptr
Member
Registered: 2008-09-01
Posts: 135

/etc/netctl/interfaces and net.bridge.bridge-nf-call-iptables

I have net.bridge.bridge-nf-call-iptables=0 in my /etc/sysctl.conf, but this has no effect because during boot /etc/sysctl.conf is loaded before the bridge module is installed. See: https://bugzilla.redhat.com/show_bug.cgi?id=634736

So, I need to "sysctl net.bridge.bridge-nf-call-iptables=0" somewhere after the bridge module is loaded.

Do /etc/netctl/interfaces hooks run before or after an interface is created and brought up?  Is /etc/netctl/interfaces/br0 the right place to do what I want to do, or is there something better?

Thanks!

Last edited by cmtptr (2013-05-19 13:51:50)

Offline

#2 2013-05-19 13:37:05

cmtptr
Member
Registered: 2008-09-01
Posts: 135

Re: /etc/netctl/interfaces and net.bridge.bridge-nf-call-iptables

Well, it seems I answered my own question by finally testing this for myself (I update and reboot my server only every other Sunday).  Putting "sysctl net.bridge.bridge-nf-call-iptables=0" in /etc/netctrl/interfaces/br0 did not help, because it runs before the interface is created:

May 19 09:48:20 jerec network[341]: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory
May 19 09:48:20 jerec network[341]: Starting network profile 'br0'...
May 19 09:48:20 jerec network[341]: Started network profile 'br0'

Any other suggestions are welcome!  I would really rather not have to set this myself every time the machine restarts.

Thanks.

Last edited by cmtptr (2013-05-19 13:54:59)

Offline

Board footer

Powered by FluxBB