Hi Jiuyue,

I added ethertap in FSConfig.py as self.ethertap = EtherTap(). I noticed
that it opens the port 3500 on the local host. What does EtherTap do if I
send the data on port 3500?

Shall I run socat on simulated OS or the host OS? What socket I should bind
to whom, using socat?

Thanks.
Regards,

Best Regards, Hassan

TIP HANA Cloud Computing, Systems Engineering

*SAP (UK) Limited   *|   The Concourse, Queen's Rd, Queen's Island, Titanic
Quarter   |   BT3 9DT Belfast   |   UK


On 26 June 2014 00:07, 马久跃 via gem5-users <[email protected]> wrote:

> Hi Ahmad,
>
> you may try ethertap device + socat tool, they can connect gem5 to host
> machine. but you need some modify to ethertap to make it work with socat.
>
> Jiuyue
>
> 在 2014年6月25日,20:58,"Andreas Hansson via gem5-users" <[email protected]>
> 写道:
>
> Hi Ahmad,
>
>  There is currently no such functionality in gem5, and networking is only
> supported within one simulator instance. At the moment you can connect two
> systems (as there is no ethernet switch), but on the developer list there
> has been discussions mentioning ongoing work to create an Ethernet switch,
> which would allow more systems (>2) to communicate over Ethernet.
>
>  Coming back to your original question, the tricky part with host
> bridging/NATing is the different time scales. The simulated system is
> perhaps 1.000 - 10.000x slower than the host system, and this difference in
> time scale confuses the TCP/IP stack(s). Also, having an external network
> connection will make simulations non-deterministic, which is often
> undesirable. All this said, if you have ideas of how to make it work,
> please feel free to share and discuss on the list.
>
>  Andreas
>
>   From: Ahmad Hassan via gem5-users <[email protected]>
> Reply-To: Ahmad Hassan <[email protected]>, gem5 users mailing list <
> [email protected]>
> Date: Wednesday, 25 June 2014 04:55
> To: gem5 users mailing list <[email protected]>
> Subject: [gem5-users] Configure networking in Gem5 X86 FS
>
>    Hi,
>
>  I have set up eth0 interface in X86 FS mode through e1000 driver. But I
> cannot SSH or ping the the host machine or any other IP or the network. I
> noticed that GEM5 does not create any bridge/NAT on the host machine.
>
>  How can I configure networking in gem5 so that I can SSH from any machine
> on the network or the host machine into gem5 X86 FS Ubuntu?
>
>  Thanks.
>
>  -Ahmad
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2557590
> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2548782
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to