Date: Sat, 17 Dec 2011 13:31:15 +0330 From: saeedeh motlagh <saeedeh.motlagh@gmail.com> To: Juli Mallett <jmallett@freebsd.org>, freebsd-net@freebsd.org Subject: Re: vlan without ip address Message-ID: <CAN%2BS=WDd%2BRzhYcMYQCysxuMX5wM5iazw-fBY-W3RPppc3QhRYQ@mail.gmail.com> In-Reply-To: <CACVs6=-N5%2BL-8Q00sC_hgo=DBYudHT0a%2BQCykAzbiesOyNZZAw@mail.gmail.com> References: <CAN%2BS=WDLmHuP=V616rtO7mnuzEgOt5GuYMZ4SsxgCWYdUF007g@mail.gmail.com> <CACVs6=-N5%2BL-8Q00sC_hgo=DBYudHT0a%2BQCykAzbiesOyNZZAw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
when i do that, the vlan is defined but from a system in a vlan, i can't ping the other one which is in the same vlan. so i think that the vlan is not working. am i right? On Sat, Dec 17, 2011 at 1:15 PM, Juli Mallett <jmallett@freebsd.org> wrote: > You probably just need to do ifconfig vlanxxx up instead of assigning an > IP. > > On Sat, Dec 17, 2011 at 00:08, saeedeh motlagh > <saeedeh.motlagh@gmail.com> wrote: > > hi every body > > > > i wanna configure a freebsd box as a switch. in order to do that, i > bridged > > all my interfaces to have switching and it works fine. after that i want > to > > have vlans on it. as you know, in a real switch, a vlan is configured > just > > by assigning a port to it without any additional configuration and vlans > > are submitted just by name. but in freebsd a vlan just works when it has > an > > ip address (i think). when i define vlan121 on two freebsd systems with > ip > > address it works fine but without ip address i don't know how it should > be > > worked. > > > > can sombody tell me if it is possible to simulate vlans in freebsd as > they > > are in a real switch? i mean can we have vlans without ip addresses which > > works fine? maybe some kind of vlan which works by MAc address. is it > > possible? > > it's so necessary for me to do that:( > > > > yours, > > motlagh > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN%2BS=WDd%2BRzhYcMYQCysxuMX5wM5iazw-fBY-W3RPppc3QhRYQ>