Sunday, November 28, 2004

An assignment

I went to the university today, finally. After three days of chilling, making the university today felt like a pleasant change. It was that, until Sherry asked me about the DB assignment. Whoa! There went all things pleasant. Today was the last date for its submission, and I am late on the Differential assignment too. Does that happen to all the students? Or most of them? Dont know. The Computer Communications assignment is an ambiguous one. The terminology is clear, but nobody knows what exactly is required. Everybody comes up with a new explanation. Guess we'll have to talk to Ayaz Ahmed to know what he wants exactly. There is this post on the Forum about the assignment: "Configuring and using Linux as a router Group Members: 3-4 or individual Submission date: December 2, 2004 Demo afterwards For details contact Mr. Ovais Khan or Ayaz Ahmed (Sophomore) Simple Linux router can be implemented using iptables while more advanced ones can utilize Zebra. Zebra routing daemon is used for more advanced routers that can communicate using dynamic routing protocols. You are required to implement a router on Linux using zebra routing daemon. Routing can be done on a PC with two or more network adapters. You are thus required to: * Install Linux (preferably Redhat or Slackware) iso’s and http availability via netstorage. * Configure the two network adapters on Linux * Install Zebra * Configure the router * Test the configuration * (Optional) configure BGP on the router with Help and tutorials are available on zebra site. The router should have at least the following minimal configuration: * eth0: 192.168.x.1/24 * eth1: 10.89.x.1/24 Replace x with any arbitrary number from 1 to 254. In order to test the configuration, you also need some computers on each of the subnet. In order to test BGP, use the routers configured by other groups." God knows what is it. But I'll do it inshALLAH. There is this second post a few hours later: "Using one LAN card in the router assignment Instead of using two network cards, you can also use IP Aliasing in the Linux using which you can define as many virtual interfaces as you want. See the following howto for a complete description: The salient steps include: /sbin/ifconfig eth0 192.168.x.1 /sbin/ifconfig eth0:0 10.89.x.1 This will create two IP Aliases corresponding to the same hardware interface. In order to make the changes final. Add these lines to the /etc/rc.d/rc.local file." Don't laugh. It isnt that hard as it appears. Infact it isnt hard at all! All that is needed is some determination and intuition, and a little hard work, the rest comes easily.

No comments: