Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Routing vlans to uplink

$
0
0

Hi all

 

Sorry for this very basic question but I can't find a solution

I'm replacing old HP procurves with Juniper EX-4200 but I'm having troubles routing vlans to uplink

My setup is very simple one vlan per port and one uplink to my provider

This is what I have done so far:

#UPLINK PORT 47
set vlans UPLINK vlan-id 47
set interfaces ge-0/0/47 unit 0 family ethernet-switching vlan members 47
set interfaces ge-0/0/47 unit 0 family ethernet-switching port-mode access
set interfaces vlan unit 47 family inet address 64.XXX.XXX.50/29
set vlans UPLINK l3-interface vlan.47

set routing-options static route 0.0.0.0/0 next-hop 64.XXX.XXX.49

set vlans PRUEBA vlan-id 1
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members 1
set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode access
set interfaces vlan unit 1 family inet address 173.XXX.XXX.1/29
set vlans PRUEBA l3-interface vlan.1

 

From the switch I can ping a server in vlan PRUEBA and my provider's gateway (64.XXX.XXX.49) but from the server can't ping 64.XXX.XXX.49
I guess I'm missing some nter vlan routing
I also tried setting UPLINK vlan as trunk but when I do that I can't ping 64.XXX.XXX.49

NOTE: In my current switches we don't have trunks so I'm trying to avoid trunks if is possible

 

 


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>