Date: Thu, 21 Aug 2008 19:36:22 +0200 From: "Popof Popof" <popofnewslists@gmail.com> To: dewayne_freebsd@yahoo.com, "FreeBSD Net" <freebsd-net@freebsd.org> Subject: Re: How to make two vlans on one interface working with dhclient Message-ID: <9196e72b0808211036j65207771sd384a376601a3a0f@mail.gmail.com> In-Reply-To: <506570.91627.qm@web46401.mail.sp1.yahoo.com> References: <9196e72b0808200613q4557b034t9ab3e80d0ff1ec08@mail.gmail.com> <506570.91627.qm@web46401.mail.sp1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dewayne_freebsd@yahoo.com> > --- On *Wed, 8/20/08, Popof Popof <popofnewslists@gmail.com>* wrote: > From: Popof Popof <popofnewslists@gmail.com> > Subject: How to make two vlans on one interface working with dhclient > To: "FreeBSD Net" <freebsd-net@freebsd.org> > 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 > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9196e72b0808211036j65207771sd384a376601a3a0f>