Hi,
To use NSIS implementation I must use a real scenario (I mean that I must run the NSIS damon as much computers as are the nodes that are in my topology) or I can simulate it? The use of the alias interfaces are supported by the implementation? I can run, to simulate a scenario, different NSIS damons (based on different nsis.conf) on the same machine?
No, this is not possible. Personally, I use QEMU to emulate virtual PCs on my laptop. These virtual PCs can be connected to form an virtual network. This way, you can model your topology and run it as if you really had this number of machines. If you wish, I can provide you with a QEMU harddisk image, which you only need to copy as many times as you want to have virtual machines. In addition I have a sample starting script showing how to build the virtual network. Interested?
Moreover I would to know if there are new versions of the NSIS implementation that interact with Mobile IP and that I can use.
Not to my knowledge.
Christian Dickmann
Hi Christian,
I would be really glad if you sent me QEMU, the starting script and anything that can help me.
Very thanks, Elena
Hi,
To use NSIS implementation I must use a real scenario (I mean that I must run the NSIS damon as much computers as are the nodes that are in my topology) or I can simulate it? The use of the alias interfaces are supported by the implementation? I can run, to simulate a scenario, different NSIS damons (based on different nsis.conf) on the same machine?
No, this is not possible. Personally, I use QEMU to emulate virtual PCs on my laptop. These virtual PCs can be connected to form an virtual network. This way, you can model your topology and run it as if you really had this number of machines. If you wish, I can provide you with a QEMU harddisk image, which you only need to copy as many times as you want to have virtual machines. In addition I have a sample starting script showing how to build the virtual network. Interested?
Moreover I would to know if there are new versions of the NSIS implementation that interact with Mobile IP and that I can use.
Not to my knowledge.
Christian Dickmann
To use NSIS implementation I must use a real scenario (I
mean that I
must run the NSIS damon as much computers as are the nodes
that are in
my topology) or I can simulate it? The use of the alias interfaces are supported by the implementation? I can run, to simulate a scenario, different NSIS damons (based on different nsis.conf) on the same machine?
No, this is not possible. Personally, I use QEMU to emulate virtual PCs on my laptop. These virtual PCs can be connected to form an virtual network. This way, you can model your topology and run it as if you really had this number of machines.
Then, it is possible to run different NSIS daemons using several virtual PCs in the same machine, isn't?
If you wish, I can provide you with a QEMU harddisk image, which you only need to copy as many times as you want to have virtual machines.
Which version of QEMU are you using?
In addition I have a sample starting script showing how to build the virtual network. Interested?
I also would be interested.
Regards,
Johnny
Bonjour,
Christian Dickmann a écrit :
Hi,
To use NSIS implementation I must use a real scenario (I mean that I must run the NSIS damon as much computers as are the nodes that are in my topology) or I can simulate it? The use of the alias interfaces are supported by the implementation? I can run, to simulate a scenario, different NSIS damons (based on different nsis.conf) on the same machine?
No, this is not possible. Personally, I use QEMU to emulate virtual PCs on my laptop. These virtual PCs can be connected to form an virtual network. This way, you can model your topology and run it as if you really had this number of machines. If you wish, I can provide you with a QEMU harddisk image, which you only need to copy as many times as you want to have virtual machines. In addition I have a sample starting script showing how to build the virtual network. Interested?
I could be also interested, even If I start the first test on User Mode Linux.
For this I write a simple quickstart documentation in a approximate english about testing NSIS ping and diag tool with a simple network with User Mode Linux, if this can help someone, it is possible to read it at : http://dept-info.labri.fr/~chardron/SLS/virtualization.html
Cordialement,
Salut Jean-Noel,
merci beaucoup pour tes explications à propos de la configuration UML. Ce serait d'un grand support de tester le NSIS. J'ai encore des difficultés dans l'exécution. Mais je propose que nous en discutions en l'anglais.
I've downloaded kernel 2.6.17 http://uml.nagafix.co.uk/kernels/kernel32-2.6.16.27-bs2 and root file system Fedora Core 5 http://uml.nagafix.co.uk/FedoraCore5/
Testing it I get this output:
$ ./vmlinux ubd0=cowA,./FedoraCore5-x86-root_fs con=null con0=xterm xterm='gnome-terminal,-t,-x' umid=A Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Checking for tmpfs mount on /dev/shm...OK Checking PROT_EXEC mmap in /dev/shm/...OK Checking for the skas3 patch in the host: - /proc/mm...not found - PTRACE_FAULTINFO...not found - PTRACE_LDT...not found UML running in SKAS0 mode Adding 33316864 bytes to physical memory to account for exec-shield gap Using a channel type which is configured out of UML
$
The following cmd-line option works. Linux is starting up in the initial console. No other consoles are opened.
$ ./vmlinux ubd0=./FedoraCore5-x86-root_fs
according to 'ps aux' there should be 6 consoles. Do I have to apply the Skas-Patch to the host-kernel?
Bernd
Jean-Noel Chardron wrote:
Bonjour,
Christian Dickmann a écrit :
Hi,
To use NSIS implementation I must use a real scenario (I mean that I must run the NSIS damon as much computers as are the nodes that are in my topology) or I can simulate it? The use of the alias interfaces are supported by the implementation? I can run, to simulate a scenario, different NSIS damons (based on different nsis.conf) on the same machine?
No, this is not possible. Personally, I use QEMU to emulate virtual PCs on my laptop. These virtual PCs can be connected to form an virtual network. This way, you can model your topology and run it as if you really had this number of machines. If you wish, I can provide you with a QEMU harddisk image, which you only need to copy as many times as you want to have virtual machines. In addition I have a sample starting script showing how to build the virtual network. Interested?
I could be also interested, even If I start the first test on User Mode Linux.
For this I write a simple quickstart documentation in a approximate english about testing NSIS ping and diag tool with a simple network with User Mode Linux, if this can help someone, it is possible to read it at : http://dept-info.labri.fr/~chardron/SLS/virtualization.html
Cordialement,
Nsis_Imp mailing list Nsis_Imp@informatik.uni-goettingen.de https://user.informatik.uni-goettingen.de/mailman/listinfo/nsis_imp
hello Bernd
Sorry for this answer so late, I was on hollidays, I went back only this week.
Bernd Schloer a écrit :
Salut Jean-Noel,
merci beaucoup pour tes explications à propos de la configuration UML. Ce serait d'un grand support de tester le NSIS. J'ai encore des difficultés dans l'exécution. Mais je propose que nous en discutions en l'anglais.
I've downloaded kernel 2.6.17 http://uml.nagafix.co.uk/kernels/kernel32-2.6.16.27-bs2 and root file system Fedora Core 5 http://uml.nagafix.co.uk/FedoraCore5/
Testing it I get this output:
$ ./vmlinux ubd0=cowA,./FedoraCore5-x86-root_fs con=null con0=xterm xterm='gnome-terminal,-t,-x' umid=A Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Checking for tmpfs mount on /dev/shm...OK Checking PROT_EXEC mmap in /dev/shm/...OK Checking for the skas3 patch in the host:
- /proc/mm...not found
- PTRACE_FAULTINFO...not found
- PTRACE_LDT...not found
UML running in SKAS0 mode Adding 33316864 bytes to physical memory to account for exec-shield gap Using a channel type which is configured out of UML
$
I suppose you are logged with you user login and not with root login so you can get trouble with the cow file if you are not able to write in the directory where you launch the uml process. To exclude this problem you can change the location of the cow file in remplacing the ubd0=cowA,... in ubd0=/tmp/cowA,... or ubd0=$HOME/cowA,... ($HOME is as I hope your home directory for your login where you are able to read,write, and go through) An another problem that can annoying the start of uml is the virtual console so you can exclude the directive of xterm='gnome-terminal...' to launch the process in a classic xterm console
The following cmd-line option works. Linux is starting up in the initial console. No other consoles are opened.
$ ./vmlinux ubd0=./FedoraCore5-x86-root_fs
Yes, no other consoles are opened, so if you want three uml instances you need to start, before lanching uml, three consoles so it's for me easier to launch uml with virtual console
according to 'ps aux' there should be 6 consoles. Do I have to apply the Skas-Patch to the host-kernel?
I didn't do it, I am in SKAS0 mode
below is the trace of my uml instance with the uml in a virtual xterm console [noel@localhost uml]$ ./um32-2.6.16-release-mod/vmlinux ubd0=~noel/cows,./FedoraCore5-x86-root_fs con=null con0=xterm umid=sni Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checking advanced syscall emulation patch for ptrace...OK Checking for tmpfs mount on /dev/shm...OK Checking PROT_EXEC mmap in /dev/shm/...OK Checking for the skas3 patch in the host: - /proc/mm...not found - PTRACE_FAULTINFO...not found - PTRACE_LDT...not found UML running in SKAS0 mode Adding 15945728 bytes to physical memory to account for exec-shield gap
Bernd
have a good day regards,
jean-noël
nsis_imp@informatik.uni-goettingen.de