Cisco Public 1 © 2013 Cisco and/or its affiliates. All rights reserved. Run your next CGN on a $20 OpenWRT Andrew

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

AP STUDY SESSION 2.
1
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Myra Shields Training Manager Introduction to OvidSP.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Objectives: Generate and describe sequences. Vocabulary:
RXQ Customer Enrollment Using a Registration Agent (RA) Process Flow Diagram (Move-In) Customer Supplier Customer authorizes Enrollment ( )
4V6 – stateless 4Via6 W. Dec R. Asati
David Burdett May 11, 2004 Package Binding for WS CDL.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
CALENDAR.
1 Linux IP Masquerading Brian Vargyas XNet Information Systems.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
© Tally Solutions Pvt. Ltd. All Rights Reserved Shoper 9 License Management December 09.
Break Time Remaining 10:00.
The basics for simulations
ETS4 - What's new? - How to start? - Any questions?
PP Test Review Sections 6-1 to 6-6
1 The Blue Café by Chris Rea My world is miles of endless roads.
Bright Futures Guidelines Priorities and Screening Tables
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
TESOL International Convention Presentation- ESL Instruction: Developing Your Skills to Become a Master Conductor by Beth Clifton Crumpler by.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 EN0129 PC AND NETWORK TECHNOLOGY I IP ADDRESSING AND SUBNETS Derived From CCNA Network Fundamentals.
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 10 Routing Fundamentals and Subnets.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
Chapter 9: Subnetting IP Networks
Subtraction: Adding UP
: 3 00.
5 minutes.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Converting a Fraction to %
Clock will move after 1 minute
Intracellular Compartments and Transport
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 9 TCP/IP Protocol Suite and IP Addressing.
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
Schutzvermerk nach DIN 34 beachten 05/04/15 Seite 1 Training EPAM and CANopen Basic Solution: Password * * Level 1 Level 2 * Level 3 Password2 IP-Adr.
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1 Ole Trøan, IPv6 mercenary A+P6rd DS- lite.
Presentation transcript:

Cisco Public 1 © 2013 Cisco and/or its affiliates. All rights reserved. Run your next CGN on a $20 OpenWRT Andrew

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 2 Therere plenty of interesting technologies emerging Lets pick MAP: a sustainable life-support for IPv4 Not all of them are on the shelves yet There are some CPE vendors working on it, but I want one *now* Practical steps to make your own CPE for experimental purposes

Cisco Public 3 © 2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public 4 Requires IPv6 in production post-IPv4: IPv4 as a service

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 5 SubscribersProvidersInternet IPv6 IPv4 Private IPv4 IPv6 Private IPv4 IPv6 IPv4 in IPv6 Tunnel IPv6 IPv6-only AFTR

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 6 SubscribersProvidersInternet IPv6 IPv4 Private IPv4 IPv6 Private IPv4 IPv6 IPv4 in IPv6 Tunnel IPv6 IPv6-only AFTR

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public s hostroutes per BNG 100s IGP prefixes 10s BGP prefixes s of subscribers : s of DS-Lite or LW46 Tunnel endpoints AFTR

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public s of subscribers : 10s of MAP Rules and no CGN s hostroutes per BNG 100s IGP prefixes 10s BGP prefixes

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 9 SubscribersProvidersInternet IPv6 IPv4 Private IPv4 IPv6 Private IPv4 IPv6 IPv4 i IPv6 Tunnel IPv6 IPv6-only

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 10 A public IPv4 address: (32 – MAP IPv4 prefix len) = p bits PSID: Port Set ID: q bits p + q = DHCPv6-PD (user) pref.len. – MAP Rule IPv6 pref. len

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 11 IPv6 Delegated Prefix (e.g., /56) IPv4 Address Port Interface ID Subnet-ID 64 (fixed) EA Bits = / :0DB8:00 /42 Mapping Domain Prefix Size = 42 bits (provisioned) 0 42 > 0 XXXX = /24 IPv4 Prefix 24 bits (provisioned) IPv4 Suffix = = 6 Port Set ID =64 port sets per IPv4 Address Ports skipped, each CPE gets 2 16 / = 1008 ports For this Example… + One IPv4 /24 serves 2 (6+8) 16,384 (vs.256) subscribers

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 12

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 13 IPv4 IPv6 Transport Link IPv4 Transport Link IPv4 Transport Link IPv6 Transport Link OR IPv4 Native IPv6 Infrastructure CE BR MAP MAP-EMAP-T

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 14 MAP-E will be a Standards Track RFC MAP-T, 4rd, etc. will be Experimental or Informational LW46/Pubilc4over6 can be viewed as special cases of MAP Goal: One unified standard for CPE vendors Stretch Goal: One unified standard for BR/AFTR vendors

Cisco Public 15 © 2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public 16 The working applications had no need of a special configuration to work. Most of the applications work OK FTP active mode does not work. (But, its 2013…) More info:

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 17 IPv6 MAP Testing at Multi-Vendor Interoperability Test Event 2013 European Advanced Networking Test Center

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 18 Stateless counterpart to DS-Lite Designed to be used without Carrier-Grade NAT Cisco ASR1000, ASR9000 and Cernet (CPE) participated Successfully tested: Mapping of Address and Port with Encapsulation (MAP-E) Mapping of Address and Port using Translation (MAP-T)

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 19 MAP does not route traffic through the ISM Blade, yielding line rate performance. Using A9K-24x10G line cards = 240 Gbps per slot! 7 x 240 = 1.68 Tbps on a 9010 chassis. DS-Lite routes traffic through the ISM Blade 14Gbps per slot

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 20

Cisco Public 21 © 2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public 22 Standards Track Running code on ASR9k Experimental Track Running code on ASR9k, ASR1k My deciding factor: the size of the box. Also, I like NATs. T.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 23 Great platform support Well documented Open Source

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 24 X86 VM The cheapest TL-WR703N The smallest TL-MR3020 Feels more polished TL-WR1043ND PoC platform of choice TL-WDR4300 The luxury CPE.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 25 Ubuntu Server install with all-defaults In a VM => easy to rollback sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential subversion git-core libncurses5-dev sudo apt-get install zlib1g-dev gawk flex quilt libssl-dev unzip sudo apt-get install xsltproc libxml-parser-perl

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 26 git clone git://git.openwrt.org/openwrt.git

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 27 cd openwrt./scripts/feeds update -a./scripts/feeds install -a

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 28 make menuconfig

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 29 make

Cisco Public 30 © 2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public 31 ASAMAP (kernel patches) CERNET MAP (kernel module)

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 32 ivictl -s -i br-lan -I wan0 -H -a /24 -A /32 -P 2001:6f8:147e:1000::/52 -R 16 -z 4 -o 14 -c T ivictl -r -d -P 2610:d0:1208:cafe::/64 –T (does it look complicated to you too ?)

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 33 IETF draft - draft-ietf-softwire-map-dhcp-03 A new MAP DHCPv6 option Rule option DMR option MAP Port Parameters *static* value, the same across the entire MAP domain Lets do some coding!

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 34 Starts /etc/odhcp6c.user on addressing changes Preset environment variables Allocated prefixes DHCPv6 options requested

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 35 ~1 day to write Works Problem: way too slow Need a rewrite!

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 36

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 37 odhcp6c odhcp6c.user mdpc ivictl Not in standard image

Cisco Public 38 © 2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public 39 Package An OpenWRT-specific abstraction Describes - building process - name and place in the menuconfig menu - dependencies to enable Very flexible retrieval mechanism (git, tarball, http, etc.) Feed A collection of packages Simple way to add functionality Only one-line edit needed for the source!

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 40 Adds CERNET MAP package Adds MDPC package Tested on Barrier Breaker (trunk in October 2013)

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 41 IPv6 IPv4 Private IPv4 IPv6 Private IPv4 IPv6 IPv6-only nat64 map-t domain 1 default-mapping-rule 2610:D0:1208:CAFE::/64 basic-mapping-rule ipv6-prefix 2001:6F8:147E:1000::/52 ipv4-prefix /32 port-parameters share-ratio :6F8:147E:1F00::/56 DHCPv6 MAP option(*) DHCPv6

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 42

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 43 DIY demo: (links to

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 44 NATs are good! MAPs are good! Theres a MAP CPE ready for your experiments today My home office connects through a MAP-T CPE and CSR1000V BR Ask your CPE supplier for the production-grade code This model is replicable for other technologies Allows to evaluate the new tech w/o waiting for the vendors The code they ship can contain lessons from early iterations

Thank you.