Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

BGP's latest AS number: 4-byte-as conversion to decimal and AS number compatibility

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

The AS number can be made into dotted decimal like the IP address. If you use the 4-byte AS number bgp 255.255, how to convert it to decimal

First convert 255.255 to hexadecimal: FF.FF

Second, convert it to 4 bytes and remove the middle point: 00FF.00FF = 0x00FF00FF

Finally change it to decimal system: 0x00FF00FF = 16711935

So bgp 255.255 = bgp 16711935, other AS numbers are similar

The following is AS number compatibility:

When the party that supports 4-byte-as sees my as = 23456, it goes to find the real AS number under optional parameters.

When the party that does not support 4-byte-as sees that my as = 23456, it thinks that the negotiation on AS failed and ends by sending notification.

Both parties can negotiate successfully regardless of whether or not the two parties support capability-advertise 4, by by, as, as, between 0 and 65535.

You can also manually turn off the 4-byte-as capability:

Undo peer 2.2.2.2 capability-advertise 4-byte-as

Maybe the time relationship is inaccurate in some places. I hope I can correct it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report