Opened 9 years ago

Closed 8 years ago

#667 closed defect (duplicate)

Ping not working

Reported by: Stanislav Gálfy Owned by:
Priority: major Milestone:
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also: #672

Description

After revision number 2343(Merge network transport layer API rewrite) ping both in and out of helenos is not working. Until revision 2353 it is not possible to configure network, so this is the revision used for testing. Revision 2342 is the last one where everything works properly. Tested using qemu-system-i386 (v2.5.0) for both helenos and unix machine(tested with Core v7.0 and Ubuntu 14.04.1 LTS). Virtual machines were connected using vde2.

Change History (3)

comment:1 by Jakub Jermář, 9 years ago

Pinging 10.0.2.2 from HelenOS using the default amd64 build, current mainline and the standard tools/ew.py script to start QEMU (which uses -net user) seems to work well.

comment:2 by Stanislav Gálfy, 8 years ago

Script i am running:

#!/bin/bash

vde_switch -s /tmp/switch1 &

qemu-system-i386 -cdrom helenos_image.iso \

-net nic,vlan=1,macaddr=ca:fe:ba:be:00:01 \
-net vde,vlan=1,sock=/tmp/switch1 \
-m 128 \
-name helenos_1 &

qemu-system-i386 -cdrom helenos_image.iso \

-net nic,vlan=2,macaddr=ca:fe:ba:be:00:02 \
-net vde,vlan=2,sock=/tmp/switch1 \
-m 128 \
-name helenos_2

helenos_1 configuration:
inet create 10.0.10.10/24 net/eth1 myaddr

helenos_2 configuration:
inet create 10.0.10.11/24 net/eth1 myaddr

running ping from helenos_1 when the provided image "helenos_image.iso" is image from before revision 2343:
ping 10.0.10.11
Sending ICMP echo request from 10.0.10.10 to 10.0.10.11 (10.0.10.11) (Ctrl+Q to quit)
Received ICMP reply: 10.0.10.10 to 10.0.10.11, seq. no 1, payload size 3

running ping from helenos_1 when the provided image "helenos_image.iso" is image from revision after 2343 including:
ping 10.0.10.11
Sending ICMP echo request from 10.0.10.10 to 10.0.10.11 (10.0.10.11) (Ctrl+Q to quit)
Failed sending echo request: No such entry (-1).
Echo request timed out (seq. no 1)

comment:3 by Jakub Jermář, 8 years ago

Resolution: duplicate
See also: #672
Status: newclosed
Note: See TracTickets for help on using tickets.