From owner-freebsd-net@freebsd.org Wed Sep 9 15:35:59 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 071953D41AB for ; Wed, 9 Sep 2020 15:35:59 +0000 (UTC) (envelope-from kisscoolandthegangbang@hotmail.fr) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01olkn080e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::80e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmmM15X5Sz4PJG for ; Wed, 9 Sep 2020 15:35:57 +0000 (UTC) (envelope-from kisscoolandthegangbang@hotmail.fr) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a0aja0jdDGmoQ0wwbw1Zy3bIFn8Z3DBC4NUJOMNrLq9nPs2KeTQBWgu/Uq4snWo+6pIl7yNIq53XxLex/j6fhm79i8UUMjO12uyFSQc2eJ3kbkXi0VYcARnO1XG8EQPE8u1DOw9vkj5Sm8zbU/UjhdaU3/cyouav5h8+HwFJ8aqx7mSXcf128lAdtIR9VkEBLs60Gf/MXPI1ofQ7A9geHLEWttULONRv9vfvAT12PNnYDenNdh2wV3j5tfzgAMHUlWbDbxS4OXwPHBetw+zTZ+EObo9ZiH+dVGqYWYsoHb0YsK946KdgNcRpK88rMqkjbN2P//WxLYUgzDZD9gb7MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T/9m3MHiL8o/90Hdjyvjju5UWCt6ALHCWv2zZmyxY8M=; b=R8ELQjTj8tCXS7A3INxbULMycGXXUJL9jXa21pU+cdIHCDp0oXocNvMpQc93PRDjrKLihA6LYD4beP1B6Xpggz020lgXQYjQieVhbxroA4AXHQX/QyiESC385jqu71hYm6XAxDNMS3tA5ThBpUl6udWR3NCU7tEr5jWD4OXoSfButvqKf1sQA0v5Z4PgBQQi6X51su0TuFI7HLkGpmJaRYUJSULKQ7GPbMtj5/FcyIx9FzlobpIlnk3wN6Vbk3ciD68iPvpqnEMhZlXdIKLscmbbQ4uJPB2p2s1SAumEB482gPTfPQGhqkpxkMT5UJGI4TXWRVy7IpDbpLyYYAiAdQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DB5EUR01FT064.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e1a::42) by DB5EUR01HT171.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e1a::299) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Wed, 9 Sep 2020 15:35:55 +0000 Received: from VE1PR03MB5629.eurprd03.prod.outlook.com (2a01:111:e400:7e1a::45) by DB5EUR01FT064.mail.protection.outlook.com (2a01:111:e400:7e1a::339) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 15:35:55 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:C71EA9C692F150ACFD1087835474CD4496CB8AFE9F646839D80B2A3014DBD5A4; UpperCasedChecksum:FBA8C6CE4B3A3EFF436DEEE1EACF3E978EF04303894FD8F0FF25F56BE53E3471; SizeAsReceived:3760; Count:48 Received: from VE1PR03MB5629.eurprd03.prod.outlook.com ([fe80::503d:80ba:aa8b:f71d]) by VE1PR03MB5629.eurprd03.prod.outlook.com ([fe80::503d:80ba:aa8b:f71d%2]) with mapi id 15.20.3370.016; Wed, 9 Sep 2020 15:35:54 +0000 Date: Wed, 9 Sep 2020 17:35:45 +0200 From: kaycee gb To: freebsd-net@freebsd.org Subject: Re: IP "routing" issue Message-ID: In-Reply-To: <20200909164254.5e7e3891@debian> References: <20200909164254.5e7e3891@debian> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AM0PR06CA0112.eurprd06.prod.outlook.com (2603:10a6:208:ab::17) To VE1PR03MB5629.eurprd03.prod.outlook.com (2603:10a6:803:11e::30) X-Microsoft-Original-Message-ID: <20200909173545.37a6b6c7@slackstro.home.lan> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mail.lacabanedeladmin.trickip.net (93.1.37.139) by AM0PR06CA0112.eurprd06.prod.outlook.com (2603:10a6:208:ab::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 15:35:54 +0000 Received: from slackstro.home.lan ([172.16.93.19]) (authenticated bits=0) by mail.lacabanedeladmin.trickip.net (8.15.2/8.15.2) with ESMTPSA id 089FZ8Ox090681 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 9 Sep 2020 17:35:50 +0200 (CEST) (envelope-from kisscoolandthegangbang@hotmail.fr) X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) X-Microsoft-Original-Message-ID: <20200909173545.37a6b6c7@slackstro.home.lan> X-TMN: [MZRNGGL2+HiVM0lnVkkXXNeL/E+6u/2Y] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1f69dc03-3309-4636-3597-08d854d60a3b X-MS-TrafficTypeDiagnostic: DB5EUR01HT171: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cOtzJFRN5HHgKeTU34tNDUDiPO+OPRSQLQNZ9b+iDjV26i0eUCU6bD4T5jTrNaLb3i22mBBtflt3nizgloIksCOr702IB0GEKNyVr4HwFvv/J/WX3/8sZjbosPuCOm8TRi7oVDJyKGdY+OyYk8/PwuQyqRWqDtgoX1bfTwNEue4tm5JRPIC6AHvmAdbm8aRY X-MS-Exchange-AntiSpam-MessageData: OUjP+CtRHmHL4nwdedhZtIrMt8LpU3pAXhTppdqCtb5mWlFPB0Re/ZAiMav1y3fKMjEwh9zanHVuQPVkgsVR15jgvnnuiMy8tvcansl+dldYOvJzn2l5jADDjpNBXBoP36zHsoRbDNOVn5yuqdNDuw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f69dc03-3309-4636-3597-08d854d60a3b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2020 15:35:54.7050 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT064.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR01HT171 X-Rspamd-Queue-Id: 4BmmM15X5Sz4PJG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=hotmail.fr; spf=pass (mx1.freebsd.org: domain of kisscoolandthegangbang@hotmail.fr designates 2a01:111:f400:fe02::80e as permitted sender) smtp.mailfrom=kisscoolandthegangbang@hotmail.fr X-Spamd-Result: default: False [-4.52 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.fr]; RCVD_COUNT_FIVE(0.00)[6]; RECEIVED_SPAMHAUS_PBL(0.00)[93.1.37.139:received]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.fr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; NEURAL_HAM_SHORT(-0.75)[-0.746]; DMARC_POLICY_ALLOW(-0.50)[hotmail.fr,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] 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 15:35:59 -0000 Le Wed, 9 Sep 2020 16:42:54 +0200, Abelenda Diego a =E9crit : > Hello, >=20 > I've got a FreeBSD installation in a DataCenter that provided me with a s= ingle > 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. >=20 > Now I need other machines with public IPv4 and when I requested the addit= ional > 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 t= his > kind of configuration where you tell that the IPv4 /32 is available witho= ut > 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 FreeBS= D. >=20 > Is it possible to perform this very special setup with any command on Fre= eBSD? > If yes what is that command? >=20 > Best regards, > Diego Abelenda Hi, Do the other machines have a private address ? Is it a problem if they have= one ?=20 If it is possible, you can route via this private address on your FreeBSD installation to the new one and assign a public/32 to the last. Alternatively to doing routing like above, if you have a firewall enabled o= n the first machine, you can do address forwarding between the first and the new = one.=20 And last, maybe with something like -iface from "route" you can achieve wha= t you want.=20 K.