From owner-freebsd-net@freebsd.org Wed Sep 9 14:43:01 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5B2373D2ABB for ; Wed, 9 Sep 2020 14:43:01 +0000 (UTC) (envelope-from diego.abelenda@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bml9w4vRJz4LJM for ; Wed, 9 Sep 2020 14:43:00 +0000 (UTC) (envelope-from diego.abelenda@gmail.com) Received: by mail-ej1-x629.google.com with SMTP id j11so3980794ejk.0 for ; Wed, 09 Sep 2020 07:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version; bh=+t27QAJ0WQOCFkRM/pGv40+wXNcgXdz5KNuHswR3G1c=; b=DilwuRq9TGD+6UOLCLNsvmSaI3ROi3qZxr4dpALq5RHDc9LbFOClyFlBCFUmd46xUI pu+7VoPUR0mwtyx0mrKi/rNWCeVWpffxskSBbv2O5hha/+7e3gXwe3nqdMpjxghTT4fD Ybr5bB8JrLzH3tJfhkMe1VwUjwv9GJ6C0TaLX1aRWm+6jmIl2XpMfCO6Tj3LPOl4/gqJ SPARmSbA5FfAhhreKIl2YFSPbvMEhY9EW06/daLr8j5dHoi55aumI0IgNWBauzIRnDHX bvwA36XUBmtjzzr1v5FbC/36S3s2yDfPlfBvpxxyJjEVBoMdwOEbV4z5HUmKyGIFpwiL L6DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version; bh=+t27QAJ0WQOCFkRM/pGv40+wXNcgXdz5KNuHswR3G1c=; b=mTv00wLQc30TTqkVHdRVJgWfW72qls5Bi6IYe8IZRyke+jBmLys6HdUluwXIHJ7YPn Jdlok693nTXBtY/cWC6FcvxzAAKJ9uMeTbs2rIu1DPiqfMHR5ZwdDIjUOFNayQBwpP9C s22u2hCKWeIa5HSWOJ9onU7tTbUukITqUEDQzldyfecKKOAthVIFZjlqyMNaP4qrWcfj LBRFBCA1rXdPWcYyGWbGn6HVzfCoaSeGRdgL7/lb6Fr4lcu++9NLt/qwuwm+BCxXxU/o zX+esx4engOyT3P1B++dZvDOukRjShttU26xKRGhTeVjVlYEJWRDJPLWnx2EuWyWsphY orLQ== X-Gm-Message-State: AOAM530+qF+j2SmAMSsA6LvWlzjaa6iIKbqr1YMNCnV3Avrn79oRD5kK Lx8p+pgp29Z6BU+Oa79HD7FFyJOGKSM= X-Google-Smtp-Source: ABdhPJy/feIkAEyvje234GTthn0Ql2dHnTsy1ff2CWpazxR+M9OVqdSfbrcMSPldWiAtpdAzEI2NvA== X-Received: by 2002:a17:906:f246:: with SMTP id gy6mr3897778ejb.373.1599662578646; Wed, 09 Sep 2020 07:42:58 -0700 (PDT) Received: from debian (72.199.5.85.dynamic.wline.res.cust.swisscom.ch. [85.5.199.72]) by smtp.gmail.com with ESMTPSA id c5sm2599278edt.24.2020.09.09.07.42.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 07:42:57 -0700 (PDT) Date: Wed, 9 Sep 2020 16:42:54 +0200 From: Abelenda Diego To: freebsd-net@freebsd.org Subject: IP "routing" issue Message-ID: <20200909164254.5e7e3891@debian> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Tx/j76suhfJfH.8BB.lXdTV"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-Queue-Id: 4Bml9w4vRJz4LJM X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DilwuRq9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of diegoabelenda@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=diegoabelenda@gmail.com X-Spamd-Result: default: False [-1.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[85.5.199.72:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.017]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.69)[0.694]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 14:43:01 -0000 --Sig_/Tx/j76suhfJfH.8BB.lXdTV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, I've got a FreeBSD installation in a DataCenter that provided me with a sin= gle address IPv4 with an upstream gateway (cidr is fine the upstream gateway wo= rks everything is nice and running). I use this machine for Masquerading an pri= vate infrastructure. Now I need other machines with public IPv4 and when I requested the additio= nal 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. =46rom 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 FreeB= SD? If yes what is that command? Best regards, Diego Abelenda --Sig_/Tx/j76suhfJfH.8BB.lXdTV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEhLBEGh6nN5+aat9KomT4UAfkGfgFAl9Y6e4ACgkQomT4UAfk GfjLrBAAmYjv1BfWLzB64v7E1+MiyMm9rFvcIsCututEFtZST94CdShtM3WFjvMn eTbLGia4ePHXh753wCxYo9RmhCjX7ZSRdIHJsEe+8zk1iJ4XAP5gCqdpS2tHJzta 9jrfcznmfSbM9tnsbu72mrRu3f88N3SZb8HnSdNJS8thAcfxCb3CCBbUK3SJvQyV bWgL1PfmzvLFFYedSpC4r8TC9s6VZX4FlZwPMlABpdmixW0MbtH+Jn99M0S1y+Iz DocbEPkttfbBUEKraV3KbqDI4jhcEZtIsfR6sPhkOUOvKyBFP21x5kgQezp8aFH9 cUfMLZLiHbL6ZA1sj0iNWsTwj0TxsLS7GX/Zki80AFsRKBi0vAk5xXVQbFUBii6F xXdK4DIDf34158vE/E//4pJC7K/qsYeAapQMayh8+70tsG3Q8Z8vmiIQXQ3m/caB RrffxS5+GpGhZEUgxDQDtl9d5YDGlab09Hid53RZV2kZoOZTMhPnkAXhAa0N1frd +/HkcI5VikL/9I+Yi0Q6Rk489xnPqYly1drg3sngMCDh38z5t4+NFegZFDxrV0Ks lqcRUsqnZ/SAs2adiqVu9uTttMZpuxyFDCgRsyAtEC1ukfv5Jm+ouR7VYUmILETM V0HrpemASJDnjiH1HORPzoQbMDDyOTLtWkjU7iUQMuzhRi/x1B8= =I2qr -----END PGP SIGNATURE----- --Sig_/Tx/j76suhfJfH.8BB.lXdTV--