Configuring powerconnect switch a – Dell POWEREDGE M1000E User Manual

Page 917

Advertising
background image

Configuring IP Routing

917

Configuring PowerConnect Switch A

To configure Switch A.

1 Enable routing on the switch.

console#configure

console(config)#ip routing

2 Assign an IP address to VLAN 10. This command also enables IP routing

on the VLAN.

console(config)#interface vlan 10

console(config-if-vlan10)#ip address 192.168.10.10

255.255.255.0

console(config-if-vlan10)#exit

3 Assign an IP address to VLAN 20.

console#configure

console(config)#interface vlan 20

console(config-if-vlan20)#ip address 192.168.20.20

255.255.255.0

console(config-if-vlan20)#exit

4 Assign an IP address to VLAN 50.

console#configure

console(config)#interface vlan 50

console(config-if-vlan50)#ip address 192.168.50.50

255.255.255.0

console(config-if-vlan50)#exit

5 Configure a static route to the network that VLAN 30 is in, using the IP

address of the VLAN 20 interface on Switch B as the next hop address.

console(config)#ip route 192.168.30.0

255.255.255.0 192.168.20.25

6 Configure the backbone router interface as the default gateway.

console(config)#ip route default 192.168.50.2

Advertising