DELL N3000 User Manual

Page of 1460
Configuring IP Routing
1085
Configuring Dell Networking Switch A
To configure Switch A.
Enable routing on the switch.
console#configure
console(config)#ip routing
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
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
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
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
Configure the backbone router interface as the default gateway.
console(config)#ip route default 192.168.50.2