Re: VLAN Trunking with Freebsd




This is my config:

cloned_interfaces="vlan2 vlan3 vlan4 vlan5"
ifconfig_re0="inet 192.168.1.62 netmask 255.255.255.192"
ifconfig_re1="inet 192.168.1.254 netmask 255.255.255.128"
ifconfig_bge0="inet a.b.c.d netmask 255.255.255.240"
ifconfig_em0="up"
ifconfig_vlan2="192.168.41.1 vlan 2 vlandev em0"
ifconfig_vlan3="192.168.19.3 vlan 3 vlandev em0"
ifconfig_vlan4="192.168.42.1 vlan 4 vlandev em0"
ifconfig_vlan5="192.168.100.1 vlan 5 vlandev em0"

re0, re1, bge0 are ordinary interfaces (non-802.1q), and em0 is connected to a switch
with 802.1q support.


maybe off-topic but when buying switches make sure it's clearly written "802.1Q support". There are "VLAN capable" switches, some very cheap, that just block traffic between ports except between port 1 and others, but no vlan tagging.


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: How does one bond two interfaces together to share bandwidth?
    ... traffic hit some other ports on the switch. ... routing loop because the same MAC address ... Most managed switches should support it; ...
    (freebsd-questions)
  • Switch (D-Link DGS-1214T) blieb nach 7 Tagen haengen
    ... Woche nach Erstbenutzung, es ist ein Neugerät, GBit-Switch, 24 Ports. ... Die Auto-Funktion des Switch schafft evtl. ... die heterogenen Netzwerkkarten nicht - oder der Switch hat eine Hardware-Macke, das hat der Support auch nicht ausgeschlossen. ... Ist es eben bei moderner Technik eben so, dass die wieder so komplex ist, dass die Ports einzeln nachkonfiguriert werden müssen? ...
    (de.comp.hardware.misc)
  • Re: How does one bond two interfaces together to share bandwidth?
    ... Such that I am seeing incoming ... traffic hit some other ports on the switch. ... If the remote switch doesn't support it, ...
    (freebsd-questions)
  • Re: 2.6.23-rc8-mm2
    ... duplicate filename 'switch' can not be created ... 2000-2006 Netfilter Core Team ... # IPVS transport protocol load balancing support ... # Device Drivers ...
    (Linux-Kernel)
  • [PATCH 06/13] Char: cyclades, overall cleanup
    ... * Prevent users from opening non-existing Z ports. ... * Implemented full support for non-standard baud rates. ... * Driver now reports physical instead of virtual memory addresses. ... * Fixed SMP locking in Cyclom-Y interrupt handler. ...
    (Linux-Kernel)