[quagga-dev 8158] Re: How to do Unit & Functionality testing of Quagga
ashokj1125 at gmail.com
Thu Aug 19 00:11:59 BST 2010
Hi Balaji & All,
On Wed, Jul 14, 2010 at 5:13 PM, Balaji G <balajig81 at gmail.com> wrote:
> >Here Qemu provides some mechanism to forward packets, no need of OSPF,BGP,
> or some routing protocols
> Qemu has nothing to do with forwarding packets nor with protocols either.
> Qemu is an emulator which would emulate x86 or other architectures. Read up
> on qemu networking
I confused with the steps 6 in this document
http://www.h7.dion.ne.jp/~qemu-win/TapWin32-en.html 6. Using Tap with VLAN
Use one Tap for Win32 Adapter and two guest OSes.
Redhat1 NE2000 ----------- Host TAP --------- Host NIC --------
192.168.0.2 | 192.168.0.1 192.168.100.2
| (fixed) (DNS server)
It is necessary to set ICS to browse the Internet. See above. IP
address of Tap for Win32 is fixed to 192.168.0.1.
Command line options are:
term1$ qemu -L ./pc-bios -hda redhat1.img -net nic -net tap,ifname=my-tap
term2$ qemu -L ./pc-bios -hda redhat2.img -net nic,macaddr=52:54:00:12:34:01
Qemu provides all this support for routing packets between 2 different
I don't see any importance for Quagga's BGP here. (or) I could not make
difference between what Qemu provides & what BGP can do .
I understand that this is my home work and I have to do it on my own.
As I am confused with this, I would appreciate a little help here.
(or) if you know of any link on how to configure Qemu for Quagga step by
step, that would be great.
> The other option could be to use UML as i already told you. Read up about
> it in the following link
> - Balaji
> On Wed, Jul 14, 2010 at 5:08 PM, Ashok . <ashokj1125 at gmail.com> wrote:
>> On Wed, Jul 14, 2010 at 5:00 PM, Balaji G <balajig81 at gmail.com> wrote:
>>> >do you use any simulator or any other software for testing ?
>>> Virtualization is the key. If you just have a single system and you want
>>> to have a BGP/RIP/OSPF session the best way would be to either use UML or
>>> Qemu Virtualization techniques, which is one of the recommended ways to test
>>> your kernel too if you want to. If you have been used to VMware kind of
>>> environment earlier, then i would suggest you could use VirtualBox too. The
>>> quickest way would be to use UML or Qemu environments.
>> (correct me if i am wrong).
>> are you referring to this manual
>> Here Qemu provides some mechanism to forward packets, no need of OSPF,BGP,
>> or some routing protocols
>> I used Qemu in the past. So if you have any other manual on how to set up
>> for quagga testing, please do share with me
>>> >I don't have big setup, I have 2 desktop pc, that's all i can afford,
>>> with that just want to know, how best I can test
>>> You have 2 PCs so the best would be to have a back to back connection if
>>> you want a basic setup, if you need a setup with 4-5 routers then refer the
>>> techniques i refered above.
>>> On Wed, Jul 14, 2010 at 3:49 PM, Ashok . <ashokj1125 at gmail.com> wrote:
>>>> How would you test (or) debug your code generally? like ospf, bgp,
>>>> rip... how to verify that your code is working?
>>>> do you use any simulator or any other software for testing ?
>>>> I don't have big setup, I have 2 desktop pc, that's all i can afford,
>>>> with that just want to know, how best I can test my code?
>>>> Quagga-dev mailing list
>>>> Quagga-dev at lists.quagga.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Quagga-dev