Tag: vlan

Simple Cisco Text File Changes

In this scenario, we need to re-IP an administrative network, specifically a switch from the 192.168.3.254/24 network to 192.168.1.0/24 network. For the example, our switch has an IP on VLAN1 of 192.168.3.112. The default-gateway command is pointing to 192.168.3.254 would like to re-IP the switch to 192.168.1.5/24 with the gateway of 192.168.1.254 on another network…
Lees verder

InterVLAN routing MikroTik

If separate VLANs are implemented on a switch, then a router is required to provide communication between VLANs. Switch works at OSI layer 2 so it uses only Ethernet header to forward and does not check IP header. For this reason we must use the router that is working as a gateway for each VLAN.…
Lees verder

mikrotik rb3011

Q-in-Q MikroTik

Original 802.1Q allows only one vlan header, Q-in-Q on the other hand allows two or more vlan headers. In RouterOS Q-in-Q can be configured by adding one vlan interface over another. Example: /interface vlan add name=vlan1 vlan-id=11 interface=ether1 add name=vlan2 vlan-id=12 interface=vlan1 If any packet is sent over ‘vlan2′ interface, two vlan tags will be…
Lees verder

Port based VLAN tagging (Trunk and Access ports) MikroTik

Add necessary VLAN interfaces on ethernet interface to make it as a VLAN trunk port. /interface vlan add interface=ether2 name=eth2-vlan200 vlan-id=200 add interface=ether2 name=eth2-vlan300 vlan-id=300 add interface=ether2 name=eth2-vlan400 vlan-id=400 Add bridges for each VLAN /interface bridge add name=bridge-vlan200 add name=bridge-vlan300 add name=bridge-vlan400 Add VLAN interfaces to their corresponding bridges and ethernet interfaces where untagged traffic…
Lees verder