Routing Configuration Example

The following figure illustrates a BlackDiamond switch that has three VLANs defined as follows:

  • Finance
    • All ports on slots 1 and 3 have been assigned.
    • IP address 192.207.35.1.
  • Personnel
    • Protocol-sensitive VLAN using the IP protocol.
    • All ports on slots 2 and 4 have been assigned.
    • IP address 192.207.36.1.
  • MyCompany
    • Port-based VLAN.
    • All ports on slots 1 through 4 have been assigned.
Click to expand in new window
Unicast Routing Configuration Example
../Graphics/EX_047.svg

The stations connected to the system generate a combination of IP traffic and NetBIOS traffic. The IP traffic is filtered by the protocol-sensitive VLANs. All other traffic is directed to the VLAN MyCompany.

In this configuration, all IP traffic from stations connected to slots 1 and 3 have access to the router by way of the VLAN Finance. Ports on slots 2 and 4 reach the router by way of the VLAN Personnel. All other traffic (NetBIOS) is part of the VLAN MyCompany.

The example in the above figure is configured as follows:

create vlan Finance tag 10
create vlan Personnel tag 11
create vlan MyCompany

configure Finance protocol ip
configure Personnel protocol ip

configure Finance add port 1:*,3:* tag
configure Personnel add port 2:*,4:* tag
configure MyCompany add port all

configure Finance ipaddress 192.207.35.1
configure Personnel ipaddress 192.207.36.1
configure rip add vlan Finance
configure rip add vlan Personnel

enable ipforwarding
enable rip