Hi Yasir,

Can you try:

Server:
/sbin/ifconfig eth0 hw ether 00:90:00:00:00:01
/sbin/ifconfig eth0 10.0.0.2 netmask 255.255.255.0 up

Client:
/sbin/ifconfig eth0 hw ether 00:90:00:00:00:02
/sbin/ifconfig eth0 10.0.0.3 netmask 255.255.255.0 up


And then try to ping?


Best,
Mohammad

On Tue, Nov 22, 2016 at 6:26 AM, Qureshi Yasir Mahmood <
[email protected]> wrote:

> Hi,
>
>
>
> I am running a Dist GEM-5 simualtion with two nodes, one as server and the
> other as client. I also have a switch in between them.
>
>
>
> I have an etherlink (DistEtherLink) between them. The problem is that I
> can’t ping the server from the client side and vice-versa. So there is no
> communication between both nodes. Any ideas why is this so ? I use the
> following command to launch the simulation
>
>
>
> bash $DIST_M5/util/dist/gem5-dist.sh  -n 2 -r $DIST_M5/rundir -c
> $DIST_M5/ckptdir  -s $DIST_M5/configs/dist/sw.py  -f
> $DIST_M5/configs/example/fs.py --fs-args --kernel=$M5_PATH/binaries/vmlinux
> --machine-type=VExpress_GEM5_V1 --dtb-file=/home/yqureshi/
> gem5/system/arm/dt/armv8_gem5_v1_1cpu.dtb 
> --disk-image=$M5_PATH/disks/websearch_srv_clt.img
> --cpu-clock=2GHz --mem-type=DDR4_2400_x64 --mem-ranks=4 --mem-size=16GB
> --sys-clock=1600MHz --num-cpus=2 --cf-args --ethernet-linkdelay=10us
> --ethernet-linkspeed=10Gbps -x $DIST_M5/build/ARM/gem5.fast
>
>
>
> To configure the IP addresses, I run the following on server and client
> sides
>
>
>
> On Server:
>
> ifconfig enp0s1 172.19.0.2 netmask 255.255.255.0
>
> route add default gw 172.19.0.3 enp0s1
>
>
>
> On client:
>
> ifconfig enp0s1 172.19.0.3 netmask 255.255.255.0
>
> route add default gw 172.19.0.2 enp0s1
>
>
>
>
>
> Regards
>
> Yasir Mahmood
>
>
>
> _______________________________________________
> 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