Hello, replying to this thread: http://www.mail-archive.com/gem5-users%40gem5.org/msg10189.html
/Hi Ahmad,/ /3500 port provided by ethertap is a "virtual ethernet tunnel" (google TAP/TUN), / /you can send/recv ethernet packet to/from gem5./ /socat can bind this port to a virtual ethernet device on host os./ /you need to do followings to make this work:/ /1) connect Ethernet device to ethertap.tap port using EtherLink, maybe you have / /to add "tap" port to py file yourself (see getSlavePort() in ethertap.cc)/ /2) run socat on host os, bind localhost:3500 to tap device (I forgot the / /parameter, you may google it), this will create a virtual ethernet device / /"tapX" at host os, you can config ip to it as other ethernet device/ /3) you also need some modify to send/recv in ethertap cxx source, current impl / /send data using a loop which cause checksum failed and packet dropped at host / /kernel. I'll post this patch next week./ /Jiuyue/ Could you please send the steps of the above procedure in more detail? Thank you in advance, Antonis -- --------------------------------------------------------------------- Antonis Nikitakis Post-doc Research Associate Technical University of Crete, Greece Electronic and Computer Engineering Department (ECE) (www.ece.tuc.gr) MHL Laboratory (www.mhl.tuc.gr) --------------------------------------------------------------------- Info: CV:http://users.isc.tuc.gr/~anikitakis/ Linkedin:http://gr.linkedin.com/pub/antonis-nikitakis/20/441/625/ FB:facebook.com/anikitakis ---------------------------------------------------------------------
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
