Skip to content

Conversation

cscarpitta
Copy link
Contributor

staticd already has a CLI to steer IPv6 traffic over a given SRv6 SID list:

ipv6 route 2001:db8:1:1::/64 sr0 segments fcbb:bbbb:1:2:3:fe00::

This PR extends the existing CLI ip route to support steering of IPv4 traffic over an SRv6 SID list.

ip route 10.0.0.0/24 sr0 segments fcbb:bbbb:1:2:3:fe00::

…steering

staticd already has a CLI to steer IPv6 traffic over a given SRv6 SID
list:

```
ipv6 route 2001:db8:1:1::/64 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

This PR extends the existing CLI `ip route` to support steering of IPv4
traffic over an SRv6 SID list.

```
ip route 10.0.0.0/24 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
…fic steering

staticd already has a CLI to steer IPv6 traffic over a given SRv6 SID
list:

```
vrf vrf10
 ipv6 route 2001:db8:1:1::/64 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

This PR extends the existing CLI `ip route` to support steering of IPv4
traffic over an SRv6 SID list.

```
vrf vrf10
 ip route 10.0.0.0/24 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
staticd already has a CLI to steer IPv6 traffic over a given SRv6 SID
list:

```
ipv6 route 2001:db8:1:1::/64 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

This PR extends the existing CLI `ip route` to support steering of IPv4
traffic over an SRv6 SID list.

```
ip route 10.0.0.0/24 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
staticd already has a CLI to steer IPv6 traffic over a given SRv6 SID
list:

```
vrf vrf10
 ipv6 route 2001:db8:1:1::/64 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

This PR extends the existing CLI `ip route` to support steering of IPv4
traffic over an SRv6 SID list.

```
vrf vrf10
 ip route 10.0.0.0/24 sr0 segments fcbb:bbbb:1:2:3:fe00::
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Add an example of how to steer IPv4 traffic over an SRv6 SID list.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Add a topotest to verify the newly introduced CLI to support
steering of IPv4 traffic over an SRv6 SID list.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
@frrbot frrbot bot added documentation staticd tests Topotests, make check, etc labels Feb 3, 2025
@cscarpitta
Copy link
Contributor Author

ci:rerun CI stuck

Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, waiting for freeze.

Copy link

@ahsalam ahsalam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in SONiC to steer IPv4 traffic over SRv6 SID List

@riw777
Copy link
Member

riw777 commented Feb 4, 2025

core, but it doesn't look like it's in the right place, so rerunning that individual test ...

code looks good, waiting on ci and freeze ...

@riw777 riw777 merged commit 063c8cc into FRRouting:master Feb 4, 2025
20 checks passed
cscarpitta added a commit to cscarpitta/sonic-buildimage that referenced this pull request Feb 11, 2025
Currently SONiC supports the steering of IPv6 traffic over SRv6 SID List.
This commit adds the support to steering of IPv4 traffic over SRv6 SID list.

This PR has been already merged into FRR mainline (FRRouting/frr#17988).

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
rlhui pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Mar 6, 2025
…#21707)

Currently SONiC supports the steering of IPv6 traffic over SRv6 SID List.
This commit adds the support to steering of IPv4 traffic over SRv6 SID list.

This PR has been already merged into FRR mainline (FRRouting/frr#17988).

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
yanjundeng pushed a commit to yanjundeng/sonic-buildimage that referenced this pull request Apr 23, 2025
…sonic-net#21707)

Currently SONiC supports the steering of IPv6 traffic over SRv6 SID List.
This commit adds the support to steering of IPv4 traffic over SRv6 SID list.

This PR has been already merged into FRR mainline (FRRouting/frr#17988).

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants