Re: Networking strangeness Solution?


Subject: Re: Networking strangeness Solution?
From: Charles McLachlan (cim@uk.research.att.com)
Date: Tue May 09 2000 - 05:01:39 MDT


My networking woes seem to stem from MOL trying to deal with all packets that
are received by the machine, which is all well and good if it was acting as a
router or something, but somewhat of an overkill when acting as a normal
machine.

To slacken off the demands on MOL (i.e. the osi_enet driver) I've hacked
sheep_net so that you can specicify a filter ip address. sheep_net will only
pass ip packets with a destination address that matches the filter. All other
non ip packets are passed though normally.

This works fine and I can do use MOL networking and a remote viewer at the same
time, but it does have some caveats:

You need to load the hacked sheep_net before you startmol.
You need to specifiy the filter as a kernel recognisable integer (no dotted
addresses).
You need to know what ip address your pseudo Mac will be using (tricky if
you're using DHCP)
It seems to screw up nfs.

Usage:
        cd mol-0.9.41
        patch -p1 <path/to/sheep.c.patch
        make
        insmod lib/modules/sheep_net.o ipfilter=0xDEADBEEF
        ./startmol

Patch file follows (1550 bytes)

I realise this isn't the most elegant solution in the world. But it works for
me.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Charlie McLachlan 
	AT&T Research Lab. Cambridge.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




This archive was generated by hypermail 2a24 : Tue May 09 2000 - 05:16:39 MDT