Dell PowerConnect 55xx Systems User Guide 213Configuring Two IP Networks on Two Different VLANS Using CLIThe following shows how to configure two IP networks on two differentVLANS using CLI:To test this setup described in Figure 11-18:1 Connect a host whose address is 1.1.1.2 to interface 1/0/1 (default route1.1.1.1)2 Connect a host whose address 2.1.1.2 to port 1/0/2 (default route 2.1.1.1)3 Ping from 1.1.1.2 to 2.1.1.2 to verify the configurationTable 9-25. Sample CLI Script to Configure Two IP Networks on Two Different VLANSsCLI Command Descriptionconsole#config Enter Global Configurationmode.console(config)# vlan database Enter VLAN mode.console(config-vlan)# vlan 100-150 Create VLANs number 100 to150.console(config-vlan)# exit Exit VLAN mode.console(config)#interface gi1/0/1 Enter Interface mode for port1 on unit 1.console(config-if)# switchport accessvlan 100Make port a member ofVLAN 100.console(config-if)# ip address1.1.1.1 255.255.255.0Set the IP address with mask.console(config-vlan)# exit Exit Interface mode for port.console(config)#interface gi1/0/2 Enter Interface mode for port2 on unit 1.console(config-if)# switchport accessvlan 150Make port a member ofVLAN 150.console(config-if)# ip address2.1.1.1 255.255.255.0Set the IP address with mask.console(config-vlan)# exit Exit Interface mode for port.