Migrating a Campus Network: Flat to Routed



Similar documents
HOST AUTO CONFIGURATION (BOOTP, DHCP)

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

How To Manage Address Management In Ip Networks (Netware)

Using Cisco UC320W with Windows Small Business Server

Application Protocols for TCP/IP Administration

What is VLAN Routing?

Configuring the Edgewater 4550 for use with the Bluestone Hosted PBX

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Topic 7 DHCP and NAT. Networking BAsics.

Chapter 6 Using Network Monitoring Tools

Savvius Insight Initial Configuration

SSVP SIP School VoIP Professional Certification

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

LAN TCP/IP and DHCP Setup

Chapter 6 Using Network Monitoring Tools

Configuring a customer owned router to function as a switch with Ultra TV

Top-Down Network Design

How To Check If Your Router Is Working Properly

How To Understand and Configure Your Network for IntraVUE

How to Configure an Initial Installation of the VMware ESXi Hypervisor

Lab 5-5 Configuring the Cisco IOS DHCP Server

Configuring WAN Failover with a Cisco 881 Router and an AirLink ES440

IntraVUE Plug Scanner/Recorder Installation and Start-Up

BASIC FIREWALL SERVICES

IP Routing Features. Contents

SSVVP SIP School VVoIP Professional Certification

Configuring IP Addressing and Services

Load Balancing for esafe Gateway 3.0 when using Alteon s AD2 or AD3

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

Installation of the On Site Server (OSS)

Security Considerations in IP Telephony Network Configuration

Acellus Lab Cart. User s Manual. Version 4B. Acellus Corporation Copyright 2010 Acellus Corporation. All Rights Reserved.

Use MAC-Forced Forwarding with DHCP Snooping to Create Enhanced Private VLANs

Chapter 1 Configuring Basic Connectivity

Application Note Startup Tool - Getting Started Guide

iboss Enterprise Deployment Guide iboss Web Filters

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

Hosting more than one FortiOS instance on. VLANs. 1. Network topology

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Configuring Network Address Translation (NAT)

Abstract. MEP; Reviewed: GAK 10/17/2005. Solution & Interoperability Test Lab Application Notes 2005 Avaya Inc. All Rights Reserved.

Chapter 3 LAN Configuration

Device Interface IP Address Subnet Mask Default Gateway

Detecting rogue systems

Protecting the Home Network (Firewall)

Skills Assessment Student Training Exam

Management Software. User s Guide AT-S84. For the AT-9000/24 Layer 2 Gigabit Ethernet Switch. Version Rev. B

Chapter 7 Troubleshooting

Configuring the Transparent or Routed Firewall

Virtual Appliances. Virtual Appliances: Setup Guide for Umbrella on VMWare and Hyper-V. Virtual Appliance Setup Guide for Umbrella Page 1

Implementing DHCPv6 on an IPv6 network

AT-S60 Version Management Software for the AT-8400 Series Switch. Software Release Notes

What communication protocols are used to discover Tesira servers on a network?

Abstract. Avaya Solution & Interoperability Test Lab

FSM73xx GSM73xx GMS72xxR Shared access to the Internet across Multiple routing VLANs using a Prosafe Firewall

Cisco Secure PIX Firewall Frequently Asked Questions

Chapter 1 Configuring Internet Connectivity

Date 07/05/ :20:22. CENTREL Solutions. Author. Version Product XIA Configuration Server [ ]

How To Check If Your Router Is Working Properly On A Nr854T Router (Wnr854) On A Pc Or Mac) On Your Computer Or Ipad (Netbook) On An Ipad Or Ipa (Networking

DNS and DHCP. 14 October 2008 University of Reading

Implementation of Virtual Local Area Network using network simulator

Configuration Notes 283

KAREL UCAP DNS AND DHCP CONCEPTS MANUAL MADE BY: KAREL ELEKTRONIK SANAYI ve TICARET A.S. Organize Sanayi Gazneliler Caddesi 10

Skype Connect Getting Started Guide

CounterACT 7.0 Single CounterACT Appliance

- Basic Router Security -

Campus IPv6 connection Campus IPv6 deployment

NETE-4635 Computer Network Analysis and Design. Designing a Network Topology. NETE Computer Network Analysis and Design Slide 1

Abstract. Avaya Solution & Interoperability Test Lab

Lab IP Addressing Overview

SyAM Software Management Utilities. Creating Templates

Catalyst Layer 3 Switch for Wake On LAN Support Across VLANs Configuration Example

How To Deploy Sangoma Sbc Vm At Amazon Cloud Service (Awes) On A Vpc (Virtual Private Cloud) On An Ec2 Instance (Virtual Cloud)

SonicWALL DHCP Server Enhancements in SonicOS Enhanced 4.0

UTM10 in multi-ssid, multi-vlan network with WMS5316. Network diagram

Cisco CNR and DHCP FAQs for Cable Environment

Draytek Vigor 2820/2830 Configuration. A guide for Exa Resellers and IT Contractors

Provisioning Cable Services

VLSM Static routing. Computer networks. Seminar 5

Network Virtualization Network Admission Control Deployment Guide

Mobility System Software Quick Start Guide

Internet Control Protocols Reading: Chapter 3

IP Phone Configuration and Troubleshooting Guide

Initial Access and Basic IPv4 Internet Configuration

Chapter 8 Router and Network Management

Yealink Phones User Guide Bicom Systems

Network Setup Guide. 1 Glossary. 2 Operation. 1.1 Static IP. 1.2 Point-to-Point Protocol over Ethernet (PPPoE)

Campus Network Best Practices: Core and Edge Networks

Voice Gateway with Router

VIA CONNECT PRO Deployment Guide

Basic ESXi Networking

ACP ThinManager Tech Notes Troubleshooting Guide

Enabling Multiple Wireless Networks on RV320 VPN Router, WAP321 Wireless-N Access Point, and Sx300 Series Switches

CUSTOMIZED ASSESSMENT BLUEPRINT COMPUTER SYSTEMS NETWORKING PA. Test Code: 8148 Version: 01

TECHNICAL WHITEPAPER. Author: Tom Kistner, Chief Software Architect. Table of Contents

Chapter 11 Network Address Translation

Transcription:

Migrating a Campus Network: Flat to Routed Brian Candler Network Startup Resource Center brian@nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/)

Ideal routed campus network border router 10.1.255.0/29 core router 10.1.0.0/24 servers 10.1.1.0/24 building 1 10.1.2.0 /24 10.1.3.0 /24 10.1.4.0/24 building 4 building 2 building 3

Changing from flat network implies: Nearly everything needs renumbering! Well, you can keep one subnet on its old addresses What's hardest to renumber - servers perhaps? So, first get as much as possible onto DHCP This lets you renumber centrally

Quick refresher: DHCP (RFC2131) A DHCP exchange is 4 UDP messages: Client sends "Discover" (broadcast) One or more servers replies with "Offer" Client picks one offer and sends "Request" Server responds with "Ack" to confirm Address is granted for a finite "lease time" When this is nearly over, client must request again to continue using the address

Lease time It's a good idea to reduce the lease time in advance of renumbering e.g. say current lease time is 24 hours reduce this to 10 minutes then wait 24 hours by this time you'll know every device is refreshing its address every 10 minutes minimises time for new addresses to be picked up Put back up after change tested and successful

DHCP options (RFC2132) DHCP response can also contain other settings to configure the client Netmask, default gateway DNS servers, default domain SIP server (IP phones) TFTP boot server (PXEboot / diskless clients) Centralises all client network configuration

Managing devices Highly recommended to use DHCP to configure even devices with "static" IP addresses like printers, phones, admin workstations DHCP servers can be configured with a mapping of MAC address to fixed IP address DHCP logs are a useful source of availability information

DHCP broadcasts You need to respond to the DHCP Discover broadcasts on every subnet Option 1: run DHCP service on the router itself can be awkward to manage if you have a lot of custom options or static MAC address mappings Option 2: use a feature on the router called "DHCP relay" or "DHCP helper" relays requests to one or more DHCP servers

DHCP relay DHCP relay agent 2. DISCOVER (unicast) 1. DISCOVER (broadcast) core router DHCP 1 DHCP 2 PC 4. OFFER (broadcast or unicast) * 3. OFFER (unicast) * Client can request broadcast response using the B flag

DHCP relay configuration Repeat for every interface where DHCP service required interface Vlan100 ip address 10.1.1.1 255.255.255.0 ip helper-address 10.1.0.4 ip helper-address 10.1.0.5

DHCP server configuration Define each subnet where service is required (Windows DHCP server: "DHCP scope") subnet 10.1.1.0 netmask 255.255.255.0 { option routers 10.1.1.1; option subnet-mask 255.255.255.0; range 10.1.1.100 10.1.1.199; }

Questions?

Planning Migration R R 10.1.0.0/24 10.1.255.0/29 S servers R 10.1.0.0/24 servers 10.1.1.0/24 10.1.4.0/24 10.1.2.0 /24 10.1.3.0 /24 building 1 building 4 building 1 building 4 building 2 building 3 building 2 building 3

General principles No "big bang"! Series of small, incremental changes Test at each stage Plan to rollback at each stage You will discover things that break Understand the problem, correct and try again Localize outages and give advance warning

Managing complexity Incremental steps means you will be running parts of old and new configuration in parallel Remember to strip out old configuration when it is no longer needed So it's understandable So you are not left with any config which might be important but actually isn't It all gets easier with experience

Quick example You want to replace an old switch with a new one. How would you go about it? Old switch New switch For discussion!

Longer example Migrate one building from the flat network onto three new subnets (e.g. wired, wireless, guest)

Before (detail) Core Switch NOC VLAN which spans campus Distribution Switch Remote Building Edge Switch Edge Switch

1. Create new VLANs in core New VLAN subinterfaces Core Switch Spare access port Test vlan 11, 12, 13 in turn Distribution Switch Edge Switch Edge Switch Test all client functionality, e.g. DHCP, routing

Rollback plan Undo changes to core switch Take a copy of the config before you start making any changes, so you have a reliable reference

2. Add new VLANs to trunk Core Switch Old VLAN New VLAN subinterfaces Tagged VLANs 11,12,13 New VLANs on trunk port Distribution Switch Edge Switch Edge Switch Should not break anything! (But check anyway)

Choice to make Run the old VLAN untagged, together with the new VLANs tagged; OR Change the old VLAN to tagged at both ends bigger change, but may be easier to understand Whichever you are most comfortable with No clients should be affected yet Rollback plan: revert these small config changes

3. Extend VLANs to edge Core Switch Distribution Switch Tagged VLANs 11,12,13 Edge Switch Edge Switch Again, nothing should break

4. Test with spare access ports Core Switch Distribution Switch Edge Switch Edge Switch Re-test all client functionality, DHCP, routing

5. Re-assign edge ports individually Core Switch Distribution Switch Edge Switch Edge Switch Clients moved to new VLANs Controlled interruption to service

6. Move all the remaining clients Hint: a 5-second shutdown on the port can help force clients to re-dhcp shutdown no shutdown Problematic clients can be rolled back to the old VLAN while you work out how to fix them For important devices, check in DHCP logs that they have come back

7. Renumber the switches Give the switches new management IP addresses on the appropriate new VLAN Remember the default gateway will change Try not to lock yourself out! Serial console is safest way to do this Might choose to do this earlier (before moving clients)

8. Check nothing on old VLAN IPs nmap / angry IP scanner are useful tools for this connect a laptop to each new VLAN, but configured statically with an IP address on the old VLAN range nmap -sp -n x.x.x.x/x # old range you will discover any devices which are still statically configured with old IP addresses find them and correct them

9. Strip out the old VLAN Core Switch NOC Distribution Switch Remote Building Edge Switch Edge Switch Final test to sign-off

Summary Lots of steps, but each one is easy to rollback Plan in advance what the final configuration will look like, and the steps to get there Make sure you know how to rollback any step Test before and after each change Monitoring key devices with e.g. Nagios can give you extra confidence nothing has broken

Plan within your constraints Some of your switches are dumb? Some parts of your network must be in service at particular times? Make a plan which best fits your situation

Other hints and tips If your core switch has only SFP ports, a copper gigabit SFP is useful for testing If you move an IP address from one device to another, other devices may have the old MAC address cached in their ARP table for a while Cisco routers are worst: 4 hour ARP timeout! "clear ip arp-cache" may be required "write mem" as each change completed and tested

Renumbering servers If you are renumbering servers, remember to reduce the DNS TTL in advance of changes allow enough time for all caches to expire records with the old TTL Put it back up afterwards "Secondary IPs" can be useful when renumbering servers on the same VLAN both old and new IPs active at the same time

Don't forget (static) routes 10.1.0.0/24 via 10.1.255.2 10.1.1.0/24 via 10.1.255.2 10.1.2.0/24 via 10.1.255.2 10.1.3.0/24 via 10.1.255.2 10.1.4.0/24 via 10.1.255.2 OR: 10.1.0.0/16 via 10.1.255.2 10.1.1.0/24 border router core router 10.1.255.1 10.1.255.2 0.0.0.0/0 via 10.1.255.1 10.1.0.0/16 via Null0 (why?) 10.1.0.0/24 10.1.4.0/24 servers building 1 10.1.2.0 /24 10.1.3.0 /24 building 4 building 2 building 3

The End!