cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with VLAN routing

Problem with VLAN routing

Peter_Kulmbrein
New Contributor II
Hi all,

I try to set up a x450-G2-24t with XOS 16.1.1.4 as a router for clients that want to access a specific host at 10.12.0.241 in a /24 net. Clients are in a 172.30.x.x/16 net.

I configured the vlans (vlan tag 100 and vlan tag 10) and enabled ipforwarding globally and for the vlans. what is working so far is pinging the switch ip in the 10.12.0.x lan from the 172.30.x.x switch ip. what also works is pinging the 10.12.0.241 host ip from the 10.12.x.x switch ip.

But when trying to ping the host ip from the 172.30.x.x switch ip i get no answer.

so what did i miss? do i have to add some specific routing?

thankful for any tips!

Peter
14 REPLIES 14

Jarek
New Contributor II
If host B want to talk with host A and a default gateway is 172.30.1.1 , you should add on host B a static route to 10.12.0.0/24 via 172.30.1.234

--
Jarek

Peter_Kulmbrein
New Contributor II
Hi

diagram enclosed 😉
what i need to achieve is reaching a website hosted at HostA from Hostb

just tell me if you need some more infos!

73ae97c2315642319a59a2b0aadf2142_RackMultipart20151126-15687-ya7kow-NW_EXTR_inline.jpg



Based on the diagram you have provided, you've told hosts in the 10.12.0.0/24 network now to reach hosts in the 172.30.0.0/16 network. but you haven't done the same for the opposite. Therefore, if you ran a capture on the port going to 172.30.1.1, you should be able to see the Echo requests going towards host B, but the Echo replies not being returned.

Jarek
New Contributor II
Do you mean that you have the same config in both switches or SwicthA is the router and SwitchB is only L2 ?

Can you show simple diagram network ?

--
Jarek

Peter_Kulmbrein
New Contributor II
Hi,

Thanks so far for the infos!

What i got working now is pinging the Host on 10.12.0.x from my Switch1 also from the 172.30.x.x ip address. i got that working with entering a route at the host for the 172.30.x.x net with SwitchA as Gateway.

One thing is still missing:

I try to do the same from SwitchB that is configured sameway than SwitchA and connected through a trunk where all vlans are tagged. i can also ping switchA 10.12.0.x interface from the 172.30.x.x interface but not the host.

should not switchA do the routing to SwitchB for the icmp answers?

GTM-P2G8KFN