I'm trying to firm up my grasp of how I define my neighbor ASes in my IRR entries. https://bgp.he.net/AS40764#_irr In my aut-num, I've defined my two upstreams (Intercarrier and Cogent). I've used their AS-Set or just their AS and used that in the export lines. I'd assume I'd do the reverse in the import fields for any downstream customers. I realized after looking at this that I need to add an export to IX and other peering connections. What else do I need to change? Yes, I realized that I just asked NANOG to criticize me. Hopefully, I get more help than flames. ;-) ----- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com Midwest-IX http://www.midwest-ix.com
On Mon, Sep 20, 2021 at 5:09 PM Mike Hammett <nanog@ics-il.net> wrote:
I'm trying to firm up my grasp of how I define my neighbor ASes in my IRR entries.
https://bgp.he.net/AS40764#_irr
In my aut-num, I've defined my two upstreams (Intercarrier and Cogent). I've used their AS-Set or just their AS and used that in the export lines.
I'd assume I'd do the reverse in the import fields for any downstream customers.
I realized after looking at this that I need to add an export to IX and other peering connections.
What else do I need to change?
I find it easier to put in a set of entries like this: import: from AS-ANY accept ANY export: to AS-ANY announce AS-DIGITALNETWORKACCESS <https://bgp.he.net/irr/as-set/AS-DIGITALNETWORKACCESS> mp-export: afi ipv6 to AS-ANY announce AS-DIGITALNETWORKACCESS <https://bgp.he.net/irr/as-set/AS-DIGITALNETWORKACCESS>-V6 mp-import: afi ipv6 from AS-ANY accept ANY That takes care of anyone on an IX peering port that is doing filtering based off IRR policies, and then you should apply your own sanity filters on your import policies on your router, which you can update programmatically without having to keep updating your IRR policies. ^_^ Matt
Yes, I realized that I just asked NANOG to criticize me. Hopefully, I get more help than flames. ;-)
----- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com
Midwest-IX http://www.midwest-ix.com
Generally, you’ll need an export and import policy for each peer AS. Export should describe what you send to them. Import should describe what you will accept from them. In the case of upstreams, that’s usually “to X export MYAS[+customer_AS list]” and “from X import ANY”. In the case of downstream customers, that’s usually “to Y export ANY” and “from Y import Y”. Obviously, if your customer has downstream ASs, that import policy will expand. Owen
On Sep 20, 2021, at 17:06 , Mike Hammett <nanog@ics-il.net> wrote:
I'm trying to firm up my grasp of how I define my neighbor ASes in my IRR entries.
https://bgp.he.net/AS40764#_irr <https://bgp.he.net/AS40764#_irr>
In my aut-num, I've defined my two upstreams (Intercarrier and Cogent). I've used their AS-Set or just their AS and used that in the export lines.
I'd assume I'd do the reverse in the import fields for any downstream customers.
I realized after looking at this that I need to add an export to IX and other peering connections.
What else do I need to change?
Yes, I realized that I just asked NANOG to criticize me. Hopefully, I get more help than flames. ;-)
----- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com <http://www.ics-il.com/>
Midwest-IX http://www.midwest-ix.com <http://www.midwest-ix.com/>
participants (3)
-
Matthew Petach
-
Mike Hammett
-
Owen DeLong