Giter VIP home page Giter VIP logo

Comments (2)

mfld-fr avatar mfld-fr commented on June 12, 2024

The simplest way is to use the host-to-guest forwarding of the user VLAN, and dump the forwarded packets, with the options:

-net user,hostfwd=tcp:127.0.0.1:2323-10.0.2.15:23 -net dump

After starting QEMU, one can use telnet on the host and to try to connect to the redirected port on host side:

telnet 127.0.0.1 2323

The connection (at this stage of development on ELKS networking) will fails, but one can see in the dump the internal NAT router (10.2.0.2) trying to forward to the guest (10.0.2.15), starting with ARP requests to find the right MAC address where to actually send the packets for IP 10.0.2.15:

tcpdump -r qemu-vlan0.pcap

So the guest (actually KTCP) should first respond to that ARP requests, so the router could then forward the TCP packets from the host, and forward the replies to the telnet client on the host.

from elks.

georgp24 avatar georgp24 commented on June 12, 2024

I suggest that these instructions go into the proposed readme-ne2k file.

from elks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.