Date: Sat, 6 Aug 2005 18:58:02 -0600 From: "Chad Leigh -- Shire.Net LLC" <chad@shire.net> To: FreeBSD - Questions <freebsd-questions@freebsd.org> Subject: jail question -- why can a user programatically see more than one IP address inside a jail? Message-ID: <1AC1583D-DC24-46EC-B061-107F95F973D2@shire.net>
next in thread | raw e-mail | index | archive | help
I have some jails. On 5.3R i386 Some software (some C based, some java) for various reasons, like licensing, look at all the IP addresses/interfaces available in the running system. Inside the jail they return more than just the jails IP address. For example, FrontBase database (www.frontbase.com) sees the following inside the jail " Host name and IP and ethernet address information ================================================= Name of this host : db.shire.net IP address of this host : XXX.70.252.100 IP address : XXX.70.252.132 IP address : 192.168.2.2 IP address : 127.0.0.1 No ethernet interfaces configured WARNING: The IP address, XXX.70.252.100 for this host db.shire.net is not configured on any network device. " The main address shown, XXX.70.252.100 is the jail's IP. XXX.70.252.132 is the main address assigned to bge0 on the jail's host 192.168.2.2 is the main address assigned to bge1 on the jail's host 127.0.0.1 is the main address assigned to lo0 on the jail's host The other bunch of alias IPs assigned to bge0 do not show through. I was wondering why the jailed processes can see these addresses though they do not show in ifconfig for example and you cannot do anything with them... On a related note we have some java software that is trying to do multicast inside a jail to do the mDNS stuff for ZeroConf and it is getting confused for similar reasons it appears (still gathering details on this) thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1AC1583D-DC24-46EC-B061-107F95F973D2>