Giter Club home page Giter Club logo

Comments (2)

tarelda avatar tarelda commented on August 16, 2024

I setup very simple test bench. I added static ARPs for next hops in my routes. Forwarding actually occurs, but for some reason data that ingress is untagged but on the other end ends up in vlan 1892.
neigh ipv4 output looks weird:
hw addr(00:00:00:00:00:00) addr(255.255.255.255) action 2 state 0 vlan -1 port 65535
hw addr(00:00:00:00:00:00) addr(0.0.0.0) action 2 state 0 vlan -1 port 65535
hw addr(00:00:00:00:00:00) addr(10.0.0.2) action 3 state 0 vlan 0 port 0
hw addr(00:00:00:00:00:00) addr(10.0.1.2) action 3 state 0 vlan 0 port 1
hw addr(00:1B:21:BF:E2:DE) addr(10.0.1.1) action 1 state 128 vlan 14180 port 1
hw addr(00:1B:21:BF:E2:DC) addr(10.0.0.1) action 1 state 128 vlan 14180 port 0
hw addr(00:1B:21:BF:E2:DE) addr(48.0.0.1) action 1 state 4 vlan 14180 port 1

from packet-journey.

tarelda avatar tarelda commented on August 16, 2024

I guess I am on right track. I found offending line:

unsigned kni_vlan;

Variable kni_vlan is not initialized, thus weird vlan values. That fixes issue if arp entries are added manually or other side also makes contact, but still for some reason packet-journey doesn't even try to find neighbour.

from packet-journey.

Related Issues (17)

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.