[nox-dev] queries regarding ipv4.py and dhcp.py

2011-09-06 Thread junaid khalid
Hi I am writing a module using python in nox. i have two queries 1) In ipv4.py file, identification field of ip header is initialized with a 32 bit value self.id= int(time.time()) whereas in an ip header the identification field (id) is a 16 bit field. Should it not be initialized with

Re: [nox-dev] queries regarding ipv4.py and dhcp.py

2011-09-06 Thread Murphy McCauley
#1: Yes, this is a known bug. time isn't a good value anyway. There's some discussion of this in this thread: http://noxrepo.org/pipermail/nox-dev/2011-August/007843.html #2: This looks like a bug. Thanks. -- Murphy On Sep 6, 2011, at 12:04 PM, junaid khalid wrote: Hi I am writing a

Re: [nox-dev] routing module

2011-09-06 Thread Ricardo Bennesby
Hi Linbo. I attached a script in Python that Bob Lantz sent me once. If you are using Mininet is just edit the file with your topology and change the hosts IPs to the desired ones. In this case you will not have to be worried about switch. I think the script solve you problem. But you can also