D-Link DES-3010FA/GA manual Static IP Address and Subnet Mask

Models: DES-3010FA/GA

1 281
Download 281 pages 550 b
Page 36
Image 36

Starting and Configuring the Device

Configuration Overview

The default gateway IP address.

The SNMP community.

Static IP Address and Subnet Mask

IP interfaces can be configured on each port of the device. After entering the configuration command, it is recommended to check if a port was configured with the IP address by entering the show ip interface command.

Note

The commands to configure the device are port specific.

To manage the switch from a remote network, a static route must be configured, which is an IP address to where packets are sent when no entries are found in the device tables. The configured IP address must belong to the same subnet as one of the device IP interfaces.

To configure a static route, enter the command at the system prompt, as shown in the following configuration example, where 100.1.1.1 is the specific management station, the IP address is defined on VLAN 1, and the default gateway is defined as 100.1.1.10. Note that by default, all ports are members of VLAN 1, which is the default VLAN.

console# configure console(config)# interface vlan 1

console(config-if)# ip address 100.1.1.1 255.255.255.0 console(config-if)# exit

console# default-gateway100.1.1.10 255.255.255.0

Confirm that the IP address has been correctly configured as follows:

console# show ip interface

Proxy ARP is disabled

IP Address

I/F

Type

-----------

--------

-----------

100.1.1.1/24

vlan 1

static

Assigning Static IP Addresses on a Default VLAN

This example uses the following assumptions:

The IP address to be assigned to the VLAN interface is 100.1.1.110

The IP subnet mask for the network is 255.255.255.0

The IP address of the default route is 192.168.1.1

The read/write SNMP community string is "private"

console> enable

console# configure

console(config)# username admin password dlink level 15

console(config)# interface VLAN 1

console (config-if) # ip address 100.1.1.110 console (config-if) # exit

Page 35

Page 36
Image 36
D-Link DES-3010FA/GA manual Static IP Address and Subnet Mask, Assigning Static IP Addresses on a Default Vlan