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]<mailto:[email protected]>>
Reply-To: Ahmad Hassan <[email protected]<mailto:[email protected]>>, 
gem5 users mailing list <[email protected]<mailto:[email protected]>>
Date: Wednesday, 25 June 2014 04:55
To: gem5 users mailing list <[email protected]<mailto:[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

Reply via email to