Page 1 of 1

Deny link

Posted: Tue Oct 18, 2005 9:03 am
by pytolechat
Hello,

I would to create a rescue hub for my network, when my principal hub is down ( hub.rs2i.net ) my rescue hub ( hub.secours.rs2i.net ) is automaticaly lunched.

In my leaf's configs i have 2 link block using auto connect, the first using class servers ( connfreq 31 ) to hub.rs2i.net, the second using class secours ( connfreq 91 ) to hub .secours.rs2i.net

I would to make specific rules for my auto connect by deny link :

Code: Select all

deny link {
          mask hub.rs2i.net;
          rule "directcon(hub.secours.rs2i.net)";
          type all;
};

deny link {
          mask hub.secours.rs2i.net;
          rule "directcon(hub.rs2i.net)";
          type all;
};
My 2 deny block are confirmed by /stats D :
* D hub.secour.rs2i.net connected(hub.rs2i.net)
* D hub.rs2i.net connected(hub.secours.rs2i.net)
My problem is :
When my leaf is connected to hub.rs2i.net, autoconnect to hub.secours.rs2i.net is already activated and when my leaf is connected to hub.secours.rs2i.net the autoconnect to hub.rs2i.net is already activated too.

I have try the command /connect hub.secours.rs2i.net when hub.rs2i.net is connected my leaf return :
* Connect: Disallowed by connection rule

Does any one see an error?