Hi Jeffrey, My comments in line ...
On 2/17/17, 9:09 PM, "Jeffrey (Zhaohui) Zhang" <zzh...@juniper.net> wrote: >Hi Ali, > >> >Is it that besides their own default gateway, an additional common >> >gateway is advertised using that extended community? If so, what's the >> >purpose to call those different IP addresses on the IRB interfaces >> >"default gateway"? I assume the hosts will be using the common gateway >> >address? >> >> This comment should be already addressed by above clarification. >> >> > >> > It is worth noting that if the applications that are running on the >> > TS's are employing or relying on any form of MAC security, then the >> > first model (i.e. using anycast addresses) would be required to >> > ensure that the applications receive traffic from the same source >>MAC >> > address that they are sending to. >> > >> >Why is that? As long as an NVE changes the source MAC to the one it >>sends >> >in the ARP reply, it should work even with the 2nd model? >> >> If it changes, yes but if it doesn¹t change it, it creates issue for MAC >> security. Modified the paragraph to provide further clarification: >> >> "It is worth noting that if the applications that are running on the >>TS's >> are employing or relying on any form of MAC security, then either the >> first model (i.e. using anycast MAC address) should be used to ensure >>that >> the applications receive traffic from the same IRB interface MAC address >> that they are sending to, or if the second model is used, then the IRB >> interface MAC address MUST be the one used in the initial ARP reply for >> that TS." > >I thought it was a given that the mac address in the ARP reply is the >same as the mac address that the device uses when it routes a packet out >of the IRB interface? No, it not that simple if there is no ARP request upon a MAC move! VM1 with (MAC1, IP1) first appears behind PE1 with IRB-x (MAC-x, and IP-x). Then it moves to PE2 with IRB―y (MAC-y, IP-x). The VM1 move may not trigger an ARP request. So, the packets from the VM1 with MAC-DA of MAC-x need to aliased to IRB-y. In the reverse direction, the packets from PE2 to VM1 will typically have MAC-SA as MAC-y (IRB interface of PE2); however, if VM1 expects to receive packets with MAC-SA as MAC-x (for MAC sec. application), then PE2 needs to use the MAC address of IRB-x (on PE1) which is the MAC address of “initial ARP” initiated by PE1. > >> > >> >For section 4.2, the processing on the ingress and egress NVE is no >> >different from 4.1; the processing on the ASBRs is vanilla EVPN >> >forwarding and not specific to inter-subnet forwarding at all; >>therefore, >> >4.2 is not really needed? Additionally, the section is about "w/o GW", >> >yet the text talks about ingress/egress Gateway. It's better to replace >> >Gateway with ASBRs. >> >> Changed ³GW" in the diagram to ³ASBR². > >For conciseness, it may be better to simply remove 4.2 because of the >reasons mentioned above. It is a different scenario than 4.1 and thus deserves different explanation. I may make reference 4.1 and remove duplicate texts. > >> > >> > ... This implies that the GW1 needs to keep the remote >> > host MAC addresses along with the corresponding EVPN labels in the >> > adjacency entries of the IP-VRF table (i.e., its ARP table). >> > >> >Does that mean GW1 needs to keep all type-2 IP/MAC addresses that GW2 >> >learns from NVEs in DC2? >> >> Yes it does. >> >> >Also does that mean GW1 and GW2 must be attached to all subnets? >> >> That¹s correct. >> >> > If so, between the source NVE and its local GW, when the source NVE >> >route the traffic to the GW, I assume it's the destination subnet's IRB >> >interface's mac address that will be used as the source mac address, >> >> Correct. It is NVE1¹s destination subnet¹s IRB interface MAC address. >> >> >and GW1's IRB mac address for the destination subnet is used as the dst >> >mac address. It is true that an NVE may have the same system mac >>address >> >for all its IRB interfaces, but it's good to point out which IRB is >>used >> >(and if different IRB mac address is used, things will still work out). >> >> I update the section 4.3. Please take a look at it (refer to the >> attachment) and let me know if you have any further comments. > >I just realized that the spec only mentions a default route in the IP-VRF >but it does not mention how it is advertised. Is it advertised as IP-VPN >(SAFI 128) route or the unknown mac route in EVPN? If IP-VPN, there is >only one such route and it is not tied to the destination subnet; if it >is the unknown mac route, I assume it is one per subnet, but eventually >only one is selected as active, and it may not be tied to the destination >subnet? On the other hand, between the source NVE and its local GW, it >does not really matter which subnet is used. The text should be clear >though: a) how is the default route advertised; b) how is the traffic >forwarded between the source NVE and its local GW - looks like only IP >payload is needed (similar to the symmetric case)? We need to look at this scenario with respect to both NVE and GW: From NVE perspective, the inter-subnet traffic within its own DC, is handle based on section 4.1. For inter-DC inter-subnet traffic, it is handled similar to symmetric IRB case. From GW perspective, the inter-subnet traffic between the GW is handled based on asymmetric IRB of 4.1. I will add some additional explanation. > >I looked at the updated 4.3 but the text is still confusing. > >BTW - if an NVE/GW advertises an unknown mac route, when we install an IP >route to the IP VRF, should we install subnet's prefix route instead of >the default route? GW should advertise default route to NVE - ie, in this scenario we want the NVE only maintain routes for their own DC and not any other DCs. >BTW - I could not figure out in which draft the unknown mac route is >defined. The virtual hub and spoke draft says: > > [I-D.EVPN-overlay] defines the notion of the unknown MAC route for an > EVI which is analogous to a VPN-IP default route for a VPN. > >But the EVPN overlay draft does not have the details. It only mentions >unknown mac route. I’ll add the reference for unknown MAC route. > >> >> > >> >Also, while each subnet is attached to each NVE, the IP routing process >> >(e.g. TTL decrement) happens twice - first on the source NVE and then >>on >> >the source GW. That's probably OK, but better point out all these >>details. >> >> TTL decrement is given when IP lookup is performed at each hop. > >True; my point is that when a router is connected to every subnet, >routing would only happen once. In this case, routing happens twice even >though every subnet is connected to every NVE. It happens twice (one on the ingress NVE and another on the ingress GW). The reason it happens twice is the ingress NVE only has default route to ingress GW for all routes from other DCs. Cheers, Ali > >Jeffrey > _______________________________________________ BESS mailing list BESS@ietf.org https://www.ietf.org/mailman/listinfo/bess