View Single Post
  #1   (View Single Post)  
Old 8th May 2008
Popof Popof is offline
New User
 
Join Date: May 2008
Posts: 4
Default Configuring VLANs under FreeBSD

Hi,
I need to configure my box in a way that I must use 2 vlans under one interface.

So in order to make this job I created vlans like this:
Quote:
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:

Quote:
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:

Quote:
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?
Reply With Quote