"."@babolo.ru wrote:

WWW is a FreeBSD-4.8 box.
Gateway is a FreeBSD-4.8 box with IP Filter
Since the SNMP-server does not have a default route, the traffic needs to originate from an IP address within the same subnet as the Gateway.
To that end, I have added an alias IP of 192.168.2.1 to the gateway. When I run an snmpwalk from the gateway all goes fine.


Since the traffic is coming from WWW and heading through the Gateway, which does not bridge, I have to perform some form of NATting in the gateway.



configure port with SNMP-server as 192.168.0.17/30 for example
instead 192.168.2.1/24, and
sysctl net.link.ether.inet.proxyall=1

and configure SNMP-server as 192.168.0.18/24

If you can change mask of SNMP-server, you can
use 192.168.0/24 and 192.168.1/24 on gateway
and 192.168.0/25 on SNMP-server.


Since I have the internet on the same interface, but on the primary IP instead, would enabling ARP PROXY not fill the ARP table with every host on the internet, that tries to contact the gateway ?

Greetings,

Nils.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to