containerlab icon indicating copy to clipboard operation
containerlab copied to clipboard

cjunos does not have a default route to the management network

Open hellt opened this issue 5 months ago • 1 comments

source - https://discord.com/channels/860500297297821756/1153419542060605551/1421836275366887424

The cjunos does not have a default route in the mgmt vrf, so when external systems try reaching it, the return traffic does not work.

The ad-hoc fix is:

admin@re0> configure
Entering configuration mode

[edit]
admin@re0# set routing-instances mgmt_junos routing-options static route 0.0.0.0/0 next-hop 172.20.20.1

It needs to be added to the default template.

@kmo7 is it something you feel like tackling?

hellt avatar Sep 28 '25 13:09 hellt

Hi Roman,

Sure. It would be great if you could fix it, as I am tied up with another project currently. Thanks for debugging this on a Sunday😊

Kaveh

Juniper Business Use Only From: Roman Dodin @.> Sent: Sunday, September 28, 2025 6:30 AM To: srl-labs/containerlab @.> Cc: Kaveh Moezzi @.>; Mention @.> Subject: [srl-labs/containerlab] cjunos does not have a default route to the management network (Issue #2858)

[External Email. Be cautious of content]

[Image removed by sender.]hellt created an issue (srl-labs/containerlab#2858)https://urldefense.com/v3/__https:/github.com/srl-labs/containerlab/issues/2858__;!!NEt6yMaO-gk!DKJh9X8HsUZ6AHkcZFyfPFPrV8SwnH4lMmedKUhVFGL2GpvsiOpG1a0V5i8Q7kMD3LIGjhkb3wOgNgXv-McRhpreEw$

source - https://discord.com/channels/860500297297821756/1153419542060605551/1421836275366887424https://urldefense.com/v3/__https:/discord.com/channels/860500297297821756/1153419542060605551/1421836275366887424__;!!NEt6yMaO-gk!DKJh9X8HsUZ6AHkcZFyfPFPrV8SwnH4lMmedKUhVFGL2GpvsiOpG1a0V5i8Q7kMD3LIGjhkb3wOgNgXv-MdQh-NnfQ$

The cjunos does not have a default route in the mgmt vrf, so when external systems try reaching it, the return traffic does not work.

The ad-hoc fix is:

@.***> configure

Entering configuration mode

[edit]

@.***# set routing-instances mgmt_junos routing-options static route 0.0.0.0/0 next-hop 172.20.20.1

It needs to be added to the default template.

@kmo7https://urldefense.com/v3/__https:/github.com/kmo7__;!!NEt6yMaO-gk!DKJh9X8HsUZ6AHkcZFyfPFPrV8SwnH4lMmedKUhVFGL2GpvsiOpG1a0V5i8Q7kMD3LIGjhkb3wOgNgXv-Mex-9VKfQ$ is it something you feel like tackling?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/srl-labs/containerlab/issues/2858__;!!NEt6yMaO-gk!DKJh9X8HsUZ6AHkcZFyfPFPrV8SwnH4lMmedKUhVFGL2GpvsiOpG1a0V5i8Q7kMD3LIGjhkb3wOgNgXv-McRhpreEw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AVFQEDPMJFE2IN7WEUO3EM33U7PFVAVCNFSM6AAAAACHWYY5GCVHI2DSMVQWIX3LMV43ASLTON2WKOZTGQ3DCOBVGQ2DCNY__;!!NEt6yMaO-gk!DKJh9X8HsUZ6AHkcZFyfPFPrV8SwnH4lMmedKUhVFGL2GpvsiOpG1a0V5i8Q7kMD3LIGjhkb3wOgNgXv-MdZNwdfuA$. You are receiving this because you were mentioned.Message ID: @.***>

kmo7 avatar Sep 29 '25 19:09 kmo7