Crab and shrimp are both crustaceans. If you're allergic to one crustacean, you're likely allergic to all of them. It's possible to be allergic to crustaceans such as shrimp and crab but not mollusks—clams, oysters, mussels, squid, and octopus.