*nix Thread, Little Nix/BSD routers & WAN link emulation.. in Technical; [..that you may or may not want to run in VMWare]
Having skimmed the wikipedia entry on network emulation someone ...
15th July 2008, 05:33 PM #1
Little Nix/BSD routers & WAN link emulation..
[..that you may or may not want to run in VMWare]
Having skimmed the wikipedia entry on network emulation someone pointed me to in a thread that's wandered off somewhere, they're either expensive which I don't want or care about (very rough approximations of slow links is fine) or suprisingly big e.g. want 1/2 GB RAM.
Apparently Linux kernel 2.6 has NetEm. So has anyone seen any little router/firewall distros that might have the right bits in it, but not the kitchen sink?
17th July 2008, 11:50 PM #2
Soo.. I messed around a bit more with the Dummynet vm.. turned off sendmail, syslogd, usbd, cut down the ttys and reduced the vmware memory to 64MB... and it still does the job.
Then looked at vmware's NAT, discovered it's just a bit lacking so tried turning NAT on in a clone of the above vm, but naturally the required option wasn't compiled in the kernel (Global conspiracy: "That NT bloke will probably wander by and want that one day, so let's turn it off!")
Then went hunting for little Linux firewalls, found several but so far none will cope with internal router/subnets. Couldn't face wading through other folk's interesting custom scripts to figure out how/where I could safely put what I wanted, so went back to FreeBSD for consistency and installed two v7.0's, one to rebuild the kernel, the other just to be much smaller, copied kernel from A to B and that works - only downside is the virtual disk after a minimal FBSD 7.0 install is about 280MB.
18th July 2008, 10:57 PM #3
Further adventures: Went back to the FBSD kernel building box and played with tinyBSD which rebuilds and rounds up the files for a little version and throws it in a disk image. That has a couple of loose ends, but you can tweak those away before throwing the image at a 'real' disk.Turns out the smallest disk you can make in VMware is 102MB, but the one I made doesn't grow beyond 27MB.
The two DummyNet routers (adding 'slowness') are happy so far with 32MB RAM, ditto for the NAT router I had to put upstream of those as a workaround for vmware's NAT being a bit dumb.
Just need to remember what I was doing this for in the first place now..
By PiqueABoo in forum Thin Client and Virtual Machines
Last Post: 5th October 2010, 04:55 PM
By DirtySnipe in forum EduGeek Joomla 1.5 Package
Last Post: 15th June 2008, 08:02 PM
By russdev in forum Jokes/Interweb Things
Last Post: 4th November 2007, 09:29 AM
Last Post: 18th October 2007, 01:53 PM
Last Post: 26th January 2007, 01:22 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)