Page 1 of 1

U3.2win - Hub problem (maybe wrong hub/leaf cfg)

Posted: Thu Jul 01, 2004 8:54 am
by Nessuno
hi all, i've got a net with some servers. i want that 1 of these is a "hub", so if i connect to the main server (ex irc.myserver.net) it redirects me to a non-hub, like in big public servers (if i'm not wrong). if u try to connect on irc.criten.net it redirects u to ice.criten.net, armageddon.criten.net, etc.
how to do this? is this possible?
i've tryed in this way.
in the link section of the hub:

Code: Select all

link server1.myserver.net {
  ...
  leaf 1;
}
link server2.myserver.net {
  ...
  leaf 1;
}
link server3.myserver.net {
  ...
  hub *; //cause to this server there are linked services!
}
and in the link section of each linked server:

Code: Select all

link hub.myserver.net {
  ... 
  hub *;
}
instead in the server with services linked to there is also an other link, but i don't think this is important. if u want i can paste it too.
am i workin on a wrong part? (hub/leaf)
is this impossible?
tnx in advance
have a nice day

Posted: Thu Jul 01, 2004 9:52 am
by tiko
if i've read correctly, what you're looking for is a round robin.

Basically all you need to do is create multiple entries for irc.your.net in your DNS zone file, each one pointing to a different server IP.

Posted: Thu Jul 01, 2004 10:50 am
by AngryWolf
I don't know why you wrote "leaf 1;" (in more places) in your configuration, but it's like enough that "1" is not the correct setting. According to the the documentation, link::leaf wants a leafmask as a value.

Posted: Fri Jul 02, 2004 5:54 am
by w00t
Sounds like you mean DNS entries to me.

-Create multiple A records for irc.mynet.net
BUT Point these records to different IPs.

That should mean you connect to a different server, but remember DNS caching tends to hold one IP. So flush your DNS cache to test it :)