question about routing, firewall, natd and bridge

xskoba1 at kremilek.gyrec.cz xskoba1 at kremilek.gyrec.cz
Mon Aug 18 04:53:04 PDT 2003


Hallo there,

I had to change the provider. And after that my public IP adress are
routed straight through FreeBSD Box. What is it
best way to do it?

I personally done it the way, where exist the localnet alias for every
interface... eg..

ifconfig_ed0="inet 62.168.40.188 netmask 255.255.255.252 broadcast
62.168.40.191"

after that there is local interface 192.168.1.1/255
and it's alias 172.16.0.1/255

and then

route add -host 62.168.40.190 172.16.0.251
#it is an public and local ip adress of that host...

but /var/log/kern.log is still clamining a warning
arplookup 62.168.40.190 failed: host is no on local network...

is it the correct way to do a route (especiall if I want to have a
firewall with ipfw,natd and bridge or not?)

your sincerely

Karel Rous




More information about the freebsd-security mailing list