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

These are old archives. They are kept for historic purposes only.
Post Reply
Nessuno

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

Post 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
tiko
Posts: 9
Joined: Thu Jul 01, 2004 9:29 am
Location: 7sinzNet
Contact:

Post 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.
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post 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.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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 :)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply