Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2013 16:19:26 -0700
From:      Patrick <gibblertron@gmail.com>
To:        Alejandro Imass <aimass@yabarana.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Jail with public IP alias
Message-ID:  <CA%2BdWbmb6VqmjQAiEyLmsE_%2BP8bHNZxf_Yff7BZAzdDEM3Ka4SA@mail.gmail.com>
In-Reply-To: <CAHieY7ROHTret4QgCfgUaO5t1HwPzoi8O%2B85y7KKjCW=haoGmg@mail.gmail.com>
References:  <CAHieY7Sq5XKFuwp9PYnbuLAM6i=6KrrS8h-RM2uJUCzgAQ5rcw@mail.gmail.com> <CAHieY7QnkKv3st31tFHipd7q1jZ1YnFAXizQvgFKjH4oPc5Hsw@mail.gmail.com> <CA%2BdWbmYDfNNAv1kV=68eGQ8ySs9G07TZz_6zE0Fkit5t40484g@mail.gmail.com> <CAHieY7ROHTret4QgCfgUaO5t1HwPzoi8O%2B85y7KKjCW=haoGmg@mail.gmail.com>

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

That's how I've got things setup, too, but I'm not seeing the same
behaviour. So I was wondering if there was something different about
your setup such as using NAT to allow a jail with a private IP to
access the internet at large.

Patrick


On Tue, Aug 27, 2013 at 3:42 PM, Alejandro Imass <aimass@yabarana.com> wrote:
> On Tue, Aug 27, 2013 at 6:28 PM, Patrick <gibblertron@gmail.com> wrote:
>> That's not the behaviour I see. My jail has a private and public IP.
>>
>
> Hi Patrick, thanks for your reply.
>
> The issue is actually more basic and it's because the same network
> card has multiple IPs on the same subnet so the routing table always
> chooses the primary IP assigned to that interface.
>
> I'm trying to figure out if I can fix it in the routing table or will
> need IPFW to re-write the source address.
>
> Thanks,
>
> --
> Alejandro Imass



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdWbmb6VqmjQAiEyLmsE_%2BP8bHNZxf_Yff7BZAzdDEM3Ka4SA>