I have 2 interfaces on my Linux box - eth0 on 198.162 etc which has
access to the internet and eth1 on 10.0.etc which is for my HA setup I
How do I set up Misterhouse to use eth0 for internet and eth1 for XAP?
Quoting Steve Hobbs (3/27/06 12:53 PM):
> I have 2 interfaces on my Linux box =96 eth0 on 198.162 etc which has
> access to the internet and eth1 on 10.0.etc which is for my HA setup I
> am developing.
> How do I set up Misterhouse to use eth0 for internet and eth1 for XAP?
A quick answer: mh's built-in xAP hub does not (yet) allow binding to a
specific interface. I personally prefer to use Patrick Lidstone's
stand-alone xAP hub for my linux systems rather than mh's built-in hub
as that relieves any hub duty for mh (which can become an issue if your
xAP and/or xPL environment is exceptionally "chatty"). Patrick's hub
can permit passing an interface name to it; otherwise, it uses the
"default". I would suggest this mechanism to deal w/ receiving messages
(I'm about to implement vlans in my environment to implement a very
similar setup). If you don't have Patrick's hub code or have difficulty
locating it, send me a message off-list and I'll send you a copy.
Unfortunately, mh broadcasts on 255.255.255.255 rather than honor any
netmask or specified broadcast address. The latter will likely change
fairly soon w/ an optionally defined broadcast address param. If you
need to address this sooner (than await a patch), then locate the line
in lib/xAP_Items.pm that broadcasts on 255.255.255.255 and mod it to
your eth1 broadcast address. I will try to incorporate this capability
along w/ others in time for the next release.
Get latest updates about Open Source Projects, Conferences and News.