Page MenuHomeFreeBSD

Add ability to forward IPv4 packets trough IPv6 only router
AbandonedPublic

Authored by ae on Dec 17 2018, 11:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 8:42 PM
Unknown Object (File)
Mon, Nov 4, 9:24 PM
Unknown Object (File)
Sun, Nov 3, 9:05 PM
Unknown Object (File)
Sep 27 2024, 2:33 PM
Unknown Object (File)
Sep 27 2024, 10:00 AM
Unknown Object (File)
Sep 26 2024, 2:00 PM
Unknown Object (File)
Sep 13 2024, 6:00 AM
Unknown Object (File)
Sep 7 2024, 1:50 AM

Details

Reviewers
None
Group Reviewers
network
Summary

This patch add basic support to add and use IPv4 routes with IPv6 next hop.
Now it is possible to add IPv4 route entry with IPv6 next hop like this:

# route add 192.168.0.0/24 -gateway6 fe80::1%re0
add net 192.168.0.0: gateway fe80::1%re0
# netstat -rnf inet | grep 192.168
192.168.0.0/24     fe80::1%re0        UGS         re0

And when layer2 code is trying to resolve L2 address it will use NDP.
There are some pieces of code that needs to be fixed, e.g. firewall based forwarding.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 21605