Forum Discussion

JN's avatar
JN
Icon for Nimbostratus rankNimbostratus
May 25, 2012

Inputting networks into data groups

We're trying to implement a large external data group (~4000) users with some hosts and some networks.

 

 

Long story short, I think I had it working with host lines, however in an attempt to add logging to my irule (to see which part of the irule was processing) I found an error--

 

 

"Config error: class example_class error: removing IP element - Not found Config error: class example_class error: removing IP element - Not found "

 

 

I found an explanation of the error here ( :-( it's a bummer v10 doesn't call out explicitally what IP is affected)

 

SOL11977

 

http://support.f5.com/kb/en-us/solu...1977.htmlv

 

 

 

However I'm still getting the errors even when having just one network line in there w/ /24 mask. And I think it even errored when only having a single host IP.

 

 

 

Is there a way to tell which lines are good and which are not? When I run the tmsh list ltm data-group it shows the network, but is that how I tell if's it's been loaded or not?

 

 

I'm just stuck right now. I've opened a case w/ F5, but thought I'd post here while I'm waiting for them to call me back...any ideas or suggestions would be helpful. Also any suggestions on how to validate settings (like explicit errors or if a change successfully was applied) would be awesome also.

 

 

Thanks

 

 

 

 

 

3 Replies

  • i am not able to find a way to show it out in v10. setting log.tmm.level debug did not show an invalid network address. also, class get irule command did not help i.e. it showed member in external class file.

    i think the easiest way is to get v9 box.

    [root@ha2:Active] config  b class test list
    class test {
       type ip
       filename "/config/addr.class"
    }
    [root@ha2:Active] config  cat addr.class
    network 1.1.1.0/24,
    network 192.168.0.1/24,
    [root@ha2:Active] config  grep -i tcl\ error /var/log/ltm
    May 26 01:40:15 tmm tmm[1707]: 01010007:3: Config error: TCL ERROR - removing IP element from: test - Element 192.168.0.1/24 not found in class testElement 192.168.0.1/24 not found in class testElement 1.1.1.0/24, size: 24 not found in class testElement 192.168.0.1/24, size: 24 not found in class test
    
  • JN's avatar
    JN
    Icon for Nimbostratus rankNimbostratus
    awesome, thanks! I'll give it a try today.
  • By the way, BZ226916 was fixed in 11.0 so you'll get an error when attempting to load an invalid network/subnet combination.

     

     

    Aaron