Routing
Reply
cy
Contributor
cy
Posts: 75
Registered: ‎09-28-2010
0
Accepted Solution

SRX-Series route "into" VLAN

(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 )

 

Hi,

 

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

 

ge-0/0/1 vlan-tagging

        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:

static 

  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 :smileywink:

 

thanks in advance. 

chris

--

You can also find me on Freenode IRC in #juniper, my handle is "cy[]"
Contributor
blacksmith
Posts: 21
Registered: ‎04-12-2010
0

Re: SRX-Series route "into" VLAN

Hi there,

 

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.

 

Regards,

yo

cy
Contributor
cy
Posts: 75
Registered: ‎09-28-2010
0

Re: SRX-Series route "into" VLAN

[ Edited ]

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)

 

thanks ,)

--

You can also find me on Freenode IRC in #juniper, my handle is "cy[]"
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.