Good light.
I have tp wr740n with 15.05 openwrt
Local pc with ip 192.168.0.2
Esxi with 2 virtual pc ip's 172.16.20.2 and 172.16.40.2
wr740n ports
-------------------------------------------------
wan - not use
1 port - local pc
2 port - now not use (any pc to test)
3 port - now not use (any pc to test)
4 port - Esxi (tagged 20 and 40 vlan's)
-------------------------------------------------
I did:
2 vlan's 20 and 40
3 interfaces Lan, Vlan20 and Vlan40
What i want:
I need make L2 and L3 routing (as cisco 2911)
192.168.0.2->ping 172.16.20.2->get echo
192.168.0.2->ping 172.16.40.2->get echo
172.16.20.2->ping 192.168.0.2->get echo
172.16.40.2->ping 192.168.0.2->get echo
What work:
172.16.20.2->ping 172.16.20.1->get echo
172.16.40.2->ping 172.16.40.1->get echo
192.168.0.2->ping 172.16.20.1->get echo
192.168.0.2->ping 172.16.40.1->get echo
Config openwrt
-------------------------
Vlans
*********************
vlan 20
*********************
CPU - tagged
4th port - tagged
3rd port - untagged
*********************
vlan 40
*********************
CPU - tagged
4th port - tagged
2nd port - untagged
*********************
Interfaces (all mask /24)
*************************
Lan
*************************
Standart settings 15.05
IP 192.168.0.10
*************************
Vlan20
*************************
IP 172.16.20.1
GW 192.168.0.10
*************************
Vlan40
*************************
IP 172.16.40.1
GW 192.168.0.10
*************************
Local PC
*************************
IP 192.168.0.2
route ADD -p 172.16.20.1 MASK 255.255.255.0 192.168.0.10 METRIC 1
route ADD -p 172.16.40.1 MASK 255.255.255.0 192.168.0.10 METRIC 2
How work vlans i know!
How work routing i know!
I don't know how make it in OpenWRT
Pls help me if u can.
(Last edited by h0mikus on 30 May 2017, 07:41)