-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to expand the ASN number? #173
Comments
This is doable. When we create a network inside an AS, if we don't specify the network prefix, we will use "10.AS.0.0/16" as the network prefix. That is why AS is limited to 255. However, if you want to use a number larger than 255, you can provide the network prefix yourself (the default option is
Moreover, when its BGP router joins a Internet Exchange, you need to specify the IP address as well (otherwise, the IP address on the IX network will be
I believe this is all you need. Let me know if there are other problems. |
I have provide the network prefix by myself but it still have the problem, could you please tell me how to fix this? This is my code: Manually specify the network prefix
autonomous_systems[as_number].createRouter(router_name).joinNetwork('net{}'.format(as_number)).joinNetwork(ix_name, ix_ip_address) ebgp = Ebgp() for u, v in G.edges: **This is the error:**Traceback (most recent call last): |
Because of my limited time (have a full-time job), it will be better if you spend sufficient time to do the debugging first, and then show me your debugging results. I will then chip in to help you. That will be a better use of my time. Sorry about that. I don't have a large team to help me. |
@Vivian-Q So, this is my suggestion to fix the issue. You need to assign ip address to Router Server as well as set a prefix. |
Hello,
I want to establish my own network and the number of my AS is more than 253, it occurs error:AssertionError: can't map ASN 255 to IX address. Is there any methods that I can expand the ASN number limitation?
Thanks!
The text was updated successfully, but these errors were encountered: