Network Mask
Posted: Thu Jun 03, 2010 10:15 am
I am really an embedded programmer and not well versed in networking. It's a testament to the product that we were able to bring up an SNMP agent so rapidly given my lack of networking experience (I'm really a physical/link layer guy). However we ran into an issue with a customer where a customer noticed the network connection between their management system and our agent was hanging after roughly 4 minutes of Pinging, around 250 pings. I found that the problem was related to the network mask setting (the customer's host was set to 255.255.255.0, and our agent's was set to 0.0.0.0) once I set up the network mask on our agent to 255.255.255.0 the problem went away. Speculating it makes me think that maybe the issue is related to some sort of credits mechanism or a message queue overflow, but given my lack of networking experience I don't have a satisfactory grasp on the root cause. Can anyone help to explain this behavior? I am currently researching the relationship between the IP address and the network mask, I need to have a better grasp of the application rather then just the lower level development, but I don't want to spend too long on it as my focus remains on hardware not networking.