190 likes | 199 Views
This document provides examples of ICMP, TCP/UDP traffic for both ingress and egress on a router. It includes preconfigured settings and troubleshooting tips.
E N D
SPP Version 1RouterTraffic Examples John DeHart
Traffic Examples • Ingress: • ICMP Echo Request • ICMP Echo Reply • ICMP Error msgs • TCP or UDP • Preconfigured for GPE, NPE, CP • No Entry • Egress: • ICMP Echo Request • ICMP Echo Reply • ICMP Error Msg • TCP or UDP • Preconfigured • No Entry
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC user login info Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type=0 ID=0xABCD user login info HIT! Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type=0 ID=0xABCD user login info MISS! Resource DB sliver tbl Send pkt to XScale Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type=error user login info Resource DB sliver tbl Send ICMP Error To LC Egress Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type=error user login info Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Reply PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type=8 ID=0xABCD user login info MISS! Handle the same as ICMP Echo Request, Send to XScale and have It send back an ICMP Error Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Reply PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type=8 ID=0xABCD user login info HIT! Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … SAddr DAddr Proto=ICMP Type=0 ID=0xABCD RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC user login info Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC user login info Resource DB SAddr DAddr Proto=ICMP Type=0 ID=0xABCD Add Entry To both Ingress And Egress with possible ID Translation. How do we time out These entries? MISS! sliver tbl Send pkt to XScale Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC user login info Resource DB SAddr DAddr Proto=ICMP Type=0 ID=0xABCD Send pkt back to LCE Xscale modifies pkt hdrs And puts packet In QM Input Ring sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Request PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate SAddr DAddr Proto=ICMP Type=0 ID=0xABCD CP LC user login info Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Reply PE NPE GPE NMP … SAddr DAddr Proto=ICMP Type=8 ID=0xABCD RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC user login info Resource DB GPE Should not receive an ICMP Echo Request, so it should not be sending out an ICMP Echo Reply, but We should probably treat This just like an Echo Request MISS! sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Reply PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC user login info SAddr DAddr Proto=ICMP Type=8 ID=0xABCD Resource DB Add Entry To both Ingress And Egress with possible ID Translation MISS! sliver tbl Send pkt to XScale Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Reply PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC user login info SAddr DAddr Proto=ICMP Type=8 ID=0xABCD Resource DB sliver tbl Send pkt back to LCE Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Echo Reply PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate SAddr DAddr Proto=ICMP Type=8 ID=0xABCD CP LC user login info Resource DB sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Error(s) PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type= 3,4,5,11,12 ID=0xABCD user login info HIT! Resource DB If the offending IP pkt originated from one of our slices, then there should probably be an existing INGRESS lookup entry to match against. sliver tbl Xscale
external interface to fabric and base (additional GPEs) mux TCAM I E SNM SRM Traffic Examples: ICMP Error(s) PE NPE GPE NMP … RMP MP root context planetlab OS 3 2 1 4 x x x x 10GbE (fabric, data) 5 6 1GbE (base, control) x x Substrate CP LC SAddr DAddr Proto=ICMP Type= 3,4,5,11,12 ID=0xABCD user login info MISS! Resource DB If there is no Ingress Lookup Entry that matches, Then send it to XScale To figure out or Log sliver tbl Xscale