A Bangladeshi national, who was living illegally in India, was arrested from a village in Karnataka's Mangaluru district.