Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple source address on virtual server

Davethoonsen
Altocumulus
Altocumulus

Hi,

 

How can I use multiple source addresses on a virtual server? The source is currently 0.0.0.0%15/0 and I have to enter certain /32 addresses in here and exclude the default permit. Also, I can imagine that the sources can exist from multiple route domains so how would I note that down?

 

I would think I could either implement the following in CLI or GUI: 1.1.1.1%15/32 , 2.2.2.2%13/32 and so on.

EDIT: separating prefixes by comma's won't work so I guess the only suitable way to fix this is by inserting an iRule. I do however don't want to over complex it for my colleagues so are there other ways to add multiple source addresses?

 

Would love to hear about this.

 

Kind regards,

 

Dave Thoonsen

1 ACCEPTED SOLUTION

From version 14 you can make address lists and select these as source address.

 

Create an address list:

 

0691T000006B5keQAC.png

Add it to the virtual server:

0691T000006B5kjQAC.png

 

Hope this answers your question.

View solution in original post

4 REPLIES 4

CP_Scott
Altostratus
Altostratus

I think you can make separate VS instances for each separate 'source address' need, but that becomes brutal very quickly, and hard to maintain parity between configurations. If you're using this as a firewall configuration to enforce traffic rules, an irule is the free way, or purchasing the AFM module is the supported, easily understood way for long term support.

From version 14 you can make address lists and select these as source address.

 

Create an address list:

 

0691T000006B5keQAC.png

Add it to the virtual server:

0691T000006B5kjQAC.png

 

Hope this answers your question.

Unfortunately, an address list doesn't work if you have a virtual server with the same destination IP-port and source-range 0.0.0.0/0.

Here some more details about it https://support.f5.com/csp/article/K47569205 

Only way is creating VS with particular host IP

Davethoonsen
Altocumulus
Altocumulus

That seems like a very viable option Niels. I guess we have another reason to upgrade to version 14 as we currently reside on version 13.x

Thanks for the help!