Skip to content

support rfc8950 nexthop in Linux routing table #3124

@jkldgoefgkljefogeg

Description

@jkldgoefgkljefogeg

Brief description

An IPv6 only link can transparently transport IPv4 packets (no IPv4 configured on link) using a IPv6 nexthop's MAC

example setup https://ungleich.ch/u/blog/how-to-route-ipv4-via-ipv6/

$ ip route
default via inet6 fe80::21b:21ff:febb:6934 dev wlp0s20f3 src 169.265.0.30

Environment

  • Scapy version: 2.4.4
  • Python version: 3.8.6
  • Operating System: Centos 8

How to reproduce

send IPv4 packet at L3 with sr()

Actual result

scapy doesn't properly set up L2, packets never got sent (silent failure)

Expected result

based on routing table, scapy automatically sets Ether()

Related resources

https://tools.ietf.org/html/rfc8950
https://ungleich.ch/u/blog/how-to-route-ipv4-via-ipv6/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions