I have a Juniper SRX220 (junos) router where I have configured vlan.1 and vlan.2 with IP 10.0.1.1/24 and 10.0.2.1/24. Now I want to route between these networks. How do I configure that in Junos? I can't figure that out from the manual and it does not work out of the box.
Because this is an SRX, there are a number of requirements here.
Define VLANS (think layer 2)
Define L3 interfaces bound to those vlans...
Place those L3 interfaces into a zone
Since this is an SRX, you must create a policy permitting intra-zone traffic
Set physical interfaces onto that VLAN
Plug devices in. Once any interface assigned to that VLAN is physically up, the VLAN interface for that VLAN will come up.