Hello RedHat's,

i'm running different RedHat versions (from 6.2 to now 7.2) on several
firewalls and on some of them i need to set proxy_arp on the network
interfaces. For example:

Internet
      |
cisco router (x.x.x.105)
      |
eth0 (x.x.x.106)
      |
     +-----    eth1 (x.x.x.106) --    webserver etc (x.x.x.107/8/9) - DMZ
      |
eth2 (192.168.x.x) - Intranet

=> for this setup to work i have to set proxy_arp = 1 on eth0 and eth1,
which does work fine btw.

So now my question: which is the recommended way of doing this?
I'm currently setting this in a /sbin/ifup-local script, but IMHO this
should be better set in ifcfg-eth?, as this is a device specific setting.

--- /sbin/ifup-local
#!/bin/sh
if [ -f /proc/sys/net/ipv4/conf/eth0/proxy_arp ]; then
        echo 1 >/proc/sys/net/ipv4/conf/eth0/proxy_arp
fi
if [ -f /proc/sys/net/ipv4/conf/eth2/proxy_arp ]; then
        echo 1 >/proc/sys/net/ipv4/conf/eth2/proxy_arp
fi
---

Any suggestions for a better way?

Bye
    Frank

--
Linux - Less bugs for less bucks!



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to