From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 15:17:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43B84C18 for ; Thu, 23 Oct 2014 15:17:56 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1148A37A for ; Thu, 23 Oct 2014 15:17:55 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-17.adsl.hiwaay.net [216.180.19.17]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s9NFHmZi022081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 23 Oct 2014 10:17:49 -0500 Message-ID: <54491D94.5030907@hiwaay.net> Date: Thu, 23 Oct 2014 10:24:04 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: How to power down/up NIC interfaces .... Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 15:17:56 -0000 .... I am running FBSD 9.3p2: [root@kabini1, /etc, 10:16:05am] 459 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p2 FreeBSD 9.3-RELEASE-p2 #0: Mon Sep 15 16:44:27 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 10:21:05am] 460 % I am trying to reset the (my) default netmask for my default network interface from 255.255.255 to 255.255 . I changed the settings in rc.conf & networks & did an 'infonfig re0 down/up' & nothing has changed :-/ .... [root@kabini1, /etc, 10:15:41am] 455 % ifconfig re0 down [root@kabini1, /etc, 10:15:45am] 456 % ifconfig re0: flags=8802 metric 0 mtu 1500 options=8209b ether d0:50:99:13:e3:85 inet 192.168.0.27 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::d250:99ff:fe13:e385%re0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=8810 metric 0 mtu 1500 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 ipfw0: flags=8801 metric 0 mtu 65536 nd6 options=21 [root@kabini1, /etc, 10:15:51am] 457 % ifconfig re0 up [root@kabini1, /etc, 10:16:03am] 458 % [root@kabini1, /etc, 10:16:04am] 458 % [root@kabini1, /etc, 10:16:04am] 458 % ifconfig re0: flags=8843 metric 0 mtu 1500 options=8209b ether d0:50:99:13:e3:85 inet 192.168.0.27 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::d250:99ff:fe13:e385%re0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (none) status: no carrier plip0: flags=8810 metric 0 mtu 1500 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 ipfw0: flags=8801 metric 0 mtu 65536 nd6 options=21 [root@kabini1, /etc, 10:16:05am] 459 % Do I have to do a full reboot to get this to take effect ? Please advise & TIA .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.