Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2007 15:56:53 +0300
From:      Dominik Zalewski <dzalewski@open-craft.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD arp proxy
Message-ID:  <200706091556.53631.dzalewski@open-craft.com>

next in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706091556.53631.dzalewski>