Running pppd inside a zone/container

People,

I'd like to know if it is possible to call out using pppd from insidea zone?

I have added the device cua0 to the zone and verified the modem working with

tip. Both in the global zone and my zone.

Running "pppd cua0 call myisp" works fine from the global zone, using the

standard pppd. But from inside a zone, it fails with an error message that the kernel lacks pppd support.

The goal is of course to have multiple ppp connections running simultaneously, separated from each other.

I've been hacking around, adding the device /dev/sppp to my zone as well, and it causes pppd to fail with permission problems.

Realizing that I am just using the trial-and-error method at this point, I hope that you can help me answering the following:

1) Is it possible at all, in the way described above?

2) If possible, can you please guide me how to set it up?

Thank you,

Magnus

[953 byte] By [dimple-admina] at [2007-11-27 4:00:04]
# 1

This is most likely related to limitations about how virtualisation is implemented, but then again other virtualisation technologies also don't allow these kind of constructions luckily. And with Solaris 10 you also have a shared kernel and IP-stack (Sun is working on that) and trying to create interface from within a zone scares the daylight out of me. Also think how the routing needs to be controlled.

Safe way is to let the global zone handle it. Another way is to have a dedicated device for the network connections and this one is prefered in most cases.

hspaansa at 2007-7-12 9:04:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Well I had to go for an OS that allowed for entirely separated stacks, and thanks to your reply I looked elsewhere for the answer and found it - virtual machines using user mode linux on a Debian machine.Thanks for your help,Magnus
dimple-admina at 2007-7-12 9:04:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...