<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-15945726.post1243667935497254339..comments</id><updated>2010-05-16T13:33:53.418-04:00</updated><title type='text'>Comments on Val(config)#: How to generate lots of BGP routes</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.glinskiy.com/feeds/1243667935497254339/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default'/><link rel='alternate' type='text/html' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html'/><author><name>V. Glinskiy</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-15945726.post-4163923997640345146</id><published>2010-05-16T13:33:53.406-04:00</published><updated>2010-05-16T13:33:53.406-04:00</updated><title type='text'>Yes you are right, i have just noticed it in the c...</title><content type='html'>Yes you are right, i have just noticed it in the comments section from the copy/paste tmp file that i used from the previous post.&lt;br /&gt;&lt;br /&gt;BR&lt;br /&gt;ios46</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/4163923997640345146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/4163923997640345146'/><link rel='alternate' type='text/html' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html?showComment=1274031233406#c4163923997640345146' title=''/><author><name>Iordanidis</name><uri>http://www.blogger.com/profile/04073696663196110122</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html' ref='tag:blogger.com,1999:blog-15945726.post-1243667935497254339' source='http://www.blogger.com/feeds/15945726/posts/default/1243667935497254339' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-15945726.post-1329839579227662835</id><published>2010-05-16T12:54:31.495-04:00</published><updated>2010-05-16T12:54:31.495-04:00</updated><title type='text'>Thanks for pointing this out. I do assign $octet2=...</title><content type='html'>Thanks for pointing this out. I do assign $octet2=0, but because of blogger unfortunate formatting it ended up on the same string as &amp;quot;if ($octet1 ==127)&amp;quot; and looked like a comment</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/1329839579227662835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/1329839579227662835'/><link rel='alternate' type='text/html' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html?showComment=1274028871495#c1329839579227662835' title=''/><author><name>V. Glinskiy</name><uri>http://www.blogger.com/profile/03968645347123276800</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17740504827361569465'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html' ref='tag:blogger.com,1999:blog-15945726.post-1243667935497254339' source='http://www.blogger.com/feeds/15945726/posts/default/1243667935497254339' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-15945726.post-5480537427331586112</id><published>2010-05-16T12:26:52.041-04:00</published><updated>2010-05-16T12:26:52.041-04:00</updated><title type='text'>...Well you need to increment the counter (route_c...</title><content type='html'>...Well you need to increment the counter (route_count++ for every iteration)..how else you will compare it with var max_routes ?. What i just changed is a assign to octet2 and initial value ($octet2=0, under the if statement for 127 equality). Without it there is no initial value for that variable and the first network (rand(223).x.y.z/24) in x [octet2] gets created as null (rand(223)..y.z/24). Nice, easy and practical stuff. An alternative could be found here:http://www.gossamer-threads.com/lists/quagga/users/19727&lt;br /&gt;&lt;br /&gt;BR&lt;br /&gt;ios46</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/5480537427331586112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/5480537427331586112'/><link rel='alternate' type='text/html' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html?showComment=1274027212041#c5480537427331586112' title=''/><author><name>Iordanidis</name><uri>http://www.blogger.com/profile/04073696663196110122</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html' ref='tag:blogger.com,1999:blog-15945726.post-1243667935497254339' source='http://www.blogger.com/feeds/15945726/posts/default/1243667935497254339' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-15945726.post-1369024630329062589</id><published>2009-10-19T07:30:38.329-04:00</published><updated>2009-10-19T07:30:38.329-04:00</updated><title type='text'>Thanks. Somehow, when I copy-paste'd it, I missed ...</title><content type='html'>Thanks. Somehow, when I copy-paste&amp;#39;d it, I missed $route_count++ line.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/1369024630329062589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/1369024630329062589'/><link rel='alternate' type='text/html' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html?showComment=1255951838329#c1369024630329062589' title=''/><author><name>V. Glinskiy</name><uri>http://www.blogger.com/profile/03968645347123276800</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17740504827361569465'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html' ref='tag:blogger.com,1999:blog-15945726.post-1243667935497254339' source='http://www.blogger.com/feeds/15945726/posts/default/1243667935497254339' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-15945726.post-5215078757825770015</id><published>2009-10-19T06:30:39.131-04:00</published><updated>2009-10-19T06:30:39.131-04:00</updated><title type='text'>hi dude, somewhere in this script you will need to...</title><content type='html'>hi dude, somewhere in this script you will need to increment $route_count otherwise it loops forever</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/5215078757825770015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/5215078757825770015'/><link rel='alternate' type='text/html' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html?showComment=1255948239131#c5215078757825770015' title=''/><author><name>ahotbot - My notes to the CCIE RS</name><uri>http://www.blogger.com/profile/09574471009620423857</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html' ref='tag:blogger.com,1999:blog-15945726.post-1243667935497254339' source='http://www.blogger.com/feeds/15945726/posts/default/1243667935497254339' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-15945726.post-4248945567849554871</id><published>2009-10-19T06:30:23.819-04:00</published><updated>2009-10-19T06:30:23.819-04:00</updated><title type='text'>hi dude, somewhere in this script you will need to...</title><content type='html'>hi dude, somewhere in this script you will need to increment $route_count otherwise it loops forever</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/4248945567849554871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15945726/1243667935497254339/comments/default/4248945567849554871'/><link rel='alternate' type='text/html' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html?showComment=1255948223819#c4248945567849554871' title=''/><author><name>ahotbot - My notes to the CCIE RS</name><uri>http://www.blogger.com/profile/09574471009620423857</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.glinskiy.com/2009/10/how-to-generate-lots-of-bgp-routes.html' ref='tag:blogger.com,1999:blog-15945726.post-1243667935497254339' source='http://www.blogger.com/feeds/15945726/posts/default/1243667935497254339' type='text/html'/></entry></feed>