Giter VIP home page Giter VIP logo

quagga-eigrp's People

Contributors

avnshs avatar balajig avatar ccaputo avatar cfra avatar diivious avatar dpward avatar edgecase14 avatar eqvinox avatar fabled avatar feng-lu avatar frantisekgazo avatar freichmann avatar hasso avatar haussli avatar infrastation avatar j-andersson avatar janjanovicsk avatar jech avatar joakim-tjernlund avatar jrrivers avatar kwopor avatar martinkontsek avatar matthew54 avatar mhlambert avatar pjakma avatar skwerewolf avatar tejblum avatar udhos avatar vincentbernat avatar vipkumar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quagga-eigrp's Issues

eigrp_metrics_is_same function

There is a bug in eigrp_network.c:440.
if ((metric1->bandwith = metric2->bandwith)
I think you want to write a " == "?

EIGRP routes not installed by the zebra daemon into the kernel routing table

I have a very simple network (see attached)
screenshot from 2017-01-10 17-39-28
Looking into the EIGRP topology on node n1 (upper left hand corner) shows:
n1# show ip eigrp topology

A.B.C.D Netwok to display information about
A.B.C.D/nn IP prefix /, e.g., 192.168.0.0/16
all-links Show all links in topology table
detail Show all links in topology table
summary Show a summary of the topology table
n1# show ip eigrp topology all-links

EIGRP Topology Table for AS(1)/ID(192.168.0.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply
r - reply Status, s - sia Status

P 192.168.0.0/24, 1 successors, FD is 256256, serno: 0
via Connected, eth0
P 192.168.1.0/24, 1 successors, FD is 256256, serno: 0
via Connected, eth1
via 192.168.0.2 (258256/257256), eth0
P 192.168.2.0/24, 1 successors, FD is 257256, serno: 0
via 192.168.1.2 (257256/256256), eth1 <-- FEASIBILITY CONDITION IS MET
via 192.168.0.2 (258256/257256), eth0
A 192.168.3.0/24, 1 successors, FD is 5000, serno: 0
via 192.168.1.2 (7000/6000), eth1
via 192.168.0.2 (9000/8000), eth0
P 192.168.4.0/24, 1 successors, FD is 1000, serno: 0
via 192.168.1.2 (1000/0), eth1 <-- FEASIBILITY CONDITION IS MET
A 192.168.5.0/24, 1 successors, FD is 5000, serno: 0
via 192.168.1.2 (7000/6000), eth1
via 192.168.0.2 (9000/8000), eth0

However, when I am looking at kernel routing table, not all the routes (discovered by EIGRP) are present (see below)
n1# exit
root@n1:/tmp/pycore.42477/n1.conf# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.2.0 192.168.1.2 255.255.255.0 UG 257256 0 0 eth1

The same is true for other nodes. Doing some google searches, I came across this blog entry
(http://brezular.com/2016/09/02/quagga-routing-software-with-eigrp-routing-protocol/) which discusses the same issue. Delaying the start of the EIGRP daemon did not solve the problem for me (as it seems to have done - in same cases - for the author of the blog); I even waited up to 1 minute after the start of the zebra daemon to start the EIGRP daemon.
For completeness, here is the EIGRP configuration of the n1 node:
n1# show running-config
Building configuration...

Current configuration:
!
log file /var/log/eiprg.log
!
service integrated-vtysh-config
!
interface eth0
ip hello-interval eigrp 1
ip hold-time eigrp 3
ipv6 nd suppress-ra
!
interface eth1
ip hello-interval eigrp 1
ip hold-time eigrp 3
ipv6 nd suppress-ra
!
interface lo
!
router eigrp 1
eigrp router-id 192.168.0.1
network 192.168.0.1/24
network 192.168.1.1/24
!
ip forwarding
ipv6 forwarding
!
line vty
!
end

Am I missing something?

thanks,
-silviu

Is it a bug?

Hello!
These days, I use the Eigrp protocol in dce-ns3, but it has some errors. I find the REPLY packet has wrong data. So I see the souce codes.
And I find there a function -- eigrp_fsm_event_keep_state in the file named eifrp_fsm.c. In here, one line code is eigrp_send_reply(msg->adv_router, msg->entry);. But I find the declaration of eigrp_send_reply is eigrp_send_reply (struct eigrp_neighbor *nbr, struct eigrp_prefix_entry *pe).
Obviously, the type of msg->entry is different from the type of pe.

If you want to convert the point, it will wrong. Because there is a pointer to struct eigrp_prefix_entry rather than a struct variable in struct eigrp_neighbor_entry.
So what does it means? Is it a bug?
If I have something wrong, please tell me. Thanks a lot!

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.