Jail with public IP alias
aimass at yabarana.com
Tue Aug 27 20:59:12 UTC 2013
I have a machine with several public IPs on the same NIC and I bound
one of those IPs to a jail created with EzJail. Suppose the scenario
is something like this:
In the jail we are bound only to 220.127.116.11
The default router is correctly set on the jail, etc.
But when we ssh out of that jail, or send an email, the receiving end
always sees 18.104.22.168 not 22.214.171.124 which is the IP the jail
is bound to.
Since I can't use traceroute or netstat I can only guess that it's
using the base systems routing table for link#1 and that's why it's
always going out of the first IP of that NIC.
Is there any way to fix this? Besides adding another NIC which we
currently can't do.
More information about the freebsd-questions