r/networking • • 14d ago

Troubleshooting Need help with a routing issue

I can't seem to have my vlans route between eachother from my L3 switch to my router.

For preface, I have ip routing enabled already as well as a DHCP pool that hands out IPs accordingly.

my trunk port on the switch has access to the vlan that im using for my wired data.

Wired data is 86. Ip is 192.168.50.200

DHCP is configured with the default-router of .200

Interface is a trunk port for 2 other vlans.

Router has its LAN 1 port set up as a trunk port allowing the 3 vlans. I also added vlans in the routers database.

I add a static route in the switch to allow 60.0 to the forwarding routers ip of 50.200, and in the router I add a route of 50.0 with a gateway of 60.1

I can't ping them and im not quite sure what im missing.

I do have a gateway of last resort on the switch for 0.0.0.0 0.0.0.0 192.168.50.0 setup too.

Am I missing something? Or just have a misconfiguration?

21 Upvotes

35 comments sorted by

25

u/BigManWAGun 14d ago

Sean Duffy burner account?

6

u/Big-nose12 14d ago

WHO TOLD YOU?!

33

u/No_Reward_9485 14d ago

Probably paste configs . I find it difficult to catch what you saying

10

u/Mishoniko 14d ago

I think u/silasmoeckel is on the right track. You need to decide whether your router or your switch are handling the inter-VLAN (east/west) traffic. As you have it set up now you're trying to do both and its a mess.

If your switch is doing it then remove the trunk to the router, create a short /31 network between them, and set the default route on the switch to point to the router's IP on it. Your north/south (Internet-bound) traffic will follow this route.

If your router is doing it then turn off the L3 features on the switch, leave the trunk to the router, and set DHCP to provide the router's interface IP per-VLAN. This is a classic router-on-a-stick model. If your DHCP server is on the router, then you probably want this method, otherwise you have to set up DHCP relaying on the switch and that adds complication.

In both cases, double check your ACLs and make sure they're allowing the traffic you want.

11

u/silasmoeckel 14d ago

You have a L3 switch but are making router interfaces on each vlan???? For starters pick one lets the L3 switch do it's thing and put the router in a routed interface.

Your gw IP looks funky.

4

u/Arbitrary_Pseudonym 14d ago

I still remember the time that I ran into a network with .213 as the default gateway.

Confused the crap out of me. Why do people use anything but the first or last IP in the subnet?!

6

u/Byrdyth 14d ago edited 14d ago

I have a network with a gateway of .200 at work. I presume that person was feeling particularly homicidal that day but chose to kill the hopes and dreams of countless engineers instead.

1

u/PghSubie JNCIP CCNP CISSP 14d ago

Ending in .200??

1

u/Byrdyth 14d ago

Gateway. So sorry. Updated my post.

2

u/PaoloFence 14d ago

I have colleagues like that and I could 🤮 in circles.

1

u/silasmoeckel 14d ago

They seems to have a L3 switch interface and a router interface on each vlan. OP's design is very confused.

1

u/Flimsy_Fortune4072 14d ago

Do you have the SVIs configured?

1

u/Big-nose12 14d ago

I do, yes.

I should clarify a bit that its an adtran platform. So its AOS. very similar to cisco, but some features aren't built in.

However, my switchport interfaces are built.

3

u/Inside-Finish-2128 14d ago

Remove that last resort gateway. Sending traffic to a network address is going to punish your router and traffic, and generally not work well.

3

u/I_Hate_802_11 14d ago

Could you list out the following;
Device, VLAN, IP/CIDR for both devices? That would help describe the topology better.
For example
Switch1, VLAN 86, 192.168.50.200/24
Switch1, VLAN 96, 192.168.60.200/24
Router1, VLAN 86(eth1.86), 192.168.50.1/24
Router1, VLAN 96(eth1.96), 192.168.60.1/24

2

u/alphaxion 14d ago edited 14d ago

Where is this 192.168.60.0 network?

What is acting as its gateway IP?

If they're both on your router, double check the vlan int to make sure it's the expected vlan that is allowed over the trunk and that you have the IP correct.

Take a look at your routing table to see if it makes sense to you.

I would also check that your vlan int is up, not down.

Edit: I don't know why you put in a static route on your switch when you're using the router as your gateway, any routing for 192.168.60.0 will be using the table on your router for forwarding.

2

u/Altruistic-Map5605 14d ago edited 14d ago

Your gateway on the last resort is set to .0. Did you mean to set it to .1 or whatever the next hop IP is? That’s probably causing an issue.

Try drawing a diagram and list out all your devices and add the gateways, vlans and subnets for each device. Every vlan needs a gateway in its subnet.

2

u/popanonymous 14d ago

Can the router and switch ping each other?

I’d choose a path. Either run all VLANs as layer 2 on the switch and trunk to the router. Router would do dot1qs for each Vlan.

Or you run all on the switch via SVI. Then do a layer 3, /30 between the router and switch.
- Assuming router would have a route back to the private nets on the switch (3 vlans next hop route to the switch SVI.
- Switch could do a 0.0.0.0 facing the /30 of the router.

If the router is doing internet you’ll need NAT statements for those subnets to hit the Internet.

2

u/Qwiko 14d ago

Yeah this doesn't make any sense, need more information.

1

u/New-Candidate9193 14d ago

your design is all over the place. Chose the router or the switch to have the other subnets. If router create sub interfaces if the switch then run a routing protocol between the router and switch or add static routes to the 2 other subnets on the router pointing to the switch

router = 192.168.1.1/24
Switch = 192.168.1.2/24
Switch = 192.168.2.1/24
Switch = 192.168.3.1/24

router = 192.168.2.0 255.255.255.0 192.168.1.2
router = 192.168.3.0 255.255.255.0 192.168.1.2

1

u/cybercaveman1234 CCNP, Arista ACE, Sec+ 14d ago

I’m not familiar with your hardware vendor, but in your case, since you are unable to get L3 connectivity, I suspect a vlan problem. I would just create a transit network between router and switch and enable a dynamic routing protocol. Once you are able to ping your router from the SVIs on the switch, the rest is easy: activate forwarding from each SVI to the dhcp server IP you are using

1

u/PaoloFence 14d ago

You are missing a subnetmask and network diagram. Your description is confusing.

1

u/PghSubie JNCIP CCNP CISSP 14d ago

All of you routers (inc L3 switch) need to know the path to get to each IP subnet. Your devices need a gateway which can reach each subnet. Your description is confusing. I'd have to sit down and draw a picture to try to parse what you're describing

1

u/ChainDifferent5868 14d ago

on adtran, are the vlan interfaces actually showing up/up with "show ip interface brief" or whatever the aos equivalent is? asking cause if the switch side svi is down you'll get exactly this symptom and it has nothing to do with the router config at all, half this thread is debating architecture when it might just be an interface that never came up

1

u/udbrky 13d ago

What is your router? Is it set to block other networks? Go to the Firewall rules and make sure there's a rule to allow traffic from Vlan x to Vlan y. They usually read top down.

1

u/OrganizationThen7936 13d ago

Put a packet sniffer on and look at the traffic - what are you seeing that you expect and what aren't you seeing that you should? Got all your broadcast traffic properly configured (ip helpers, are you seeing bootp in pcaps, what does your dhcp server logs show for requests?)...Troubleshooting is a process but you need to get familiar with all the moving parts.

1

u/Due_Management3241 13d ago

How did you configure 802.1q on your routers interfaces? Do you have a switch module in there or are you using routing interfaces and are using sub interfaces?

If your routers have any routable interfaces configured right. Svi or sub interfaces the subnet would show up in your routing table as local routes no need to for static routes.

So the fact you are using static routes means your interfaces are configured wrong

1

u/OrganicComplex3955 13d ago

Network Architect here. Drop me the configs and explain what you are trying to do and I'll take a look.

1

u/SevaraB CCNA 11d ago edited 11d ago

If you’re landing all the SVIs on the L3 switch, look at the config between your switch and router. It should be a routed link with no switch or similar to turn it into a pure routed link, and both interfaces should be able to ping each other’s IP addresses.

I wouldn’t suggest going unnumbered because it’ll be easy on the switch’s uplink to the router, but a pain on the router’s downlink to the switch.

1

u/stats_shiba 9d ago

Does L3 Harris stand for Layer 3?Â