Hello Sylvain.
Below the information asked by you. Thanks in advance!
Norberto


>>>>>>>>>> VM#1 (with lwip app):

[root@vmGoes-fedora norberto]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.080027c07dab no p2p1
tap0
[root@vmGoes-fedora norberto]#
[root@vmGoes-fedora norberto]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: p2p1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master br0 state UP qlen 1000
    link/ether 08:00:27:c0:7d:ab brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a00:27ff:fec0:7dab/64 scope link
       valid_lft forever preferred_lft forever
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 08:00:27:c0:7d:ab brd ff:ff:ff:ff:ff:ff
    inet 169.254.8.218/16 brd 169.254.255.255 scope global br0
    inet6 fe80::7084:1aff:fe21:998f/64 scope link
       valid_lft forever preferred_lft forever
5: tap0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master br0 state UNKNOWN qlen 500
    link/ether 8e:f4:c4:a8:9a:c8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::8cf4:c4ff:fea8:9ac8/64 scope link
       valid_lft forever preferred_lft forever
[root@vmGoes-fedora norberto]#
[root@vmGoes-fedora norberto]# ip r s
169.254.0.0/16 dev br0  proto kernel  scope link  src 169.254.8.218
[root@vmGoes-fedora norberto]#

>>>>>>>>>> VM#2 (ping executor):

[root@vmGoes-fedora2 norberto]# brctl show
bridge name bridge id STP enabled interfaces
[root@vmGoes-fedora2 norberto]#
[root@vmGoes-fedora2 norberto]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: p2p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 08:00:27:a8:38:00 brd ff:ff:ff:ff:ff:ff
    inet 169.254.4.39/16 brd 169.254.255.255 scope global p2p1
    inet6 fe80::a00:27ff:fea8:3800/64 scope link
       valid_lft forever preferred_lft forever
[root@vmGoes-fedora2 norberto]#
[root@vmGoes-fedora2 norberto]# ip r s
169.254.0.0/16 dev p2p1  proto kernel  scope link  src 169.254.4.39
224.0.0.0/4 dev p2p1  proto static
[root@vmGoes-fedora2 norberto]#









2015-01-29 21:32 GMT-02:00 Sylvain Rochet <[email protected]>:

> Hello Norberto,
>
> On Thu, Jan 29, 2015 at 04:42:06PM -0200, Norberto R. de Goes Jr. wrote:
> > Hi All.
> >
> > I have the following environment:
> >
> > - host Windows-7 Professional, 64 bits, with two virtual machines
> (Virtual
> > Box), both  with Fedora-17 Distro, 32 bits;
> > - the VM´s network configured as "Internal Network"
> >
> > I wrote a small "lwip application" based on unix port (community). It
> runs
> > in VM #1 and a "tap0" device is created with success. In the VM#2 no
> > application is running.
> >
> > When I "ping" the tap0 IP from the VM#1 the reply is received, no
> problem.
> > I can see the traces reported by lwip like arp received and arp reply.
> But
> > when I "ping" the tap0 from VM#2 I have no answer.
> >
> > Faced with the situation, I followed the steps suggested by another
> solved
> > threads from this list, for instance:
> > - http://lists.nongnu.org/archive/html/lwip-users/2004-08/msg00006.html
> > - http://lists.nongnu.org/archive/html/lwip-users/2012-02/msg00021.html
> > Basically, the threads show how to configure a linux bridge (br0) and
> your
> > attached devices.
> >
> > But I did not get success still. The pings from VM#2 go from the ethernet
> > to the "br0"(VM#1) device and after to the "tap0" device. There the lwIP
> > generates an answer and sends it to the asking host. But then the
> packages
> > disappear. They do not go back to the "br0" device (seen with dcpdump).
> >
> > Please, are there any restriction in use the lwip library in virtual
> > machines hosted on the same server? More specifically with linux bridge
> use?
>
> Please send the "brctl show" as well as "ip a s" and "ip r s" on both
> machines.
>
> Sylvain
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>



-- 
Norberto R. de Goes Jr.
CPqD - DRC
Tel.: +55 19 3705-4241 / Fax: +55 19 3705-6125
[email protected] <[email protected]>
www.cpqd.com.br
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to