FreeBSD arp proxy

Dominik Zalewski dzalewski at open-craft.com
Sat Jun 9 12:56:59 UTC 2007


Dear All,

I have a problem configuring routing. Here is how my setup looks:

Internet - - - ADSL modem (bridge mode) - - - FreeBSD BOX - - - - - - - Switch - - - - - - - Server 1
                  IPOA: 196.218.x.97                   vr1: 196.218.x.98                |                    bge0: 196.218.x.100
                                     							                   |                                
								            			           |
              												   |
                                                                                                    Server 2
												    eth0: 196.218.x.101	




The idea is to give public IPs to servers behind FreeBSD firewall. I don't want to assagin IP addresses to FreeBSD BOX and use binat. I want to servers have IP assigned to their interfaces so I can
reach them directly from internet.

Someone told me that I have to use arp proxy. As I know FreeBSD has builtin arp proxy using userland arp utillity. 

When I added arp -s 196.218.x.100 mac_address_of_server1 perm pub . I still couldn't reach 196.218.x.100 .


Ofcoure I will have to add: no nat on $ext_if from { 10.0.0.3, 10.0.0.7 } to any .


Thank you in advance,


Dominik





More information about the freebsd-questions mailing list