Connecting networks
    Erik Norgaard 
    norgaard at locolomo.org
       
    Tue Dec 11 14:19:19 PST 2007
    
    
  
Alaor Barroso de Carvalho Neto wrote:
> defaultroute="192.168.1.80"
> hostname="tiger.administrativo.unedmacae.cefetcampos.br"
> gateway_enable="YES"
> ifconfig_em0="inet XXX.XXX.XXX.XXX netmask 255.255.255.227"
> ifconfig_xl0="inet 192.168.1.244 netmask 255.255.255.0"
> ifconfig_xl1="inet 192.168.2.90 netmask 255.255.255.0"
> ifconfig_xl2="inet 10.10.0.50 netmask 255.255.0.0"
> pf_enable="YES"
> pf_rules="/etc/pf.conf"
> pf_flags=""
> pflog_enable="YES"
> pflog_logfile="/var/log/pflog"
> pflog_flags=""
> Thankz guyz for your attention with me! I'm going to have nightmares with
> this trouble.
Summing up, your local networks should be able to communicate accross 
the BSD box once you have gateway_enable="YES", you do not need NAT for 
that to work. If it doesn't work, then your firewall may be blocking.
For access to the Internet from any of the local networks you need to 
configure NAT.
If you need help with that you need to post your pf ruleset. Everything 
else seems correct.
Cheers, Erik
-- 
Erik Nørgaard
Ph: +34.666334818                           http://www.locolomo.org
    
    
More information about the freebsd-questions
mailing list