DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #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
  #2   (View Single Post)  
Old 13th May 2008
Popof Popof is offline
New User
 
Join Date: May 2008
Posts: 4
Default

Nobody has any idea ?
Reply With Quote
  #3   (View Single Post)  
Old 13th May 2008
Business_woman's Avatar
Business_woman Business_woman is offline
lieutenant
 
Join Date: May 2008
Posts: 45
Default

http://www.cyberciti.biz/faq/howto-c...onfig-command/

Second hit on google..
__________________
I like cookies...
Reply With Quote
  #4   (View Single Post)  
Old 13th May 2008
Popof Popof is offline
New User
 
Join Date: May 2008
Posts: 4
Default

You think that put the vlans configuration in the conf file instead of making it by hand will work better?
I'd prefer making this working before saving all the stuff.
But I'll try this tonight in order to see.
Reply With Quote
  #5   (View Single Post)  
Old 13th May 2008
Business_woman's Avatar
Business_woman Business_woman is offline
lieutenant
 
Join Date: May 2008
Posts: 45
Default

Quote:
Originally Posted by Popof View Post
You think that put the vlans configuration in the conf file instead of making it by hand will work better?
Who said anything about putting it in a conf file?
__________________
I like cookies...
Reply With Quote
  #6   (View Single Post)  
Old 13th May 2008
Popof Popof is offline
New User
 
Join Date: May 2008
Posts: 4
Default

Maybe because i've allready made all what is written in the link except putting all in a conf file...
Reply With Quote
Reply

Tags
dhcp, vlan

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vlans and pfstat zomo OpenBSD General 4 9th July 2009 09:19 PM
It's necesary to use firmware configuring rum or zyd? ximo FreeBSD General 7 8th July 2009 10:05 AM
Configuring authpf freebsd kasse FreeBSD General 0 7th February 2009 12:32 PM
Help configuring pine cssgalactic FreeBSD General 4 29th June 2008 11:50 PM
Need Help Configuring Postfix iainnitro General software and network 6 8th June 2008 04:55 AM


All times are GMT. The time now is 09:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick