PDA

View Full Version : ifconfig ALLMULTI option



Hagen17
25-Apr-2012, 10:01
Hello,

how ca i set this otion permanently at startup?

I did in a special startscript
S80multi:
ifconfig eth0 allmulti

But it doesnt work correctly, the database server which needs this setting cannot connect to the multicast socket.

When i start the database engine manually (when thue system is spun up)
it works.

Greets,
Hagen

enovaklbank
27-Apr-2012, 12:30
For a global configuration (applied to all interfaces) put your script into /etc/sysconfig/network/if-up.d/ .

For a per-device config, add a POST_UP_SCRIPT= line (and possibly others, e.g. PRE_UP_SCRIPT ) into the ifcfg-<ifname> file.