Some thoughts about version 0.5 - token ring support
alanr at unix.sh
Sun Oct 13 19:22:29 MDT 2002
> How is it going. Will there be good/decent working token ring support in
> the coming version. It would so help me and the company I work for to
> have token ring support properly. The failovers along with virtual ip do
> not work well with token ring.
> I am just wondering. I have played ethernet...and it is amazing. Amazing
> stuff you guys have made. Long live open source :)
I'm glad you like open source. The way features like token ring get put in
to an open source project is that people who have the hardware or facilities
to write and test a particular feature volunteer to do so.
So, the answer to your question is:
If you write it and get it to us, it'll likely go into a release.
I doubt the problems are deep and difficult (he says glibly just as
though he knew).
According to my personal archives, you are the second person to comment on
the lack of token ring support.
So, I suspect it would be up to yourself and Mr. Aasaf Stoler to provide
such support. Mr. Stoler wrote me on this subject last February. I've CCed
him on this email.
Although I know most of the code well, I don't personally know anything
about token ring or how IP is implemented on it. Perhaps someone on the
list can help you. You'll need to be sure you're working with the latest
beta or the CVS version.
If heartbeat brings up the address, but no one seems to be able to access
it, then it is likely that the problem is somehow related to ARP support,
and flows out (somehow) from send_arp.c.
The part I suspect is the problem is in one or all of these places:
Getting the hardware address for the token ring
Figuring out the hardware broadcast address for the interface
Since Mr. Stoller wrote me back in February, I believe we've restructured
the code a bit.
The relevant parts of the code to look at would include these functions:
Fortunately, except for IPaddr, they aren't very big. The first two are the
most interesting places to start.
Mr. Stoler told me in an earlier email that token ring also has 6-byte
hardware addresses, so that eliminates one of my concerns.
I would suggest looking at the http://www.linuxtr.net/ web site and maybe
asking them for help in understanding how ARP (and broadcast) work on token
-- Alan Robertson
alanr at unix.sh
More information about the Linux-HA