duty for different layer for internet protocol