From owner-freebsd-questions@freebsd.org Tue May 5 10:17:59 2020 Return-Path: Delivered-To: freebsd-questions@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 6E8FB2E092F for ; Tue, 5 May 2020 10:17:59 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 49GbJk0jmsz3DVs for ; Tue, 5 May 2020 10:17:58 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm1-x32b.google.com with SMTP id x4so1667112wmj.1 for ; Tue, 05 May 2020 03:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=oY1fXaq1UrK0tNhe35U8egLfRwwuv5PN/45MJynpXy8=; b=JAPg8Oz1mum6w682bh42H1DfbPKjprgRbc6VAYEAlgpjNGw5mn+OvvAlZ29TefHxGl bvE/NCK3XHg1xZDjDooeA2sswGe5iHlNkkWTprvM46IqAACn/Houw1xaxKru8HK4LhuH GLLkEolgivTVyLB2bTHT0vmVPzYFQoGBeOFaKTyTTJjZV/MFl3n/XgYh7PoyUDQc9KnX 64Jf+TrAWwVCSp9KSegX2WBZIf07IlV9rGPb5xYo4Sf+EusVZFUmWg7PMRSn7QddImG6 IxR5ki+BBVQB3g+ycG+n5t5EYUmcC3pLZzFFuIi8CHZVgNOYa0l4Oxmk1lzL777UD41f tW7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=oY1fXaq1UrK0tNhe35U8egLfRwwuv5PN/45MJynpXy8=; b=Vv/gwHW6xIznpD2cPRGJ5pnjd6IW0Myg9bfwg8cniTzenbke/Wnr97+2ZWLnWjprpX qbPYk4zK9UF90APE37sBZbcjPcfD8lsXL+LmR+Gn0ilvtErOep7kKqg7tdku7leVwj4f B8gaHACXpXxpepjfeIA2Epo1gLQc44lP0sMupvVY4UdYJQ2ZPUEtkHHSsXfmhYZSOew/ kTftVVRpmsB78S6q20c+UY4N/fetTxgxivrc7Z6rbejjbAamc9ywcgpB6OQ4tFsgyG+v uxR2gFybkq4Q0r/nFtIs+8/hdP7GNB8sVjREFvo/k10o77AzGkVjwtxcEn/X2g3pJOgx 3CHg== X-Gm-Message-State: AGi0PuaDTz4MPbHLp+c6MYXMRYKpGBvsuJLRRfVn7/Dnn1nxuGyE5zSk F5vDooGCCTZedWNibe/AySAqfwJl//4= X-Google-Smtp-Source: APiQypLqGl5437qPdKNvvmMe2TwGaeaq6snsfoxabdkxeAtRoun9lsJ30EHsm7aEUuX87kl3+Rehvg== X-Received: by 2002:a1c:9cca:: with SMTP id f193mr2591242wme.71.1588673875737; Tue, 05 May 2020 03:17:55 -0700 (PDT) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id x23sm2909745wmj.6.2020.05.05.03.17.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 May 2020 03:17:55 -0700 (PDT) Subject: Re: Networking Routing Firewalling To: freebsd-questions@freebsd.org References: From: Johan Hendriks Message-ID: Date: Tue, 5 May 2020 12:17:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-Rspamd-Queue-Id: 49GbJk0jmsz3DVs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JAPg8Oz1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johhendriks@gmail.com designates 2a00:1450:4864:20::32b as permitted sender) smtp.mailfrom=johhendriks@gmail.com X-Spamd-Result: default: False [-3.00 / 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]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.12), ipnet: 2a00:1450::/32(-2.31), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[b.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:17:59 -0000 Op 05-05-2020 om 03:39 schreef Brandon helsley: > I don't always get a response but while I'm getting a little more familiar with networking and jails, especially from absolute freebsd and these mailing lists I thought I would ask a few questions. > > First of all, what are some beginner networking tasks I could complete while getting familiar? > > Second, if I'm only using one network interface card at a time, are there still networking tasks I can complete and build a stronger connection to the internet with? > > Third, if learning to use ping and route but don't quite undserstand it's application yet. If I set up dns and dhcp can I set up a third ip that's ipv6 for the hell of it? > > Sent from Outlook Mobile > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Getting into networking is something you learn by doing it and doing it a lot. Beginner networking tasks are setting up a network between two or more machines all in the same network like 192.168.0.0/24. Then try to put them in there own network and use route to let them talk to eachother. like one machine in 192.168.0.0/24 and the second machine in 192.168.1.0/24 and so on. Then you can try to get things working using smaller network segments like 192.168.0.1/29 and a network of 192.168.0.8 /29 and so on and make sure they do not overlap and let them communicate, test with ping. The second question is somewhat unclear to me. Do you have multiple Nics in your machine? If so, you can use the second NIC for testing. The third question, ping is just a basic tool you can use to test basic network functionality. route is a tool to make sure that your network knows where to go if it needs to go to an address not in your own network. DNS is not so much networking, it just resolves names to IP addresses. DHCP you can use to give hosts an IP address instead of giving them a static one. You can give an NIC or any interface like a bridge or a epair an ipv6 address. Here is an nice article about networking https://issue.freebsdfoundation.org/publication/?m=33057&i=651491&p=19&ver=html5 Good luck.