Derive Generic for Mac and IP4