Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 13:34:54 +0200 (CEST)
From:      xskoba1@kremilek.gyrec.cz
To:        freebsd-security@freebsd.org
Subject:   question about routing, firewall, natd and bridge
Message-ID:  <Pine.LNX.4.44.0308181326060.24499-100000@kremilek.gyrec.cz>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0308181326060.24499-100000>