Forum Discussion
Michael_60521
Nimbostratus
Dec 11, 2007send to pool-member by port-range
I have an problem to get it to work right.
I have made an VL om port any, with an default pool.
some ports have to go to one server ande some ports have to go to the other server. ...
Michael_60521
Nimbostratus
Dec 11, 2007I can see every 2. connection are LB to the other server (the wrong one), it seems for me that it is working with the default pool and not the iRoule.
I have tryed to make an other iRoule (paste below), this one is working with no default pool, but the iroule might be written in an other way ..... : (the pools in this iroule have only one of the servers..)
when CLIENT_ACCEPTED {
set srv_port [TCP::local_port]
switch $srv_port {
6740 {
pool mpapp2
}
6741 {
pool mpapp2
}
6742 {
pool mpapp2
}
6743 {
pool mpapp2
}
6744 {
pool mpapp2
}
6745 {
pool mpapp2
}
6746 {
pool mpapp2
}
6747 {
pool mpapp2
}
6748 {
pool mpapp2
}
6749 {
pool mpapp2
}
6830 {
pool mpapp1
}
6831 {
pool mpapp1
}
6832 {
pool mpapp1
}
6833 {
pool mpapp1
}
6834 {
pool mpapp1
}
6835 {
pool mpapp1
}
6836 {
pool mpapp1
}
6837 {
pool mpapp1
}
6838 {
pool mpapp1
}
6839 {
pool mpapp1
}
6860 {
pool mpapp2
}
6861 {
pool mpapp2
}
6862 {
pool mpapp2
}
6863 {
pool mpapp2
}
6864 {
pool mpapp2
}
6865 {
pool mpapp2
}
6866 {
pool mpapp2
}
6867 {
pool mpapp2
}
6868 {
pool mpapp2
}
6869 {
pool mpapp2
}
6880 {
pool mpapp1
}
6881 {
pool mpapp1
}
6882 {
pool mpapp1
}
6883 {
pool mpapp1
}
6884 {
pool mpapp1
}
6885 {
pool mpapp1
}
6886 {
pool mpapp1
}
6887 {
pool mpapp1
}
6888 {
pool mpapp1
}
6889 {
pool mpapp1
}
7000 {
pool mpapp2
}
7001 {
pool mpapp2
}
7002 {
pool mpapp2
}
7003 {
pool mpapp2
}
7004 {
pool mpapp2
}
7005 {
pool mpapp2
}
7006 {
pool mpapp2
}
7007 {
pool mpapp2
}
7008 {
pool mpapp2
}
7009 {
pool mpapp2
}
default {
drop
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects