Go Back   DaemonForums > FreeBSD > FreeBSD General

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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 4th March 2010
xiphias xiphias is offline
Port Guard
Join Date: May 2008
Posts: 31
Default bringing up vlan interfaces


In rc.conf I have the following:

cloned_interfaces="... vlan0 vlan1 vlan2 ..." # I've removed some interfaces from here to avoid confusion
ifconfig_vr0="inet up"
ifconfig_vlan0="vlan 999 vlandev vr0 dhcp"
ifconfig_vlan1="inet netmask vlan 1 vlandev vr0"
ifconfig_vlan2="inet netmask vlan 100 vlandev vr0"
vlan0 get's its ip by dhcp as expected, however vlan1 and vlan2 never get their static IPs assigned. They are created and configured with the correct vlan id/parent device, but the ip address is never assigned.

I have tried this variation:

ifconfig_vlan1="vlan 1 vlandev vr0 inet netmask"
ifconfig_vlan2="vlan 100 vlandev vr0 inet netmask"
but it makes no difference. Can anybody help?

Reply With Quote

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
OpenBSD IRC channel chat about DMZ and vlan J65nko General software and network 3 25th December 2009 11:15 PM
PPTP Server, no internet connectivity (routing between interfaces?) godfrank FreeBSD Ports and Packages 5 15th April 2009 04:44 PM
PHP database interfaces TerryP Programming 6 11th September 2008 01:03 PM
How to make it work with VLAN-trunking? Seb74 OpenBSD Security 4 28th June 2008 02:08 PM
Bridge VLAN + Catalyst espenfjo FreeBSD General 2 6th June 2008 05:16 PM

All times are GMT. The time now is 10:05 PM.

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