Re: Yes it did the trick - Re[3]: Re[2]: em0, VLAN and bpf(?) trouble w/RELENG_5

From: Lenar D. Tukhvatullin (blackv_at_netroad.ru)
Date: 11/13/04

  • Next message: Alexander Leidinger: "Re: [TEST] make -j patch [take 2]"
    Date: Sat, 13 Nov 2004 21:21:03 +0300
    To: Mike Tancsa <mike@sentex.net>
    
    

    On Sat, Nov 13, 2004 at 12:05:30PM -0500, Mike Tancsa wrote:
    > I am able to create and use VLANS and putting the nic or the vlan interface
    > into promisc mode does not break the passing of packets.

    And what about bridging?

    Can you test bridging beetween vlan and another physical interface,
    for example:

    em1 - another physical interface, not connected to wire
    172.16.0.0/24 - network in vlan (tag 100)
    172.16.0.1 - remote host in this vlan

    # ifconfig em0 up
    # ifconfig vlan0 create
    # ifconfig vlan0 vlan 100 vlandev em0
    # ifconfig vlan0 up

    # ifconfig em1 172.16.0.2 netmask 255.255.255.0

    # kldload bridge
    # sysctl net.link.ether.bridge.config="vlan0 em1"
    # sysctl net.link.ether.bridge.enable=1

    Pinging remote host:

    $ ping 172.16.0.1

    --
    Lenar D. Tukhvatullin
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Alexander Leidinger: "Re: [TEST] make -j patch [take 2]"

    Relevant Pages

    • Cisco 877w: Fa0-3 Interfaces up but no traffic passes
      ... Data Vlan101 only, no voice vlan required, WPA ... output errors, 0 collisions, 0 interface resets ... switchport trunk native vlan 101 ... bridge-group 101 subscriber-loop-control ...
      (comp.dcom.sys.cisco)
    • Re: Need help adding device to new vlan
      ... The vlan 99 ... - If I assign an ip address to the vlan 199 interface, ... switchport trunk encapsulation dot1q ... switchport trunk allowed vlan 40,51,99,199,997,998 ...
      (comp.dcom.sys.cisco)
    • Re: 2600 router + 2924 switch and vlans
      ... I can route from a port ... assigned to the def vlan, but not from any port assigned to vlan 2 ... interface FastEthernet0/0 ... switchport trunk encapsulation isl ...
      (comp.dcom.sys.cisco)
    • Need help adding device to new vlan
      ... The vlan 99 ... - If I assign an ip address to the vlan 199 interface, ... switchport trunk allowed vlan 40,51,99,199,997,998 ... no ip proxy-arp ...
      (comp.dcom.sys.cisco)
    • Re: kern/109815: wrong interface identifier at pfil_hooks for vlans + if_bridge
      ... It is cleared when an mbuf chain is passed to another entity which may consume the frame in that mbuf chain, in case the entity re-enters ether_inputwith the same mbuf chain for local delivery (e.g. bridge, netgraph, vlan). ... "logical" interface. ...
      (freebsd-net)