<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.mconstantin.eu.org/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blogging About .NET : Networks related</title><link>http://blogs.mconstantin.eu.org/cchrism/archive/category/8.aspx</link><description>Networks Related</description><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Build: 60404.2676)</generator><item><title>Running IPv6 on a router near you</title><link>http://blogs.mconstantin.eu.org/cchrism/archive/2006/10/08/1008.aspx</link><pubDate>Mon, 09 Oct 2006 04:54:00 GMT</pubDate><guid isPermaLink="false">84fa4630-d7f3-4739-a4ce-65ab18add461:1008</guid><dc:creator>cchrism</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.mconstantin.eu.org/cchrism/comments/1008.aspx</comments><wfw:commentRss>http://blogs.mconstantin.eu.org/cchrism/commentrss.aspx?PostID=1008</wfw:commentRss><wfw:comment>http://blogs.mconstantin.eu.org/rsscomments/1008.aspx</wfw:comment><description>I told you &lt;A href="http://blogs.mconstantin.eu.org/cchrism/archive/2006/10/01/979.aspx"&gt;before&lt;/A&gt; that I updated my WRT54GL router to DD-WRT. One of the neat things of this new firmware is IPv6 support. In case you do not know IPv6 is the next generation of IP protocol, which addresses a major problem nowadays, the fact that IPv4 addresses will most likely to run out in a few years.&lt;P/&gt; The setup is fairly simple, you enable two radio buttons in the DD-WRT web management interface, setup the RADVD and tunnel configuration according to &lt;A href="http://www.dd-wrt.com/wiki/index.php/IPv6"&gt;DD-WRT Wiki&lt;/A&gt; and enable IPv6 on your Windows XP / 2003 box. Simple to say, simple to do, but I ran into a few problems, the main one being the fact that I wasn't able to communicate with anything over IPv6 from computers connected to the router. After a little bit of digging I found out that the scripts and configuration on the DD-WRT wiki were a little bit wrong, and with a minor fix I was able to use IPv6 successfully. This made me to write this post as it might be helpful to someone in the future.&lt;P/&gt; In the original startup script &lt;B&gt;V6IPNET&lt;/B&gt; variable was wrongly computed along with the netmask on &lt;B&gt;V6IP&lt;/B&gt; which I think it should be /48, because 2002:x:y:z:w::1/16 is equivalent of 2002::/16, and the routing table would be wrong as it adds address on br0 interface and route also on br0. Anyway the modified script is presented below, and it works for me:   &lt;DIV&gt;&lt;CODE&gt;&lt;PRE&gt;sleep 5
  WANIP=$(ip -4 addr show dev vlan1 | grep 'inet ' | awk '{print $2}' | cut -d/ -f1)
  if [ -n "$WANIP" ]  then
   V6IP=$(printf '2002:%02x%02x:%02x%02x::1/48' $(echo $WANIP | tr . ' '))
   ip tunnel add tun6to4 mode sit ttl 255 remote any local $WANIP
   ip link set tun6to4 mtu 1280
   ip link set tun6to4 up
   ip addr add $V6IP dev br0
   ip -6 route add 2002::/16 dev tun6to4
   ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4
   kill -HUP $(cat /var/run/radvd.pid)
  fi  &lt;/PRE&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;P/&gt;
Additionally, you may want to modify the RADVD configuration to advertise prefix 0:0:0::/48 instead of 0:0:0:1::/64, to match the above script, but it is not necessary, as 0:0:0:1::/64 it is a subset of 0:0:0::/48.&lt;P/&gt; These modifications were inspired from &lt;A href="http://wiki.openwrt.org/IPv6_howto#head-22390d128ec029d35f54606bfa68964f2d67a717"&gt;OpenWRT wiki&lt;/A&gt;, where I found also an interesting &lt;A href="http://wiki.openwrt.org/IPv6_howto#head-e3a3af5ba5b2a7f8f19e50a41276f883d9374bc4"&gt;configuration tip&lt;/A&gt; on how to make Windows XP more IPv6 friendly, not to discriminate IPv6 protocol by favoring IPv4.&lt;P/&gt; If you are interested in IPv6 (and you should be as the change is near), you can find a lot of links for various operating systems at &lt;A href="http://www.manybytesago.com/index.php?title=IPv6"&gt;ManyBytesAgo&lt;/A&gt;.&lt;img src="http://blogs.mconstantin.eu.org/aggbug.aspx?PostID=1008" width="1" height="1"&gt;</description><category domain="http://blogs.mconstantin.eu.org/cchrism/archive/category/8.aspx">Networks related</category></item><item><title>Upgrading the WRT54GL</title><link>http://blogs.mconstantin.eu.org/cchrism/archive/2006/10/01/979.aspx</link><pubDate>Mon, 02 Oct 2006 03:42:00 GMT</pubDate><guid isPermaLink="false">84fa4630-d7f3-4739-a4ce-65ab18add461:979</guid><dc:creator>cchrism</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.mconstantin.eu.org/cchrism/comments/979.aspx</comments><wfw:commentRss>http://blogs.mconstantin.eu.org/cchrism/commentrss.aspx?PostID=979</wfw:commentRss><wfw:comment>http://blogs.mconstantin.eu.org/rsscomments/979.aspx</wfw:comment><description>&lt;P&gt;As I was &lt;A href="http://blogs.mconstantin.eu.org/cchrism/archive/2006/07/10/906.aspx"&gt;saying&lt;/A&gt; quite some time ago I decided to upgrading my router firmware. Originally, I wanted to buy this particular model, due it's upgradeability to a open source firmware. The upgrade was a little bit postponed due the fact my computer &lt;A href="http://blogs.mconstantin.eu.org/cchrism/archive/2006/09/20/978.aspx"&gt;decided to stop working&lt;/A&gt; so I finally managed to do it. If you ask me which were the primary reasons of the upgrade, well static DHCP allocation and SNMP daemon are in the top list. If Linksys would add these feature in the stock firmware, right now I would not add this post. Static DHCP allocation is a very nice feature these days, as you can reshuffle your network (I mean especially in a more business scenario) without touching all the computers/devices out there, but eliminates the disadvantages of changing the device address without any reasons, or not having a predictable numbering scheme. As I said these are quite important in a business scenario, but even at home if you have more than a few devices it worths. Actually, I had a problem with the stock firmware that if I unplugged the router all the devices would have new addresses that usually are not the same, depending which device was faster to request addresses. &lt;/P&gt;
&lt;P&gt;The next feature I do not think requires much explanation: graphing the network traffic is quite essential in pinpointing potential problems, so here it goes.&lt;/P&gt;
&lt;P&gt;And the lucky winner was DD-WRT after all. I investigated a little bit over OpenWRT, but I decided to go after DD-WRT, since it seemed to me a little bit more interesting. I agree that both distribution have pretty much the same offerings, and even found that they even want to merge to concentrate the effort. &lt;/P&gt;
&lt;P&gt;The upgrade process was plain simple, just followed the &lt;A href="http://www.dd-wrt.com/wiki/index.php/Installation"&gt;Wiki&lt;/A&gt; installation tutorial and in about 10 minutes it was completed. I decided to skip the mini version and go directly to the voip version. I found that works perfectly going directly to the bigger version, with the warning that it might not work for some devices/versions, but apparently if it doesn't work it doesn't brick your router. This being said I very happy with my latest DD-WRT v23 SP2, and it seems very stable to me. So, keep up the good work with DD-WRT!&lt;/P&gt;&lt;img src="http://blogs.mconstantin.eu.org/aggbug.aspx?PostID=979" width="1" height="1"&gt;</description><category domain="http://blogs.mconstantin.eu.org/cchrism/archive/category/7.aspx">Personal Achievements</category><category domain="http://blogs.mconstantin.eu.org/cchrism/archive/category/8.aspx">Networks related</category></item><item><title>Linksys WRT54GL</title><link>http://blogs.mconstantin.eu.org/cchrism/archive/2006/07/10/906.aspx</link><pubDate>Tue, 11 Jul 2006 04:40:00 GMT</pubDate><guid isPermaLink="false">84fa4630-d7f3-4739-a4ce-65ab18add461:906</guid><dc:creator>cchrism</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.mconstantin.eu.org/cchrism/comments/906.aspx</comments><wfw:commentRss>http://blogs.mconstantin.eu.org/cchrism/commentrss.aspx?PostID=906</wfw:commentRss><wfw:comment>http://blogs.mconstantin.eu.org/rsscomments/906.aspx</wfw:comment><description>&lt;P&gt;In case you don't know Linksys WRT54GL is the actual version of one of the most routers that kept the headlines a couple of years ago, since Linksys used some GPL code in their firmware and eventually they were forced to release firmware sources and as a consequence a myriad of open source projects started based on the bits published the firmware. This means that you are no longer forced to use whatever a manufacturer decide to release to public, and if you do not like some part you can customize it. Basically WRT54GL can run a linux distribution of course trimmed down to fit the small amount of memory available. &lt;/P&gt;
&lt;P&gt;When I builded my wireless network I decided that this router is the best option, so I bought it. I paired it with another Linksys product a BECMU10 cable modem, a very nice thing of this setup is that the cases are builded to be stacked and they use very little space. Anyway, for&amp;nbsp;49,99 $ after mail-in rebate I do not think I can find a better wireless router at least now. The stock firmware is good but not the best so I started looking for alternate open-source projects. Well, as much as open-source fan I would I think that due the nature of the things (they are not making any money) the marketing is quite short, if at all. So, right now I could not find a comparative analysis between all major open-source firmware for WRT54 in order to decide which is best for me.&lt;/P&gt;
&lt;P&gt;At this stage I oscilate between two different projects: DD-WRT and OpenWRT, and I will try to compare them.&amp;nbsp;As far as I've seen&amp;nbsp;in OpenWRT the WPA(2) support is not free so most likely I will go with DD-WRT, apparently this project has a lot of fans, and I should join it. Do you have other opinions?&lt;/P&gt;&lt;img src="http://blogs.mconstantin.eu.org/aggbug.aspx?PostID=906" width="1" height="1"&gt;</description><category domain="http://blogs.mconstantin.eu.org/cchrism/archive/category/7.aspx">Personal Achievements</category><category domain="http://blogs.mconstantin.eu.org/cchrism/archive/category/8.aspx">Networks related</category></item></channel></rss>