routing protocols

in CCNA & CCENT
I've been wondering, Is a routing protocol a program running on the router, or part of the IOS kernel? how many lines of code would the most simple (RIPv1) protocol be?
Comments
-
dandeguire Member Posts: 4 ■□□□□□□□□□
That's an interesting question. I just did a show processes on my 3845. I'm running both RIP and EIGRP at the moment for some testing. It showed a "RIP Router" process and a "IEGRP Router" process. My guess would be that they are separate programs. -
hypnotoad Banned Posts: 915
I bet you could find an open-source RIPv1 project and see how the code works. There are probably some pretty lightweight implementations out there. -
dynamik Banned Posts: 12,312 ■■■■■■■■■□
http://www.ietf.org/rfc/rfc1058.txt would probably give you a good idea of what's involved.
I'm not sure if Vyatta publishes their code or not, but you might want to look around there: Vyatta Open Networking - The Open-Source Alternative to Cisco