Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My imagine network (using marionnet) looks like that:

m1[eth0 192.168.1.1/26] 
switch 
m2[eth0 192.168.1.2/26] [eth1 192.168.2.1/28]
switch 
m2[eth0 192.168.2.2/28]

I can ping from any machine to another. Now I want to:

  1. run telnet on m1.
  2. run ssh on m3.
  3. connect from m3 to m1 using telnet.
  4. start capturing packets and writing to the file from m2 using tcpdumy.
  5. make a few commands on m1 through telnet session.
  6. stop capturing packets
  7. disconnect telnet session
  8. stop telnet server on m1
  9. start capturing packets on m2, but this time writing to other file.
  10. connect from m1 to m3 using ssh
  11. make a few commands.
  12. stop capturing packets

But I stayed at the beginning. What I've done:

on m1:

$ xinetd start
$ nmap 192.168.1.1
...
All ports are closed
...

on m2:

$ dropbear start
$ telnet 192.168.1.1

Which results in this message:

unable to connect to remote host: Connection refused

$ nmap 192.168.2.2
...
All ports are closed
...
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.