From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:48:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29024106566B for ; Thu, 29 Dec 2011 17:48:25 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id E3A348FC13 for ; Thu, 29 Dec 2011 17:48:24 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa01 [127.0.0.1]) by ltcfislmsgpa01.fnfis.com (8.14.4/8.14.4) with SMTP id pBTHdiPG005387; Thu, 29 Dec 2011 11:48:23 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa01.fnfis.com with ESMTP id 120vt7011m-8 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 29 Dec 2011 11:48:23 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Thu, 29 Dec 2011 11:48:21 -0600 From: Devin Teske To: , References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> In-Reply-To: <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> Date: Thu, 29 Dec 2011 09:48:32 -0800 Message-ID: <037401ccc652$15417110$3fc45330$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGz414ZjZvFfn09R91T/LcHCx+y1gGfdZfqASwnQlWWDn/nsA== Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-29_06:2011-12-29, 2011-12-29, 1970-01-01 signatures=0 Cc: Subject: RE: Static IP on a Bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:48:25 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of james@colannino.org > Sent: Thursday, December 29, 2011 9:21 AM > To: freebsd-questions@freebsd.org > Subject: Re: Static IP on a Bridge > > Quoting Matthew Seaman : > > > What's the error message you see when you fail to ping out? > > ping: cannot resolve google.com: Host name lookup failure > > > What does the routing table (netstat -r) look like before and after DHCP? > > Before DHCP: > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > localhost link#11 UH 0 0 lo0 > > Internet6: > Destination Gateway Flags Netif Expire > :: localhost UGRS lo0 > localhost localhost UH lo0 > ::ffff:0.0.0.0 localhost UGRS lo0 > fe80:: localhost UGRS lo0 > fe80::%re0 link#5 U re0 > fe80::6ef0:49ff:fe link#5 UHS lo0 > fe80::%lo0 link#11 U lo0 > fe80::1%lo0 link#11 UHS lo0 > fe80::%tap0 link#13 U tap0 > fe80::2bd:8aff:fe3 link#13 UHS lo0 > fe80::%tap1 link#14 U tap1 > fe80::2bd:8dff:fe3 link#14 UHS lo0 > ff01::%re0 fe80::6ef0:49ff:fe U re0 > ff01::%lo0 localhost U lo0 > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > ff02:: localhost UGRS lo0 > ff02::%re0 fe80::6ef0:49ff:fe U re0 > ff02::%lo0 localhost U lo0 > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > After DHCP: > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.1.1 UGS 0 0 bridge > localhost link#11 UH 0 0 lo0 > 192.168.1.0 link#12 U 0 1 bridge > 192.168.1.103 link#12 UHS 0 0 lo0 > > Internet6: > Destination Gateway Flags Netif Expire > :: localhost UGRS lo0 > localhost localhost UH lo0 > ::ffff:0.0.0.0 localhost UGRS lo0 > fe80:: localhost UGRS lo0 > fe80::%re0 link#5 U re0 > fe80::6ef0:49ff:fe link#5 UHS lo0 > fe80::%lo0 link#11 U lo0 > fe80::1%lo0 link#11 UHS lo0 > fe80::%tap0 link#13 U tap0 > fe80::2bd:8aff:fe3 link#13 UHS lo0 > fe80::%tap1 link#14 U tap1 > fe80::2bd:8dff:fe3 link#14 UHS lo0 > ff01::%re0 fe80::6ef0:49ff:fe U re0 > ff01::%lo0 localhost U lo0 > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > ff02:: localhost UGRS lo0 > ff02::%re0 fe80::6ef0:49ff:fe U re0 > ff02::%lo0 localhost U lo0 > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > > What does your arp table look like (arp -a) before and after DHCP? > > Before DHCP: > > (nothing was printed to the screen) > > After DHCP: > > ? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190 seconds [bridge] ? > (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge] > > I can see that something is definitely not right. Not sure how to fix /etc/rc.conf > so that it will be setup correctly, though. Thank you for the help! Add the following line (exactly as it appears) to /etc/rc.conf: defaultrouter="192.168.1.1" -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.