campus network design for nren engineers

48
Campus Network Design for NREN Engineers Dale Smith Network Startup Resource Center [email protected] This document is a result of work by the Network Startup Resource Center (NSRC at http://www.nsrc.org ). This document may be freely copied, modified, and otherwise re-used on the condition that any re-use acknowledge the NSRC as the original source.

Upload: others

Post on 17-Mar-2022

4 views

Category:

Documents


0 download

TRANSCRIPT

Campus Network Design for NREN Engineers

Dale Smith Network Startup Resource Center

[email protected] This document is a result of work by the Network Startup Resource Center (NSRC at http://www.nsrc.org). This document may be

freely copied, modified, and otherwise re-used on the condition that any re-use acknowledge the NSRC as the original source.

Research and Education Networks •  Some Terminology

– Research and Education = R&E – Research and Education Networks = REN – National REN = NREN

•  Globally, the REN connectivity is very complex and very difficult to understand

Research and Education Networking

•  A layered model – Global Connectivity – Regional RENs – National Research and Education Networks – All users are connected at the campus

network level •  No scientist is connected directly to a National

Network. They are all connected to campus or enterprise networks

Global REN Connections

•  Connect Regional or National networks together

•  Tend to be longer, more expensive circuits •  Not always well coordinated •  Routing policies often inconsistent •  Always are peering networks

Regional REN Connections

•  Connects RENs of individual countries within a geographic region – EUMedConnect (North Africa/Middle East) – TEIN4 (Asia) – CAREN (Central Asia) – GEANT (Europe) – RedCLARA (South & Central America) – AfricaConnect/Ubuntunet (West & Central Africa) – And others

RedCLARA March 2011

Porto Alegre

ALICE2  

CLARA  

RNP  

AmLight  

Campus versus NREN •  As an NREN engineer, why do you care

about campus networks? •  How about when they call with

– The Internet is slow – You aren’t giving me the bandwidth you are

selling me •  Often these problems are campus

problems, not a problem with the NREN •  What is your role to help campuses?

Campus Network Challenges •  Many are not structured properly and can’t

effectively utilize high bandwidth connections

•  Many make heavy use of NAT and firewalls that limit performance

•  Many are built with unmanaged network equipment that provide no ability for monitoring or tuning the network

•  Many don’t run any network monitoring

Campus Network Rules •  Minimize number of network devices in any path •  Use standard solutions for common situations •  Build Separate Core and Edge Networks •  Provide services near the core •  Separate border routers from core •  Provide opportunities to firewall and shape

network traffic

Core versus Edge •  Core network is the “core” of your network

– Needs to have reliable power and air conditioning

– May have multiple cores – Always route in the core

•  Edge is toward the edges of your network – Provide service inside of individual buildings

to individual computers – Always switch at the edge

Minimize Number of Network Devices in the Path

•  Build star networks

•  Not daisy chained networks

Edge Networks (Layer 2 LANs) •  Provides Service to end users •  Each of these networks will be an IP

subnet •  Plan for no more than 250 Computers at

maximum •  Should be one of these for every

reasonable sized building •  This network should only be switched •  Always buy switches that are managed –

no unmanaged switches!

Edge Networks

•  Make every network look like this:

Fiber link to core router

Edge Networks Continued •  Build Edge network incrementally as you

have demand and money •  Start Small:

Fiber link to core router

Edge Networks Continued •  Then as you need to add machines to the

network, add a switch to get this: Fiber link to core router

Edge Networks Continued •  And keep adding switches to get to the

final configuration Fiber link to core router

Edge Networks Continued •  And keep adding switches to get to the

final configuration Fiber link to core router

Edge Networks Continued •  Resist the urge to save money by breaking this

model and daisy chaining networks or buildings together

•  Try hard not to do this: Fiber link to core router

Link to adjacent building

Link to another building

Edge Networks Continued •  There are cases where you can serve multiple

small buildings with one subnet. •  Do it carefully.

Cat5e or fiber

Fiber link to core router

Cat5e or fiber

Core Network

Routing versus Switching Layer 2 versus Layer 3

•  Routers provide more isolation between devices (they stop broadcasts)

•  Routing is more complicated, but also more sophisticated and can make more efficient use of the network, particularly if there are redundancy elements such as loops

Layer 3 Switches •  Many vendors use the term “Layer 3

Switch”. •  These are contradictory terms

– Layer 3 = Routing – Switch = Layer 2

•  What vendors mean is that it is a device that can be configured as a router or a switch or possibly both at the same time.

Switching versus Routing These links must be routed, not switched

Core Network •  Reliability is the key

–  remember many users and possibly your whole network relies on the core

•  May have one or more network core locations •  Core location must have reliable power

– UPS battery backup (redundant UPS as your network evolves)

– Generator – Grounding and bonding

•  Core location must have reliable air conditioning

Core Network •  At the core of your network should be routers – you must

route, not switch. •  Routers give isolation between subnets •  A simple core:

Border Router Core Router All router interfaces on a separate subnet

Central Servers for campus

Fiber optic links to remote buildings

ISP

Where to put Firewalls •  Security devices are usually placed “in line” •  This means that the speed of the firewall affects access to

the outside world •  This is a typical design:

Border Router Firewall/ Traffic Shaper

Core Router All router interfaces on a separate subnet

Fiber optic links to remote buildings

ISP

Where to put Firewalls •  As Campus Networks have gotten better bandwidth, the

firewall becomes a bottleneck. •  Consider moving high bandwidth devices from behind

firewall (this is sometimes called the Science DMZ) •  Recommended Configuration:

Border Router Firewall/ Traffic Shaper

Core Router All router interfaces on a separate subnet

Fiber optic links to remote buildings

ISP

Science DMZ Router or switch Science DMZ

Hosts and Monitoring

Where to put Servers? •  Servers should never be on the same subnet as users •  Should be on a separate subnet off of the core router •  Servers should be at your core location where there is

good power and air conditioning Border Router Firewall/

Traffic Shaper Core Router All router interfaces on a separate subnet

Fiber optic links to remote buildings

Servers in core

Internet Service Provider

Where to put Servers? •  Sometimes you need servers that have public IP addresses •  Can put directly off of a firewall with no NAT •  Can have some servers with an interface on both the

external network and an internal network Border Router Firewall Core Router All router

interfaces on a separate subnet

Fiber optic links to remote buildings

Internal Servers

Internet Service Provider

Public Servers

Border Router •  Connects to outside world •  RENs and Peering are the reason you need them

–  Science DMZ might be another reason •  Must get Provider Independent IP address space to

really make this work right

Campus Network

Internet Service Provider

Your REN

Putting it all Together Border Router

Core Router

Fiber Optic Links

Firewall/

Traffic Shaper

Fiber Optic Links

Internal Servers

ISP

Your REN

Public Servers

Science DMZ Servers and Monitoring

Wireless Links instead of Fiber

Wireless Links

Border Router

Core Router

Fiber Optic Links

Firewall/

Traffic Shaper

Internal Servers

ISP

Your REN

Public Servers

Science DMZ Servers and Monitoring

Layer 2 and 3 Summary •  Route in the core •  Switch at the edge •  Build star networks – don’t daisy chain •  Buy only managed switches – re-purpose

your old unmanaged switches for labs

Campus Fiber Optic Cabling •  Two basic types of fiber

– Multi Mode

– Single Mode

Multi Mode Fiber •  Two basic types:

– 62.5 micron core. Legacy, older style – 50 micron core. Newer

•  A number of standards to be aware – G.651 – 50 micron – OSI/IEC 11801 OM1 – 62.5 – OSI/IEC 11801 OM2 – 50 micron – OSI/IEC 11801 OM3 – 50 micron laser optimized – OSI/IEC 11801 OM4 – 50 micron higher bw

Single Mode Fiber •  All have core between 8 and 10 micron •  Standard types:

– OS1 and OS2 (OSI/IEC 11801 types) –  ITU G.652 (A, B, C, D) –  ITU G.653 – 1310/1550 with EDFA amps –  ITU G.654 – 1550 only –  ITU G.655 – 1550/1625 for long haul DWDM –  ITU G.656 – 1460/1625 for long haul DWDM

•  You want G.652.D or OS2 single mode

Types of Optical Interfaces

Standard Speed Fiber Type

100baseFX 100Mbs MM

1000baseSX 1Gbs MM

1000baseLX/LH 1Gbs MM or SM

10GbaseSR 10Gbs MM

10GbaseLRM 10Gbs MM

10GbaseLR 10Gbs SM

10GbaseER 10Gbs SM

Optical Interfaces: Cost & Distance Standard Cost* OM1 OM2 OM3 OM4 G.652.D

100baseFX $125 2km 2km 2km 2km No

1000baseSX $100 275m 550m 1km 1.1km No

1000baseLX/LH $169 500m 500m 500m 500m 10km

10GbaseSR $475 33m 82m 300m 550m No

10GbaseLRM $785 220m 220m 300m 400m No

10GbaseLR $495 No No No No 10km

10GbaseER $6050 No No No No 40km

*pricing for genuine Cisco products from networkhardwareoutlet.com. In the USA, these products can be purchased cheaper than shown.

Simple Campus Network

•  What kind of fiber will work for Gigabit? •  How about for 10Gig?

Border Router

Core Router

Central Servers for campus

Fiber optic links to remote buildings

200m 300m 500m 600m

Copper cable

Fiber Price Comparison

Fiber Type Cost per km* OM1 (62.5 legacy) $4,270

OM2 (50 legacy) $2,854

OM3 (50 laser optimized) $7,248

OM4 (new std) $7,990

G.652.D (single mode) $938

•  Single mode fiber cabling is cheaper •  Multi mode optical interfaces are cheaper •  What makes sense for your campus?

*Pricing based on 12-fiber outdoor cable, Corning 012TU4-T41xxD20, quote obtained in April, 2013

Fiber Recommendations - Campus •  Campus networks should only install

single mode G.652.D or OS2 fiber •  They should not install any type of multi

mode fiber •  Contractors will recommend OM3 or OM4

– Don’t do that, use single mode

Questions?

This document is a result of work by the Network Startup Resource Center (NSRC at http://www.nsrc.org). This document may be freely copied, modified, and otherwise re-used on the condition that any re-use acknowledge the

NSRC as the original source.

Symbols to use for diagrams