From owner-freebsd-questions@FreeBSD.ORG Mon May 18 20:40:48 2015 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 1CF15763 for ; Mon, 18 May 2015 20:40:48 +0000 (UTC) Received: from nm14-vm5.access.bullet.mail.gq1.yahoo.com (nm14-vm5.access.bullet.mail.gq1.yahoo.com [216.39.63.132]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2AA71199 for ; Mon, 18 May 2015 20:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1431981474; bh=X6zIZnpb4t6RVlwHBKszNfjfmMGktlbf19BKbxe7G28=; h=From:To:Subject:Date:From:Subject; b=sK4/jDXH8QYQMIfu8rHhmSvHNUnFP7ZZPn0dgy6qvOEF+NON0vR5UzHo0l0yKjsDQAmXIa3q0rGTdQ38fe5xxqPfbxNb+kxRA2ydZ4k35DVn1nl9x8px1EP8PpxAdGktyH+MN79lHkyX0bsLH2AW6C4QyFl/a23wg6OAzivX0KhwB5tzWUGKPaPT1Amejyrc1D0wuB2o6ihemgRDu2w0C8EH3QrrwoewPo0+3sxnU7A7lqK/o6rkY/qwgeAjeTsEDPuiepDuJY+vzsCJCDscWVauUB42Oms7bGHB43NkW+NOyd5B0lNnvrgtH0thpSfCJT1CBow5sLESwalLZRptQQ== Received: from [216.39.60.170] by nm14.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 May 2015 20:37:54 -0000 Received: from [67.195.22.119] by tm6.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 May 2015 20:37:54 -0000 Received: from [127.0.0.1] by smtp114.sbc.mail.gq1.yahoo.com with NNFMP; 18 May 2015 20:37:54 -0000 X-Yahoo-Newman-Id: 350077.18794.bm@smtp114.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: fDkLNoEVM1lKMgLkznJR0Brh0zBdPEiQGbQgU5iDU8uqMfm p93SVe5dTRH6Z2MenNzdTLHVM0AF9j5UfivXbwbvaFw6jiUj8lsOqK1lOrB2 fsIJjSaPi9qoELvMEc9tnlrqK4gdkv_6Bw.FaJMqIoGP1YO7ti0mawm.vXHR Pr1rtxzM4ROe3wAZHmhjvJwdD1aJiwkFAFhxx_EEYOP.CUV9tulu.p9gROBb Dri03k7WcKYNwvO0fns1Ev859G9Ji2dpa9MK5XnhkdUFnsfVL42BYBvNYgOb TuXt2qTpKwJAHw_BbsP..DJBPRWcQhe_.XlJrkwInSvB4ESF3KBZrEumtd7W C.i1vraMDZHvgrh5ZM4Kl2pUW99zi2aoRGrT0f_0p0JQaCKa.plclv7tJut4 NO1uvjYD.4g9_WPZ3Kk87qdFonM4VmQwbDUbQjXvfsukwsNP6B_yDetX3wJd 6hC7WdGZBdSAXATb5.m6TIQr3zEncrRe1F3xs.iYg7aPGyHo5e8q2k9BJdvN 50Dng4ZGJiWunUQeiaZF6ZKMeEnAZSi01XXFwqt0JWM3gsA46 X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: looking at manual page for rc.conf Date: Mon, 18 May 2015 13:37:52 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 20:40:48 -0000 I am looking at the manual page for rc.conf and am wondering how I would specify default router address when using DHCP? I don't see any further explicit elucidations beyond the text quoted below. text from man page: It is possible to bring up an interface with DHCP by adding ``DHCP'' to the ifconfig_ variable. For instance, to initialize the ed0 device via DHCP, it is possible to use something like: ifconfig_ed0="DHCP" actually, I have ifconfig_em0="DHCP" Is the router address something that DHCP will figure out? This interface will be for connection to internet via DSL modem ISP is CenturyLink. or alternately, suppose I want to assign a static address to interface that would connect to internet via DSL modem. ifconfig_em0="inet 192.168.0.4 netmask 255.255.255.0" When the router is at 192.168.0.1, how would this be specified. I have also looked at ifconfig(8) and have found anything. I have also had the kernel complain via a shell script set to run in I am also concerned about setting up tcp wrappers with inetd to forestal possible attempts to access via telnet, ssh, ftp and even MySql server (as I have seen frequently when I had static ip address service). This I have done when I did have static ip service. But with fire wall in DSL modem and DHCP configuration is it useful and advantageous?