Sun Microsystems 806-2989-10 manual Configuring VLANs

Page 67
FIGURE 5-2

The Main Server is a high-use server that needs to be accessed from all VLANs and IP subnets. The server has an Sun GigabitEthernet adapter installed. All three IP subnets are accessed via the single physical adapter interface. The server is attached to one of the SunSwitch’s Gigabit Ethernet ports, which is configured for VLANs 1, 2, and 3. Both the adapter and the connected SunSwitch port have tagging turned on. Because of the tagging VLAN capabilities of both devices, the sever is able to communicate on all three IP subnets in this network, but continues to maintain broadcast separation between all of them.

The Accounting Server is available to VLAN 3 only. It is isolated from all traffic on VLANs 1 and 2. The switch port connected to the server has tagging turned off.

Clients 1 and 2 are attached to a shared media hub that is then connected to the switch. They belong to VLAN 2 only, and are logically in the same IP subnet as the Main Server and Client 5. The switch port connected to this segment has tagging turned off.

Client 3 is a member of VLAN 1, and can communicate only with the Main Server and Client 5. Tagging is not enabled on Client 3’s switch port.

Client 4 is a member of VLAN 3, and can communicate only with the servers. Tagging is not enabled on Client 4’s switch port.

Client 5 is a member of both VLANs 1 and 2, and has a Sun GigabitEthernet adapter installed. It is connected to switch port 10. Both the adapter and the switch port are configured for VLANs 1 and 2 and have tagging enabled.

VLAN tagging is only required to be enabled on switch ports that create trunk links to other VLAN-aware Ethernet switches, or on ports connected to tag-capable end- stations, such as servers or workstations with VLAN-aware adapters.

Configuring VLANs

VLANs can be created according to various criteria, but each VLAN must be assigned a VLAN tag or VLAN ID (VID). The VID is a 12-bit identifier between 1 and 4094 that identifies a unique VLAN. For each network interface (ce0, ce1, ce2 and so on), 512 possible VLANs can be created. Because IP subnets are commonly used, it’s best to use IP subnets when setting up a VLAN network interface. This means that each VID assigned to a VLAN interface of a physical network interface will belong to different subnets.

Tagging an Ethernet frame requires the addition of a tag header to the frame. The header is inserted immediately following the Destination MAC address and the Source MAC address. The tag header consists of two bytes of Ethernet Tag Protocol Identifier (TPID, 0x8100) and two bytes of Tag Control Information (TCI).

shows the Ethernet Tag Header format.

Chapter 5 Configuring VLANs 47

Image 67
Contents Sun GigaSwift Ethernet Adapter Installation User’s Guide Please Recycle FCC Class a Notice Regulatory Compliance StatementsFCC Class B Notice ICES-003 Class B Notice Avis NMB-003, Classe B ICES-003 Class a Notice Avis NMB-003, Classe aBsmi Class a Notice Page Product NameSun GigaSwift Ethernet UTP Adapter X1150A Declaration of ConformityEN550221998 / CISPR221997 Page Contents Configuring VLANs Configuring Driver ParametersSpecifications Index Diagnostic Software and Troubleshooting IssuesPage Figures Page Tables Page How This Book Is Organized PrefaceTypographic Conventions Using Unix CommandsShell Prompts Accessing Sun Documentation OnlineRelated Documentation Sun Welcomes Your Comments Ordering Sun DocumentationHardware Overview Product Overview1Sun GigaSwift Ethernet UTP Adapter Sun GigaSwift Ethernet UTP AdapterHardware and Software Requirements Product FeaturesKey Protocols and Interfaces Diagnostic Support Installing the Driver Software Installing the AdapterBecome superuser 1Files and Directories on the CD-ROM See -1to identify the optional packages To Install the Adapter Installing the Adapter Without Dynamic Reconfiguration1Cat-5 Twisted-Pair Cable To Verify the InstallationList the network devices on your system Ok .properties View the .properties file for a list of device propertiesTo Set the GigaSwift Ethernet Device Primary Boot Device Setting the local-mac-addressPropertyRebooting the System To Install an Adapter in a Dynamic Reconfiguration System Installing the Adapter With Dynamic ReconfigurationIf the status of the slot is not empty or disconnected, type Reconfigure the devices on the adapter Configure the adapter and slotConnect the adapter and slot Configuring the Network Host Files Network ConfigurationEtc/hostname.ce1 # cat /etc/hosts Edit the hosts in the diskless client’s root directory To Set Up a Diskless Client on a GigaSwift Ethernet NetworkNetwork Configuration Find the root directory of the client system # grep clientname /etc/bootparamsShut down and halt the client system Proceed with the Solaris operating environment installation# pkginfo grep SUNWce GigaSwift Ethernet Device Driver Parameters Configuring Driver Parameters1ce Driver Parameter, Status, and Descriptions Driver Parameter Values and DefinitionsOperational Mode Parameters Operational Mode Parameters3Read-Write Flow Control Keyword Descriptions Flow Control Parameters4Forced Mode Parameter Gigabit Forced Mode ParameterInterpacket Gap Parameters 5Parameters Defining enableipg0 and ipg0 5defines the enableipg0 and ipg0 parameters8RX Random Early Detecting 8-Bit Vectors Interrupt ParametersRandom Early Drop Parameters 7RX Blanking Register for Alias Read9PCI Bus Interface Parameters PCI Bus Interface ParametersSetting Parameters Using the ndd Utility Setting ce Driver ParametersNoninteractive and Interactive Modes To Specify Device Instances for the ndd UtilityUse the instance number to select the device To modify a parameter value, use the -setoption Using the ndd Utility in Interactive ModeSetting the Autonegotiation Mode To Disable Autonegotiation Mode Setting Parameters Using the ce.conf FileSet the advautonegcap parameter to Etc/pathtoinst file To Set Driver Parameters Using a ce.conf File10Read-Only ce Device Capabilities GigaSwift Ethernet Driver Operating Statistics11Read-Only Link Partner Capabilities Reporting the Link Partner Capabilities12Transmit and Receive Parameters Rxnewpages rxnewhdrpgs As superuser, type the netstat -kcommand To Check Link Partner SettingsPage An Overview of VLANs Configuring VLANs1shows an example network that uses VLANs Configuring VLANs 2Ethernet Tag Header Format To Configure Static VLANs# ifconfig ce123000 plumb up # ifconfig ce224000 plumb up Page Connectors SpecificationsTable A-1Cat-5 Connector Link Characteristics Table A-2Performance Specifications Performance SpecificationsPhysical Characteristics Power RequirementsSunVTS Diagnostic Software Diagnostic Software Troubleshooting IssuesShut down the system Using the OpenBoot Prom FCode Self- TestRunning the Ethernet FCode Self-Test Diagnostic Reset the systemType show-netsto display the list of devices Set the auto-boot?configuration parameter to true Troubleshooting IssuesReset and reboot the system Type the following to apply and save your changes Adv1000fdxcap Adv1000hdxcap AdvpauseTX AdvpauseRX Index Symbols