Skip to content

BGP initialization fails at the 256th router in a single AS #1142

Description

@anhndd

Hello, I got this error when trying to simulate 1000 routers within the same AS

<!> Error: Cannot convert 4.29497e+09 to simtime_t: Out of range (-9223372.036854775807,9223372.036854775807), allowed by scale exponent -12 -- in module (inet::bgp::Bgp) MyNetwork.RUnctrl256.bgp (id=215547), during network initialization

Here is my configuration files:

BGPConfig.xml
IPv4Config.xml
OSPFConfig.xml

These should be changed to .ini and .ned:
omnetpp.txt
MyNetwork.txt

I think the problem is function calculateStartDelay in BgpConfigReader.h only allows to input unsigned char rtPosition and unsigned char rtPeerPosition which only allows to have maximum 255 routers within the same AS. I do not know if it is a standard or a bug in this case. Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions