Here's a short tutorial for how to configure Router on a stick using a vSRX device in which case I'll need to configure the necessary security zones and policies to bring this all to life. Router on a stick is a legacy method for achieving inter-vlan communication.
Commands used in video:
1) set interfaces ge-0/0/0 vlan-tagging
2) set interfaces ge-0/0/0.10 vlan-id 10
3) set interfaces ge-0/0/0.20 vlan-id 20
4) set interfaces ge-0/0/0.10 family inet address 10.0.1.1/24
5) set interfaces ge-0/0/0.20 family inet address 10.0.2.1/24
6) set security zones trust interface ge-0/0/0.10
7) set security zones trust interface ge-0/0/0.20
8) set security zones trust host-inbound-traffic system-services all
9) set security zones trust host-inbound-traffic protocols all
10) set security policies default-policy permit-all
Below is a link to Juniper's official documentation on how to configure Router on a stick:
https://supportportal.juniper.net/s/a...
Watch video How to configure Router on a Stick on a Juniper SRX online without registration, duration hours minute second in high quality. This video was added by user Jon Green 19 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,58 once and liked it 4 people.