Abstract:VLAN technology can improve the organisation of the organisation of the physical and logical structure of the ship"s network, meet the demands for quick dynamic re-organisation according to the mission, and offer good operational flexibility. VLAN Technology still has certain security deficiencies. First, identify the typical features of naval ships such as their arrangement, equipment attributes and combat roles, and then summarize the specific characteristics of internal networks on surface ships in this paper. Based on the above exploration of the general concepts of Virtual Local Area Networks (VLANs), the following paper introduces various network attack methods that exploit these mechanisms. These are VLAN hopping, Private VLAN (PVLAN) attacks, ARP spoofing, MAC address flooding and Spanning Tree Protocol (STP) attacks. Corresponding targeted security countermeasures and Shipborne Network Security Protection Model are put forward. The research provides support for strengthening the cybersecurity protection of warships" network environments.