01-17-2011 02:32 AM
(i first put this topic in the srx section instead, so i deleted the first one and put this one up. sorry if anyone reads twice and is annoyed :-I )
i got an SRX240 with two interfaces configured:
tldr: how to route from one vlan (or "no" vlan) into another vlan?
ge-0/0/0 (no vlan-tagging)
unit 0: family inet address 10.0.0.1/24
unit 5: family inet address 10.0.5.1/24 vlan-id 5
unit 6: family inet address 10.0.6.1/24 vlan-id 6
unit 7: family inet address 10.0.7.1/24 vlan-id 7
i would like to route traffic like this:
route 10.5.0.0/24 next-hop 10.0.5.2
route 10.6.0.0/24 next-hop 10.0.6.2
with 10.0.x.2 on a switch connected to ge-0/0/1.
as always i'd be happy not only for the solution, but also for some keywords or hints where to look so i can figure myself
thanks in advance.
Solved! Go to Solution.
01-17-2011 03:20 AM
static routing configuration:
set routing-option static route <destination-network> next-hop <next-hop address>
Don't forget to assign that interface into security zone and create security policy.
01-17-2011 04:39 AM - edited 01-17-2011 04:40 AM
actually i had all of your ideas covered. looked into it again and found my faults.
had misconfigured the next-hop router, so obviously my ping/ssh couldnt work. (stupid me)