From owner-freebsd-net@FreeBSD.ORG Thu Aug 21 17:36:24 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DFB3106568A for ; Thu, 21 Aug 2008 17:36:24 +0000 (UTC) (envelope-from popofnewslists@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.237]) by mx1.freebsd.org (Postfix) with ESMTP id D18118FC1B for ; Thu, 21 Aug 2008 17:36:23 +0000 (UTC) (envelope-from popofnewslists@gmail.com) Received: by qb-out-0506.google.com with SMTP id e34so113395qbe.35 for ; Thu, 21 Aug 2008 10:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=4TpzL85nHpeb53r8Wt+FoJQT9Q6SvCVaX5jfYQXNIAg=; b=IMrtVsrrIVITnHvUVir1C7rJlnxfRn0tWgRUKXlUpWh5hReR5/VXvStMy/8a32sQOD 0by0VeoYjZed0DwfrhR2HasvHnqFDk2BVtokU9VExARGQBTdwYqgfCUY+ykaFJ8t7Zi2 8783USVpURoJfW6IoLBieHjwN/AM30so+KEHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=aFt1wN2k7iuo9UOZ25alUoyV0Ct41gTkoQVOrO4V8qSW559hVcRQIOKogKxsNjyw+t sWMc5+2zX33p/ecIvj2zov81H2X1aFPrFofWsXO4mumqOR8yZ2OYcWpzFVhRhvDRWYgO 2n3lTScSLLDeQm7+gfTpn+jrzx8VAMeP3wGDY= Received: by 10.103.20.7 with SMTP id x7mr20941mui.75.1219340182211; Thu, 21 Aug 2008 10:36:22 -0700 (PDT) Received: by 10.102.247.18 with HTTP; Thu, 21 Aug 2008 10:36:22 -0700 (PDT) Message-ID: <9196e72b0808211036j65207771sd384a376601a3a0f@mail.gmail.com> Date: Thu, 21 Aug 2008 19:36:22 +0200 From: "Popof Popof" To: dewayne_freebsd@yahoo.com, "FreeBSD Net" In-Reply-To: <506570.91627.qm@web46401.mail.sp1.yahoo.com> MIME-Version: 1.0 References: <9196e72b0808200613q4557b034t9ab3e80d0ff1ec08@mail.gmail.com> <506570.91627.qm@web46401.mail.sp1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: How to make two vlans on one interface working with dhclient 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, 21 Aug 2008 17:36:24 -0000 I tried to change the MAC address of rl0.2101 and rl0.100 but this not changed anything. Any other idea ? PS: The exact parameter of ifconfig is lladdr 2008/8/21 Dewayne Geraghty > --- On *Wed, 8/20/08, Popof Popof * wrote: > From: Popof Popof > Subject: How to make two vlans on one interface working with dhclient > To: "FreeBSD Net" > Date: Wednesday, August 20, 2008, 1:13 PM > > Hi, > I have a FreeBSD 6.0 box andi need to configure it in a way that I must use > 2 vlans under one interface and both of them will get an address thanks to > dhclient. > > So in order to make this job I created vlans: > > ifconfig rl0.100 create > ifconfig rl0.2101 create > The vlans are created without any problem. > But I also want to retrieve an diffrent ip address from a dhcpd server on > the two of them. > I've made a specific dhclient.conf for each one: > > interface "rl0.100" { > #My options > } > interface > "rl0.2101" { > #My options > } > > When I launch dhclient on only one interface (100 or 2101) it's works fine > and I get an ip address (class B on vlan 100 and class A on vlan 2101). > But if I launch dhclient on the second interface it's make an error: > > dhclient: Can't bind to dhcp address: Address already in use. Please make > sure there is no other dhcp server runing and that there's no entry for > dhcp > or bootp in /etc/inetd.conf > > Does someone had an idea about how to fix this problem and having my two > vlans working with dhclient? > -------------- > > Popof, > You might need to assign a different MAC address to the interface, try > ifconfig rl0.2101 laddr 00:e0:4c:08:ea:6a > > > >