From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 16:50:58 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56B9716A4CE for ; Thu, 24 Mar 2005 16:50:58 +0000 (GMT) Received: from zeus.di.uoa.gr (zeus.di.uoa.gr [195.134.65.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35AD243D2D for ; Thu, 24 Mar 2005 16:50:57 +0000 (GMT) (envelope-from k.petropoulos@freemail.gr) Received: from kronos.di.uoa.gr (root@kronos.di.uoa.gr [195.134.65.119]) by zeus.di.uoa.gr (8.12.10/8.12.10) with ESMTP id j2OGpPlo016344 for ; Thu, 24 Mar 2005 18:51:25 +0200 (EET) Received: from ppp-113.dialup.uoa.gr (ppp-113.dialup.uoa.gr [195.134.69.113]) by kronos.di.uoa.gr (8.12.10/8.12.10) with ESMTP id j2OGp223025211 for ; Thu, 24 Mar 2005 18:51:03 +0200 (EET) To: freebsd-questions@freebsd.org Date: Thu, 24 Mar 2005 18:51:12 +0200 From: k.petropoulos@freemail.gr Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-7 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.53 (Win32, build 3850) Subject: problem regarding DHCP and netgraph ether bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 16:50:58 -0000 Hello! I am trying to test the commands mentioned in http://ezine.daemonnews.org/200406/netgraph.html and it seems that there is no way at all to make the virtual interface (ngeth0) to get an IP address through DHCP (server running on a win98 box at 192.168.0.1). All the DHCPOFFERS seem to be ignored, despite there is no firewall or any other "bad" configuration issue (the DHCPOFFERS get sent from the DHCP server; confirmed via tcpdump). The "actual" network i/f (ep0) has no problem acquiring an IP address from the DHCP server as well. The funny thing is that if I "hardcode" an IP address to the ngeth0 (i.e. 192.168.0.5) and add the default route accordingly, I have perfect connectivity between the two machines (and from/to the Internet). Any ideas why the dhclient ignores the DHCPOFFERS when run for the ngeth0 i/f while it accepts them when run for the ep0 i/f? Thanks in advance. P.S. : Running 5.4-PRERELEASE #2 but I have experienced the same problem in previous 5-x snapshots.