elaconta.com Webmaster wrote:
The networking scheme is:

Router (192.168.1.120) <-> (192.168.1.121) Firewall PC (192.168.1.122)
<-> (192.168.1.0/24) LAN

Now, thing is, the Linux firewall has two NICs:

NIC 1: 192.168.1.121
NIC 2: 192.168.1.122

The two NICs on the Linux box are configured with 192.168.1.121 and
192.168.1.122, both interfaces on the same subnet. 192.168.1.121 acesses
the company router (192.168.1.120) and 192.168.1.122 acesses the company
LAN (192.168.1.0/24)
Looks like a host route to me... I'd have to look up the equivalents on OpenBSD but, to give you a start, the above would be configured on Linux with:
# ifconfig eth0 192.168.1.121 netmask 255.255.255.0 metric 10
# ifconfig eth1 192.168.1.122 netmask 255.255.255.0 metric 5
# route add -host 192.168.1.120 dev eth0
# route add default gw 192.168.1.120

--
Jason Stubbs

Reply via email to