Core switch configuration typically begins with creating VLANs (e.g., VLAN 10, VLAN 20). Ports belonging to specific VLANs are assigned to those VLANs or configured for trunk mode. Regarding access-layer switches: if the port connecting to the core switch is configured for access mode, the switch's other ports should also be set to access mode. Conversely, if trunk mode is required, the port connecting to the core switch should be configured for trunk mode, and the other ports should be assigned to the appropriate VLANs.
Ports connected to server farms are assigned directly to the corresponding VLANs and are generally not configured for trunk mode. Regarding the router: if the firewall operates in transparent mode, the router port connecting to the core switch must be on the same subnet. The router's egress port should be assigned an external network address to enable Internet access for all users; this is achieved by configuring NAT on the router.
Configure "access-list 1" on the router to permit all traffic (i.e., `access-list 1 permit any`). Next, specify the internal network list within the NAT configuration-for example, `ip nat inside source list 1 interface f0/1`, where `f0/1` is the internal interface. With this configuration, all internal network traffic is translated via NAT to the external network address, thereby enabling Internet access.
