Coder Social home page Coder Social logo

Comments (5)

glazychev-art avatar glazychev-art commented on July 30, 2024 2

I don't think that

docker network disconnect kind kind-worker2
docker network connect kind kind-worker2

is the same as up/down interface. I did that and I got:
before:

77: eth2@if78: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:12:00:05 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.18.0.5/16 brd 172.18.255.255 scope global eth2
       valid_lft forever preferred_lft forever
    inet6 fc00:f853:ccd:e793::5/64 scope global nodad 
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe12:5/64 scope link 
       valid_lft forever preferred_lft forever

after:

79: eth3@if80: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:ac:12:00:05 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.18.0.5/16 brd 172.18.255.255 scope global eth3
       valid_lft forever preferred_lft forever
    inet6 fc00:f853:ccd:e793::5/64 scope global nodad 
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe12:5/64 scope link 
       valid_lft forever preferred_lft forever

This is not the same interface. It has different name and different ID.
I think this is the same as changing the NIC, but setting the same address.

I think these commands are more correct:

docker exec kind-worker ip link set eth0 down
docker exec kind-worker ip link set eth0 up

As for the problem, it looks like this is the same - #927
We found some bugs and are now preparing fixes

from cmd-forwarder-vpp.

szvincze avatar szvincze commented on July 30, 2024

Is there a document or presentation material that would explain how the interface and the related events are handled?

Based on our observation the changes of the admin/operational state of the host interface reflected immediately by the forwarder. So, it would be interesting to know how the detection works. Is it event driven or done by a detection mechanism?

from cmd-forwarder-vpp.

szvincze avatar szvincze commented on July 30, 2024

That's very good news. Have you seen similar symptoms on the host interface like in case of #927?
I mean RX counters are not increasing or not printed out in vppctl show interface.

from cmd-forwarder-vpp.

glazychev-art avatar glazychev-art commented on July 30, 2024

Yes, I restarted the forwarders several times and the problem is reproduced.
But in fact, I see that TX is not increasing..

from cmd-forwarder-vpp.

NikitaSkrynnik avatar NikitaSkrynnik commented on July 30, 2024

Checked the setup several times and couldn't reproduce the bug

from cmd-forwarder-vpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.