{"id":51,"date":"2010-07-05T09:00:52","date_gmt":"2010-07-05T09:00:52","guid":{"rendered":"http:\/\/rtechblog.psg.com\/?p=51"},"modified":"2010-07-05T09:16:16","modified_gmt":"2010-07-05T09:16:16","slug":"dynamips-and-dynagen-what-i-have-learned-so-far","status":"publish","type":"post","link":"https:\/\/rtechblog.rg.net\/?p=51","title":{"rendered":"Dynamips and Dynagen &#8211; What I Have Learned so Far"},"content":{"rendered":"<p>I was easily able to run two 7200s on my MacBook Pro, though it is fairly beefy for a laptop, having 8G RAM etc.  It turns out that the Dynagen needs to be told to use RAM as opposed to disk, e.g.<br \/>\n    <code><strong>mmap = false<\/strong><\/code><\/p>\n<p>The two routers could easily run IS-IS and BGP between them.<\/p>\n<p>One can configure just about any kind of interface, so one can emulate a real configuration.<\/p>\n<p>It is easy to connect to the outside world, just do something in the family of<br \/>\n    <code><strong>[[ROUTER R1]]<br \/>\n    f0\/0 = NIO_gen_eth:en0<\/strong><\/code><br \/>\n(any interface will do), and then configure the specified interface on the router for a real IP on your local LAN and it just bridges out.  Note that this did not seem to work when my Mac was on WiFi, only on Ethernet.  I suspect it has something to do with the MacOS X&#8217;s WiFi, the dreaded proxy ARP, and bridging.  But I really did not take the time to debug it.  I imagine hard-wired Ethernet will still be around for a year or two.<\/p>\n<p>This allowed me to trivially multi-hop BGP peer with one of my real routers, r0.sea, the 7200 in the Westin.  But, if I configured R1 as a 7200 with an NPE-400 and 512MB of RAM, it would crash before it loaded a full feed.  If I configured it as an NPE-G2, G1 is not available, the configuration would not come up in Dynagen, and crashed out.  While I am not sure I need a full feed to my MacBook :), it would be nice for certain things.<\/p>\n<p>All in all, this looks like a cool tool, and I plan to keep it around.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was easily able to run two 7200s on my MacBook Pro, though it is fairly beefy for a laptop, having 8G RAM etc. It turns out that the Dynagen needs to be told to use RAM as opposed to disk, e.g. mmap = false The two routers could easily run IS-IS and BGP between [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,9],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-macintosh","category-routers"],"_links":{"self":[{"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":12,"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rtechblog.rg.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}