Networking Forums

Networking Forums > Computer Networking > Linux Networking > Assigning IP to virtual network interface under chroot() jail.

Reply
Thread Tools Display Modes

Assigning IP to virtual network interface under chroot() jail.

 
 
latin0511@gmail.com
Guest
Posts: n/a

 
      08-31-2006, 05:01 PM
Hi,

My server comes with 5 IPs, and I want to use one of these IPs inside a
chroot() jail. Actually, I'll be very happy if the system "behind" the
chroot() jail won't know about the existance of this IP address.

The purpose of all of this is to run 2 identical services (e.g. 2
APACHEs, 2 SSHDs, etc..) on the same port, on different IPs, but on the
same server. One will run from inside the chroot() jail, and the other
one will run from an other chroot() jail, or maybe from the main
server.

Is there any possible way of doing that?


I'm running Debian Sarge using a 2.6 686 kernel.

Thanks a lot!


Ofer Shaked.

 
Reply With Quote
 
 
 
 
ynotssor
Guest
Posts: n/a

 
      08-31-2006, 05:43 PM
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com

> My server comes with 5 IPs, and I want to use one of these IPs inside
> a chroot() jail. Actually, I'll be very happy if the system "behind"
> the chroot() jail won't know about the existance of this IP address.
>
> The purpose of all of this is to run 2 identical services (e.g. 2
> APACHEs, 2 SSHDs, etc..) on the same port, on different IPs, but on
> the same server. One will run from inside the chroot() jail, and the
> other one will run from an other chroot() jail, or maybe from the main
> server.
>
> Is there any possible way of doing that?


I believe that the chroot() concept pertains to filesystem access, not
interface access.

 
Reply With Quote
 
latin0511@gmail.com
Guest
Posts: n/a

 
      09-01-2006, 10:54 AM
ynotssor wrote:
> I believe that the chroot() concept pertains to filesystem access, not
> interface access.


So I guess I will have to use programs which makes it possible for me
to choose which network interface I want to use. Is that the best
solution?

And thanks for your answer.

 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      09-04-2006, 07:05 PM
(E-Mail Removed) wrote:

> So I guess I will have to use programs which makes it possible for me
> to choose which network interface I want to use. Is that the best
> solution?


*Any* decent network service allows you to choose this.

You haven't said anything about what services you mean, when that might
simplify matters *so* much.

J
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulated NAT Traversal on Virtual Box | Two Virtual Interface - eth-0/eth1 Sumit Linux Networking 0 06-24-2011 01:09 AM
Assigning virtual Interfaces to Debian 5 The Doctor Linux Networking 5 03-24-2009 11:07 PM
Virtual interface r3gis Linux Networking 0 02-18-2007 05:05 PM
assigning multiple IP address to one interface via dhcpd Nejat AYDIN Linux Networking 4 06-07-2004 12:26 AM
Virtual interface Slav Inger Linux Networking 2 04-20-2004 01:54 PM



1 2 3 4 5 6 7 8 9 10 11