Configuring powerconnect switch b – Dell POWEREDGE M1000E User Manual

Page 918

Advertising
background image

918

Configuring IP Routing

Configuring PowerConnect Switch B

To configure Switch B:

1 Enable routing on the switch.

console#configure

console(config)#ip routing

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

on the VLAN.

console#configure

console(config)#interface vlan 20

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

255.255.255.0

console(config-if-vlan20)#exit

3 Assign an IP address to VLAN 30. This command also enables IP routing

on the VLAN.

console#configure

console(config)#interface vlan 30

console(config-if-vlan30)#ip address 192.168.30.30

255.255.255.0

console(config-if-vlan30)#exit

4 Configure the VLAN 20 routing interface on Switch A as the default

gateway so that any traffic with an unknown destination is sent to

Switch A for forwarding.

console(config)#ip route default 192.168.20.20

Advertising