Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

EdgeRouter X v1.9 VLAN enabled switch blocking VLAN traffic

$
0
0

Hi all,

 

I am trying to use the new v1.9 VLAN switch feature. I have a pretty basic configuration I am trying to test and it's not working as expected. Here is the config:

 

interfaces {
    ethernet eth0 {
        description LAN
        duplex auto
        speed auto
    }
    ethernet eth1 {
        description WLAN
        duplex auto
        speed auto
    }
    ethernet eth2 {
        description Local
        duplex auto
        speed auto
    }
    ethernet eth3 {
        description Local
        duplex auto
        speed auto
    }
    ethernet eth4 {
        address dhcp
        description Internet
        duplex auto
        firewall {
        }
        speed auto
    }
    loopback lo {
    }
    switch switch0 {
        address 192.168.1.1/24
        description Switch
        mtu 1500
        switch-port {
            interface eth0 {
            }
            interface eth1 {
                vlan {
                    vid 2
                }
            }
            interface eth2 {
            }
            interface eth3 {
            }
            vlan-aware enable
        }
        vif 2 {
            address 192.168.2.1/24
            description VLAN2
            mtu 1500
        }
    }
}

What is not working is that I cannot reach the device that is on VLAN 2 on eth1 though I allow tagged VLAN 2 on it. If I disable vlan-aware I can reach my device, but of course VLAN traffic is not isolated in that case.

 

Is my config wrong or did I not understand how this works?

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>