From owner-freebsd-net@FreeBSD.ORG Thu Aug 3 16:46:24 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06D3016A4DA for ; Thu, 3 Aug 2006 16:46:24 +0000 (UTC) (envelope-from nayak_purushotham@yahoo.com) Received: from web56103.mail.re3.yahoo.com (web56103.mail.re3.yahoo.com [216.252.110.197]) by mx1.FreeBSD.org (Postfix) with SMTP id 592C443D4C for ; Thu, 3 Aug 2006 16:46:21 +0000 (GMT) (envelope-from nayak_purushotham@yahoo.com) Received: (qmail 88170 invoked by uid 60001); 3 Aug 2006 16:46:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kBI0AXA81Y3p2FgyzJZC/xiLcV4qU5prE7WQkOauc0pmwZOpt2iWekPY9CuQwSVal7PjYchkU/q4OEC/IOL3GnFYLCbM9nFt49RjsmsfAemNEqfGft6x0PwdAx01RCrdV1R723ndazkSrhV2fl/XhRF6g3e1GjnTbVTJqk/2hqQ= ; Message-ID: <20060803164620.88168.qmail@web56103.mail.re3.yahoo.com> Received: from [209.136.0.128] by web56103.mail.re3.yahoo.com via HTTP; Thu, 03 Aug 2006 09:46:20 PDT Date: Thu, 3 Aug 2006 09:46:20 -0700 (PDT) From: Purushotham Nayak To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ethernet bridge and dhcpd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2006 16:46:24 -0000 Hi All, I have a routerboard with two ethernet ports (sis0 and sis1) with FreeBSD 6.0 on it. I've been trying to setup a bridge between them and also run the dhcpd server on the routerboard. I've setup sis0 with an IP address and sis1 is just marked "up" in rc.conf. The bridge seems to work because if I statically assign an IP address to a laptop and connect it to sis1 I can ping the routers IP which is what is assigned to sis0. But the laptop cannot get an IP using DHCP. tcpdumping on sis0 doesn't show me the DHCPREQUEST from the laptop that's coming in through sis1 (but it doesn't show me any traffic during ping request either but that's not broadcast so I guess that's expected). Can anyone tell me what I'm doing wrong ?. Here's my rc.conf ------------------------------------------------------------------------------------ inetd_enable="YES" ifconfig_sis0="inet 10.1.1.1 netmask 255.255.255.0" ifconfig_sis1="up" ifconfig_ath0="down" gateway_enable="YES" dhcpd_enable="YES" dhcpd_flags="-q" dhcpd_conf=/usr/local/etc/dhcpd.conf" ----------------------------------------------------------------------------------- And here is my dhcpd.conf ----------------------------------------------------------------------------------- ddns-update-style ad-hoc; default-lease-time 600; max-lease-time 7200; subnet 10.1.1.0 netmask 255.255.255.0 { range 10.1.1.64 10.1.1.250; option routers 10.1.1.1; } ---------------------------------------------------------------------- --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta.