IP "routing" issue

Abelenda Diego diego.abelenda at gmail.com
Wed Sep 9 14:43:01 UTC 2020


Hello,

I've got a FreeBSD installation in a DataCenter that provided me with a single
address IPv4 with an upstream gateway (cidr is fine the upstream gateway works
everything is nice and running). I use this machine for Masquerading an private
infrastructure.

Now I need other machines with public IPv4 and when I requested the additional
IPv4 to the DataCenter, they gave me a bunch of /32 addresses saying that
my previous IPv4 MUST be configured as next-hop on their side.
From my understanding in FreeBSD the route command is unable to perform this
kind of configuration where you tell that the IPv4 /32 is available without
next-hop (no via) on a specific link. I know the linux "ip route add $IP dev
$LINK" configures this, but I cannot seem to map this knowledge to FreeBSD.

Is it possible to perform this very special setup with any command on FreeBSD?
If yes what is that command?

Best regards,
Diego Abelenda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20200909/6b6ebd23/attachment.sig>


More information about the freebsd-net mailing list