Objectives
The simulator ticks each one as soon as the network meets it.
On both leaves, enable IPv4 on subinterface 0 of ethernet-1/1 and ethernet-1/2 and give them the addresses in the plan.
Add ethernet-1/1.0 and ethernet-1/2.0 to network-instance default.
Create next-hop group "to-peer" with the other leaf’s link address, and a static route to the far host subnet using it.
Commit, then check show network-instance default route-table for the static route.
Ping PC2 from PC1.
Before you start
enter candidate opens the shared candidate; commit now applies it and returns to running mode. set never changes your context. An interface that is not in network-instance default has an address but routes nothing. Static routes point at a next-hop group rather than an address.
Concept
SR Linux: subinterfaces and network-instances
On SR Linux an IP address lives on a subinterface (ethernet-1/1.0), and it routes only when that subinterface has IPv4 enabled and belongs to a network-instance. The default network-instance is the global routing table; ip-vrf instances are separate VRFs.
Concept
Static routes and the routing table
A static route is an entry you type yourself: “to reach this network, send to this next hop”. Routers know only their directly connected subnets until you add routes or run a routing protocol.