Making sense of Broadband networks – VLAN Model

October 1st, 2013 Wael Osama Posted in Network Design | No Comments »

In the previous post we discussed the major considerations of a broadband network architecture. Now I want to discuss each of those points one by one adding some details. I will do this quick and might not be able to provide illustrations or configuration examples all the time due to time limits, so if anything is not so clear please let me know and I can reiterate this.

Qouting from previous post, I was mentioing that a provider has to make a choice between two major VLAN models or combine both:

“Which VLAN model? Customer VLAN (know as C-VLAN) or service VLAN (S-VLAN) or hybrid which combines both models.”

Lets start by outlining and describing each of them:
Read the rest of this entry »

AddThis Social Bookmark Button

Making sense of Broadband networks – Part 1

May 24th, 2013 Wael Osama Posted in Network Design, PPP | 2 Comments »

Broadband is a hot topic in the telecommunications industry nowadays; it is becoming the bread and butter for so many service providers and mobile carriers with the big growth and penetration rates in these technologies in the recent years.  ( Check this report about the EOCD countries). Although it is that important, broadband topics probably are not covered in any certification/education track and the reason might be that there is no “one shop suits all” in this field as in routing and switching technologies. In this post and others my aim is to provide some engineers with a brief but useful information about some of the deployed models today according to my own experience.

First of all let’s set the  scope for this series by starting with a basic question like what is broadband networks as I deal with them?

Technically broadband is any internet connection with higher bandwidth than dial-up connections. Broadband connections can be DSL, cable, satellite or fibre connections. In broadband typically the subscriber has a residential gateway at home/office which might be connected to a MSAN and probably an aggregation network and finally the BNG which will provide the L3 termination point of the connection and is connected to the rest of the service provider network and the Internet.  Many devices are used in broadband networks and cover all the OSI model layers and they typically come from different vendors and they all interact together to provide the service. There is also a decent amount of servers used to provide AAA, billing, Multicast streams, etc services to subscribers. This creates some challenges for engineers working with these networks. Read the rest of this entry »

AddThis Social Bookmark Button

What can you learn in 5 minutes a day !

April 26th, 2013 Wael Osama Posted in Industry News, Off Topic | 1 Comment »

I  believe in minimalism and what small focused actions can make for a person and small steps is what Juniper learning bytes is all about. Learning bytes is an online learning resource launched last year by Juniper education services organization as a free service.

The nice thing about the learning bytes is that they are focused, short and concise videos that give you a a quick idea about a certain technology, feature or configuration in about 10 minutes  or less and they are created by Juniper’s educational services team right to you.

Here is a good byte, not just because my friend Ayman Aborabh made it but because it’s a good short description of  6PE and how it works. Check it out and explore some of the bytes they offer @ Juniper learning bytes site.

AddThis Social Bookmark Button

DHCP client testing tool

April 23rd, 2013 Wael Osama Posted in Tools | 1 Comment »

DHCP is vastly growing in service provider networks for broadband subscribers, I had the chance to work lately with a some of these setups. The protocol is really easy to configure for broadband and provide many benefits.  It has lower overhead compared to PPPOE and it is much more suitable for Multicast services.

For those of you who are working with subscriber management, I know sometimes you need to do quick tests to verify new configurations or may be to do some stress or scalability tests. Traffic generators are  more suitable for stress and scalability tests but sometimes I really need some simple tool to play with from my desktop and inspect packets directly.

There are more sophisticated ways to craft packets when needed but this  Linux DHCP client test tool was very handy in doing quick testing, it’s very simple and intuitive to use. It does not offer a complete set of options or operations but it is very useful to test your configuration or to do a simple stress test if your PC can handle it. The limitation I found is that it was not automated, so I had to make my own script to generate MAC addresses and feed it to the tool to issue any number of sessions I like.

I bring up about 16K of DHCP subscribers in about 30min with the script and tool. The script distributes the number of clients on 5 threads to speed up things a bit, but of course this can be optimized in many ways to speed it up, but I will personally keep it simple for everyday use. Feel free to improve this anyway you like but please share the value with the community.

All you need to do is to put the tool and script in the same folder and run the script as follows with superuser privileges.

sudo ./ -i eth1.2668 -s 10000
-i is the interface
-s is the number of subscribers you want to randomly create

Download the tool and check documentation on how to use it from the link below and you can download the python script here. Put them in the same directory and you are good to go.

Note: The script does not have much of error handling, so you need to make sure you are using the correct parameters. The tool must be used with root permissions to be able to open promiscuous sockets on your box.

AddThis Social Bookmark Button

Few ways scripting can keep you sane

October 3rd, 2012 Wael Osama Posted in Off Topic | 4 Comments »

C’est la vie, it has been almost a year since I posted on the blog, a year full of change,  but here I am kicking up again with this simple short post about how scripting could save you time and effort on daily basis.

I know most of you might be using those free or commercially available applications to manage your daily work and they are all great; and I don’t want to convince you of reinventing the wheel but I am  talking here about higher level of control over your very own, tailored to your specific needs tools.

OK, honestly I am combining both myself, I write scripts that interact with other available tools to get me exactly where I want to go. Here are some ways I use scripting everyday:

Managing/Creating configuration: In my daily work I usually need to apply thousands of configuration lines to a router or multiple to build some lab.  There are many simple ways to automate this daunting operation using existing applications.  But it gets harder when I need to write the configuration dynamically or on the fly, for example when I need to create hundreds/thousands of interfaces with some sequence, addresses  or policies to test something.   I usually use scripts to do the job for me.

Try WISB, it is small application that can be used to distribute the same piece of configuration to multiple devices automatically.

Collecting logs: This is another chore in our jobs,  that is sometimes tricky. If troubleshooting problem or debugging how something works in details, mostlyI need to collect logs in a very systematic way or in specific order from multiple devices, and I always miss, if I do manually. Scripts can do a great job in helping you troubleshoot problems while having your lunch. A recent example  was using a script to monitor a small memory leak problem in a production network which would have been very hard to spot manually.

Simulating scenarios: This is another good job for scripts  simulating specific design issues/problems. I use this often in my daily work by combining my own scripts with other available tools I am usually able to come out with a specific scenario to test something. I use this for generating traffic patterns, flapping interfaces, crafting of packets or other application layer services (HTTP, FTP, etc) if needed.

Stress/performance testing:  scripting also is very useful to stress test or measure the performance of  some services or features on your routers or networks. Like for example testing same host (MAC/IP) enforcements, creating large number of connections to some service.

Finally Having Fun:  writing scripts or automating operations is  fun for many, it breaks the boring repetitive tasks by adding some spice and creativity to it. I spend sometime writing/editing/ debugging the script but once I am done; it acts like an employee that keeps working for me for free ( yes I am lazy but not very much)  :)

So, my general advice to you would be; Go find a powerful Linux box in your network or lab and play with scripts that would save you time and effort in your daily operations and if you can’t write them yourself most probably you will find many ready available on the Internet out there. Also don’t forget about the scripting capabilities offered by the box itself, that’s a very handy tool too.

Happy Networking ..

AddThis Social Bookmark Button

The Importance of Networking

June 5th, 2011 Wael Osama Posted in Industry News, Off Topic | 2 Comments »

Networking is constantly being promoted throughout a huge range of industries, and is generally being seen as more valuable than ever before. However, all too often, it can be swept under the carpet. Those of us who work with technical industries can be particularly prone to not making the most of our networking opportunities. However, here’s a quick remind of why it can be so important.

You may encounter a huge number of people within your current profession that it can be worth keeping in touch with. With most work places offering reliable INTERNET access provided by companies at sites like, online social networks can make networking easier than ever Sites such as Twitter and LinkedIn can provide the perfect way to contact those who you may not have been able to provide with a business card, or other means of contacting you.

Even if the job which you have at the time when you meet them might not seem as if it will require you to have an extensive number of external contacts, it is well worth thinking about the future – no matter how long you plan to stay in your current employment. Building strong business relationships need not be immediately profitable, but it is a good idea to think about the long-term benefits of such contacts.

If you currently work as an employee, then remember that networking with those who work in a different role within a similar field to your own is a good way to create future opportunities for yourself. You might even consider the possibilities of joint ventures and forming future benefits. Sharing you knowledge with others shouldn’t be seen as helping the competition, but can often be an extremely effective way of enhancing your own career.

AddThis Social Bookmark Button