Grep Command

I am using the first example below to grep a string that has the IP of 249.185.xx and then the text BIO later in the string. This is working, but when I try to use the 2nd example and add a search for any string containing the text NodeStatus it is grepping all IPs and not just the 249.185 IPs.

egrep "249.185.*BIO" alert_audit324.txt

egrep "249.185.*BIO|NodeStatus" alert_audit324.txt

I assume you want all lines where 249.185 appears, followed by either BIO or NodeStatus
Try

grep -E '249\.185\.*(BIO|NodeStatus)' alert_audit324.txt