1 Initial setup

Each group is provided with a layer 3-capable switch, but in its out-of-the-box default flat switch configuration. There is an uplink to a Linux virtual machine which is acting as border router and DHCP server.

1.1 Layer 1/2 diagram

           |eth0
      +----+---+
      | Border |
      | Router/|
      |  DHCP  |
      +----+---+
           |eth1
           |
           |vlan1
    +------+------+
    |    Core     |
    |   Switch    |
    +--+---+---+--+
       |   |   |vlan1
       |   |   |
      [=] [=] [=]

        LAPTOPS

1.2 Layer 3 diagram

In this diagram, replace X with your group number.

        ^
        |10.10.0.X
     +--+---+
     | RTR/ |
     | DHCP |
     +--+---+
        |.254
        |                 Subnet 192.168.X.0/24
  ------+----+---+---+--------------------------- 
             |   |   |  DHCP .10-.246
             |   |   |  pool
            [=] [=] [=]

             LAPTOPS

2 Initial setup

Everyone in the group should connect their laptop to their group's switch with a CAT5 cable, and turn off their wireless interface.

Check that:

Each laptop represents a "building" in the campus network. Give each laptop a designation like "Library", "Computer Lab", "President's Office" etc.

Copy out the layer 1 diagram and annotate it showing which switch port corresponds to which building.

If sticky labels are available, also label each CAT5 cable with the building name.

3 Design

You are now going to design, on paper, a new routed campus network.

When you have finished it, show your design to the instructors. Some of you may be asked to explain it in front of the class.

4 Planning

You are now going to make a plan for converting your original network into the final network, step by step.

It may be helpful to start by brainstorming all the changes which will be required, and then assemble them into a usable sequence of steps.

Points to remember:

Again, when you have finished, show your plan to the instructors. You may also be asked to explain it in front of the class.

5 Rollout

Go ahead and implement your plan to reconfigure your campus!

Try to minimise outages to the laptops (buildings).

You do not need to complete the entire set of changes, but aim to get at least one "building" on a new IP range and routed through the core router. Check that it is still able to ping people who are on the old network.

5.1 Lab access instructions

6 Useful notes

6.1 Cisco configuration

# Basic setup
hostname <NAME>
!
aaa new-model
aaa authentication login default local
aaa authentication enable default enable
username nsrc secret nsrc
enable secret nsrc
service password-encryption
line vty 0 4
 transport preferred none
line console 0
 transport preferred none
!
no logging console
logging buffered 8192 debugging
no ip domain-lookup
ipv6 unicast-routing

# Enable ssh
ip domain-name ws.nsrc.org
crypto key generate rsa 2048
ip ssh version 2
line vty 0 4
 transport input ssh

# Disable VTP and PVST (Cisco proprietary protocols), use MST/RSTP instead
vtp mode transparent
spanning-tree mode mst

# Set root bridge priority to 4096
spanning-tree mst 0 4096

# List VLANs/create a VLAN
show vlan
vlan database
 vlan 10
 exit

# Configure a switch port as access port to a VLAN
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access

# Configure a switch port as a tagged trunk
interface FastEthernet0/1
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10,20,30
 switchport mode trunk

# Enable layer 3 functionality
ip routing

# Create an router IP interface on a VLAN
interface Vlan10
 ip address 192.0.2.254 255.255.255.0

# Enable DHCP relay
interface Vlan10
 ip helper-address 6.7.8.9

# Show forwarding table
show ip route

# Add default route
ip route 0.0.0.0 0.0.0.0 1.2.3.4

# Shutdown a port (to force client to re-DHCP)
interface FastEthernet0/1
 shutdown
 ! wait about 5 seconds
 no shutdown

# ARP cache manipulation
show ip arp
clear ip arp

6.2 Linux configuration

6.2.1 Routing

6.2.2 DHCP server