vlan

  1. F

    One-way communication issue with vlan and Netgraph

    Hello all, wondering if someone more experienced can lend me a hand to figure out why my VMs don't have access to a vlan network when the tagging is being done by the guest OS instead of router (ingress/egress). I have a somewhat simple setup router ---- igb0 ---- pub-br0 ---- vm100 router =...
  2. nbari

    How can I utilize a Gif/GRE tunnel to reach a VLAN from a bridge when only having WiFi?

    I am using vm-bhyve to manage VM's, I create a switch with something like vm switch create -i igb0 public all works fine as expected but now I would like to create VM's in another network segment the one I can only access via VLAN, the problem is that I have only Wi-Fi and can't send the vlan...
  3. H

    bhyve bridge not passing traffic between bhyve vm and external hosts

    I'm using vm-bhyve to manage. I created a switch as: vm switch create -n 2000 -i bge0 b2k then assigned an ip to the interface created: ifconfig bge0.2000 10.1.1.1 then assigned this bridge to my vm. the vm has no vlan configured. from Inside the VM: I can ping 10.1.1.1 (the hypervisor...
  4. L

    bhyve vm-bhyve and VLAN

    I have read a couple of threads where the poster had seemingly the same problem as I had, but their solutions either didn't work, or I had already tried it. I'm hoping there is something I missed and that I've made a simple mistake. I have a FreeBSD 13.1 server with its main Ethernet interface...
  5. I

    debugging ifconfig vlan

    Hello, community. Seeking help/guidance from more experienced folks. Issue: cannot create specific vlan interface. Surprisingly for me it does create all, but vlan 6 from configuration below. root@core01:/home/ # cat /etc/rc.conf | grep ifconfig ifconfig_igb0_name="wan up"...
  6. Thurisaz

    VLAN on ISC DHCPd server

    Due to the safety issues I have to configure a VLAN to set the "nameless" (undiscoverable) client hosts in it and deny (via IPFW) any access to the servers, except ports 143 and 587 on the mail server. How it can be set up most effectively? Server runs FreeBSD-13.1, has dhcpd, BIND 9.16...
  7. D

    VLAN bridge networking issue

    Hi there ! I am new to this board and relatively new to freebsd, so please be kind if i have done something wrong. I am learning :) I have 2 physical FreeBSD Hosts in my Network. Both of them are running several jails. Also i have multiple VLANs in my Network. The Jails are connected to...
  8. ajmcc

    VLAN trunk: bridge on untagged interface breaks tagged traffic

    I've just spent a while on some weird behaviour on a VLAN trunk interface. It was configured with two VLAN subinterfaces, each a member of a bridge, and the untagged interface also a bridge member. tcpdump was showing tagged frames being dropped somewhere in the stack, unicast behaving...
  9. G

    How can I create VLANs faster or in a batch?

    I have a project that sometimes requires configuring a lot of vlans, but when I try to, for example, configure 100 vlans, it takes about 2 minutes, and when creating more vlans, that grows linearly, so it takes about 20 minutes for creating 1000 vlans, and over an hour for 4000 vlans. Is there a...
  10. blind0ne

    Cretate tagged vlan on network interafce

    Hello, I have the following enteries in my rc.conf: cloned_interface="vlan105" ifconfig_vlan105="vlan 105 vlandev bge0" my real interface name in bge0, the vlan105 int is visible in the ifconfig output, but I can't see any mac on my tagged (trunk) switch interface. Plese help me to bring up...
  11. F

    Unexpected behavior of ssh(d) with vlan

    Hello, I have a problem with my vlan configuration and sshd my virtual machine is connected do a dhcp server, network is 10.0.2.0 netmask is 255.255.255.0 dhcp-range is 10.0.2.2-100 In my rc.conf ifconfig_em0="DHCP" em0 will get ip 10.0.2.15 with this, sshd is reachable on 10.0.2.15 but...
  12. D

    Problem with multiple bridges on interface with VLAN

    So I have a few VMs via churchers vm-bhyve, and trying to put a new VM on with a VLAN. The Unifi switch port is configured as a trunk port. So starting out, here's the interfaces I have. igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500...
  13. S

    PPPoE from inside bhyve guest through VLAN

    My scenario: I'm building a home firewall/router on an Intel NUC. Host OS if FreeBSD 12.2 and I installed pfsense in a bhyve guest. I want to build a "router on a stick". I have a managed switch and plugged in my DSL modem into a vlan port. The NUC is connected to a trunk port. I created 2...
  14. B

    Solved Don't get VLAN (DHCP) ip address on my Virtual Machine Guest

    For my office I am trying to set up a VLAN for a (Nextcloud) VM which is running on top of a FreeBSD server, which is running behind a pfSense firewall and a Mikrotik Switch. The VLAN 30 is created on the pfSense firewall and is connected to a DHCP server on pfSense. (See the ifconfig of...
  15. J

    PF PF and VLANs

    The FreeBSD handbook explains how to setup VLANs. However, I couldn't find information of how to use VLANs in a PF configuration. Assuming that I have one or more VLANs assigned to the network interface igb0 - which show up as igb0.5 etc - do I just use igb0.5 as the network interface within the...
  16. tscho

    Solved No ingress VLAN traffic

    Hi, I'm fighting for a couple of days with networking of FreeBSD. I try to create a VLAN on my Bhyve host for some VMs. Everything works fine as long as I don't use VLAN tags. I changed already the physical switch already and double-checked my VLAN setup but to me it seems like it's a FreeBSD...
  17. J

    Solved Bring up interface with no IP addresses assigned (for VLAN-tagged sub-interfaces)

    Though obvious in retrospect, how to bring up a "master" interface through /etc/rc.conf without an IP address assigned was not easy to find. The application is when all traffic through the interface is to be VLAN-tagged. ifconfig_re0="up" # Otherwise re0.NNN are not created vlans_re0="100"...
  18. C

    Solved Advice needed on implementing VLANs on a 3-segment firewall

    Hello everybody, I have a 15-year old system with a role of firewall (pf)/DHCP server/squid/squidguard. This system which is currently running FreeBSD 11, has 3 network cards, each one serving a network segment (wan, dmz, lan). Built at a time I had no knowledge of VLANs, and trying to connect...
  19. G

    FreeBSD Switching Features

    So I've been playing with a FreeBSD virtual setup to test network functionality, and the routing is awesome, especially vlan subinterfaces. Now I'm trying to make the FreeBSD machine behave as a network switch. One way to do that is to create a bridge and add all the ports to the bridge. This...
  20. arader

    Am I crazy? (Bridging + VLANS + LAGG)

    Hi all, I run a freeBSD router at home and I love it, I'm always finding new ways to expand my understanding of networking. I recently bought a 4x SFP+ 10GB Chelsio card to play with, and I'm coming up with ways to use it. I already have 4x GBE ports lagg'd together in lagg0. I then apply a...
Back
Top