I am running into an issue with my VLAN configuration. The VLAN20 devices can't send data, they only receive data. My goal is to put my 10GbE devices on their own subnet and VLAN. Eventually I want to do this with the Guest wifi and my IOT wifi, etc. But baby steps first.
I am not sure where the issue is. I am new to VLAN's and subnets so any guidance would be appreciated.
I am currently using swconfig.
Here is my topology -
Modem -> Netgear R7800 (OpenWRT) router --(4 Ports LACP BOND)->
Netgear GS724TP (smart switch)
-> 1GbE devices
-> MikroTik 10GbE switch -> 10GbE devices
Here is my config:
Netgear R7800 -
I have the 4 ports bonded together in a LAG. I then created VLAN20 with all ports TAGGED.
I gave VLAN20 an IP of 192.168.88.1/24 with DHCP. My 10GbE devices are being assigned IP's.
Network:
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ip6assign '60'
list dns '1.1.1.1'
list dns '1.0.0.1'
list ipaddr '192.168.1.1/24'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '6t 4'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 5'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '6t 3'
config switch_vlan
option device 'switch0'
option vlan '4'
option vid '4'
option ports '6t 2'
config switch_vlan
option device 'switch0'
option vlan '5'
option ports '6t 1'
option vid '5'
config switch_vlan
option device 'switch0'
option vlan '6'
option vid '20'
option ports '6t 4t 3t 2t 1t 5t'
config device
option name 'eth0'
config device
option name 'wlan0'
config device
option name 'wlan1'
config device
option name 'bond0'
config device
option name 'bonding_masters'
config device
option name 'bonding-LAGTest'
config device
option name 'eth1'
config device
option name 'eth1.1'
option type '8021q'
option ifname 'eth1'
option vid '1'
config device
option name 'eth1.3'
option type '8021q'
option ifname 'eth1'
option vid '3'
config device
option name 'eth1.4'
option type '8021q'
option ifname 'eth1'
option vid '4'
config device
option name 'eth1.5'
option type '8021q'
option ifname 'eth1'
option vid '5'
config device
option name 'eth1.20'
option type '8021q'
option ifname 'eth1'
option vid '20'
config device
option name 'br-lan'
option type 'bridge'
list ports 'bonding-LAGTest'
list ports 'eth1'
config device
option name 'eth0.2'
option type '8021q'
option ifname 'eth0'
option vid '2'
config interface 'LAGTest'
option proto 'bonding'
option netmask '255.255.255.0'
option bonding_policy '802.3ad'
option min_links '0'
option ad_actor_sys_prio '1'
option ad_select 'stable'
option lacp_rate 'fast'
option xmit_hash_policy 'layer2'
option all_slaves_active '0'
option link_monitoring 'mii'
option miimon '100'
option downdelay '0'
option updelay '0'
option use_carrier '1'
option ipaddr '192.168.2.10'
list slaves 'eth1.1'
list slaves 'eth1.3'
list slaves 'eth1.4'
list slaves 'eth1.5'
config interface 'LANPORT1'
option proto 'static'
option device 'eth1.1'
list ipaddr '192.168.2.6/24'
config interface 'LANPORT3'
option proto 'static'
option device 'eth1.3'
list ipaddr '192.168.2.7/24'
config interface 'LANPORT4'
option proto 'static'
option device 'eth1.4'
list ipaddr '192.168.2.8/24'
config interface 'LANPORT5'
option proto 'static'
option device 'eth1.5'
list ipaddr '192.168.2.9/24'
config interface 'VLAN20'
option proto 'static'
option device 'eth1.20'
list ipaddr '192.168.88.1/24'
list dns '1.1.1.1'
list dns '1.0.0.1'
Firewall:
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
list network 'LAGTest'
list network 'LANPORT3'
list network 'LANPORT4'
list network 'LANPORT1'
list network 'LANPORT5'
list network 'VLAN20'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'wan6'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fc00::/6'
option dest_ip 'fc00::/6'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config rule
option name 'Support-UDP-Traceroute'
option src 'wan'
option dest_port '33434:33689'
option proto 'udp'
option family 'ipv4'
option target 'REJECT'
option enabled 'false'
config include
option path '/etc/firewall.user'
Netgear GS724TP -
LAG3 is the LAG for the 4 router ports -
VLAN config:
PVID config:
MikroTik CRS305-1G-4S+ -