H
H
hendrixix2021-01-07 13:29:34
HP
hendrixix, 2021-01-07 13:29:34

How to configure Internet access through VLAN?

Good day. While configuring a VLAN on an HPE OfficeConnect 1950 Switch, I encountered an issue with routing traffic from the VLAN to the ISP. Here are the inputs:
VLAN10 is also native - 10.99.100.3 (in the same network, the CISCO ISR4331 router is 10.99.100.1)
VLAN20 - 10.99.110.1
VLAN30 - 10.99.120.1
A static routing rule 0.0.0.0/24 on 10.99.100.1 has been created on the switch
All VLANs they ping each other, but the router can be pinged only with VLAN10 and there is no Internet, respectively. For the test, I added the ip route 10.99.110.0 255.255.255.0 10.99.100.3 parameter on the router and now the computer with VLAN20 started to ping the router normally. But the internet never came. What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Pilipchuk, 2021-05-16
@SLIDERWEB

There is no routing. Missing NAT target vlan.
routing 0.0.0.0/24 to 10.99.100.1 is the routing of local traffic of the switch itself, not your vlans. You must route them on the router, and configure NAT there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question