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
Hi,

do you have any route on the 10.12.0.241 host to the 172.30.x.x/16 network ?

For example:

host 10.12.0.241 <---> 10.12.0.1/24 (switch) 172.30.0.1/16 ---- network 172.30.x.x/16

You must add a route to the 172.30.x.x/16 via 10.12.0.1 on the host 10.12.0.241
or you can set on the host a default gateway 10.12.0.1

--
Jarek

Jarek
New Contributor II
I wrote about the host 10.12.0.241 not the switch.
If you do not have any route to 172.30.x.x/16 network it will not work.

Kawawa
Extreme Employee
If he's using the same switch, EXOS won't allow him to add a static or default route from 1 VLAN interface to another subnet, as that is made possible via the directly attached routed automatically added once the L3 interface becomes active. Static routes can only be set when the gateway is a next hop device

Kawawa
Extreme Employee

dbb97e04473246308e866aaaa44e16e0_RackMultipart20151126-14697-6xlsi6-X450-G2_inline.png


Hi Peter, above is my understanding of what you're describing. Please correct me if I am wrong.
  1. You have defined two VLANs in the X450-G2
  2. You have configured each VLAN with a IP and enabled ipforwarding
  3. Host A can ping the VLAN interface IP addresses, however not Host B
If the above is what your topology looks like, it should work fine. Check the FDB on each VLAN to see if the MAC of the hosts has been learnt. I quickly set this up to double check, and the initial pings did not work until I had made an attempt to ping from each host. Once the MACs had been learnt, on each VLAN, the link worked just fine.

However, if the above is not your actual topology and you have multiple physical devices, you'll need to define routes that tell the IP interfaces on one host how to get the IPs on the other.

Stephane_Grosj1
Extreme Employee
Do the hosts have their gateway configured?
GTM-P2G8KFN