Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 17:09:31 -0500 (EST)
From:      Derek Marshall <drek@nm.cbc.ca>
To:        freebsd-questions@freebsd.org
Subject:   jail routing problem
Message-ID:  <20021105165213.I492-100000@hub.cbc.ca>

next in thread | raw e-mail | index | archive | help
Hi,

With the following setup I don't understand why ip from the jail
192.168.1.2 cannot reach hosts in 192.168.2.0/24. Can I use a fancy
ipfw fwd rule to make it work? Anything routes that use the default
gateway is fine.

Here is the setup:

= Host system =

default gateway 192.168.1.254

fxp0:
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.2 netmask 0xffffffff broadcast 192.168.1.255
        inet 192.168.1.3 netmask 0xffffffff broadcast 192.168.1.255
        inet 192.168.1.4 netmask 0xffffffff broadcast 192.168.1.255
fxp1:
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255

= First Jail =

fxp0:
        inet 192.168.1.2 netmask 0xffffffff broadcast 192.168.1.2
fxp1:
        <nothing>

cheers,

Derek.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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