TL-WR1043NDv2 LAN-VLAN Tag Problem

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
gwaitsi
DD-WRT User


Joined: 11 Jan 2007
Posts: 70

PostPosted: Fri Nov 08, 2019 14:03    Post subject: TL-WR1043NDv2 LAN-VLAN Tag Problem Reply with quote
I have the below startup.

router is configured as a wireless access switch.
br2 = vlan50 (ath0.1), br1 = vlan40 (ath0.0), br0 has eth0 and eth1 connected.

Code:
# enable vlan support
swconfig dev switch0 set enable_vlan 1

swconfig dev switch0 port 4 set vlan_prio "3"
swconfig dev switch0 port 3 set vlan_prio "2"
swconfig dev switch0 port 2 set vlan_prio "2"
swconfig dev switch0 port 1 set vlan_prio "2"

swconfig dev switch0 vlan 1 set ports "0 1 5"

# clear switch ports to VLAN2 CORE 0=CPU, 5=WAN
swconfig dev switch0 vlan 2 set ports ""

swconfig dev switch0 vlan 24 set ports "4 5t 6t"
swconfig dev switch0 vlan 26 set ports "2 3 5t 6t"
swconfig dev switch0 vlan 40 set ports "5t 6t"
swconfig dev switch0 vlan 50 set ports "5t 6t"

swconfig dev switch0 set apply

vconfig add eth0 24
ifconfig eth0.24 192.168.24.10 netmask 255.255.255.0
ifconfig eth0.24 up

vconfig add eth0 26
ifconfig eth0.26 192.168.26.10 netmask 255.255.255.0
ifconfig eth0.26 up

vconfig add eth0 40
ifconfig eth0.40 192.168.40.10 netmask 255.255.255.0
ifconfig eth0.40 up

vconfig add eth0 50
ifconfig eth0.50 192.168.50.10 netmask 255.255.255.0
ifconfig eth0.50 up


- the WAN port is connected to pfsense 192.168.20.1
- the locahost is 192.168.20.5
- dnsmasq is as relay to pfsense 192.168.20.1

every thing works from wireless to vlans greater than 1 and back. internet via pfsense, etc.

the problems are;
- dd-wrt doesn't resolve any address from the console
- dd-wrt doesn't route over 192.168.20.x or via internet when wireless disconnected

I need to have the correct setup so that
- dd-wrt resolves/routes LAN address from console
- PC plugged on port 4 obtains DHCP via pfsense relay
- as 2nd step, tagging added to port 4 so that cascaded switch can pass all vlan tagged traffic
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum