cancel
Showing results for 
Search instead for 
Did you mean: 

VLAN Routing - interVLAN works but external Gateway is not accessable from Client

VLAN Routing - interVLAN works but external Gateway is not accessable from Client

Max1
New Contributor

Hi,

I have some problems with routing. I hope you can help me quickly.



Thats my iprouting table



Ori Destination Gateway Mtr Flags VLAN Duration
#s Default Route 192.168.100.1 1 UG---S-um--f- Haus 0d:0h:43m:26s
#d 192.168.21.0/24 192.168.21.244 1 U------um--f- Video 0d:2h:42m:48s
#d 192.168.22.0/24 192.168.22.244 1 U------um--f- Control 0d:2h:42m:32s
#d 192.168.23.0/24 192.168.23.244 1 U------um--f- Internet 0d:3h:5m:5s
#d 192.168.100.0/24 192.168.100.244 1 U------um--f- Haus 0d:3h:5m:5s


My vlan table



-----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Control 42 192.168.22.244 /24 ------------T-----P--------- ANY 1 /8 VR-Default
control_eaps1 3333 --------------------------------------C--------- ANY 1 /2 VR-Default
Default 1 ------------------------------------------------ ANY 0 /0 VR-Default
Haus 44 192.168.100.244/24 -f----------------P--------- ANY 2 /3 VR-Default
Internet 43 192.168.23.244 /24 -f----------T-----P--------- ANY 3 /7 VR-Default
Mgmt 4095 192.168.1.10 /24 ---------------------------- ANY 0 /1 VR-Mgmt
Video 41 192.168.21.244 /24 ------------T-----P--------- ANY 1 /14 VR-Default
-----------------------------------------------------------------------------------------------


My PC is in the VLAN Internet with following settings



IP: 192.168.23.11/24

GW: 192.168.23.244

DNS 192.168.100.1

In the network Haus works all fine. Here is Gateway connected. The VLAN inter Routing is aktivates for vlan internet and Haus. Ping from internet vlan to haus vlan works fine. But i can´t reach the gateway 192.168.100.1. I make a default gateway entry in the iproute Table.

When I ping a adress in the net like 8.8.8.8 from the switch it works.

What make I wrong? I will be happy for a fast answer.





11 REPLIES 11

Ronald_Dvorak
Honored Contributor
Nope...... let's break it down ...

If the client 192.168.23.11 in VLAN#43 pings 192.168.100.1 the following happens...
- the packets is forwarded to his gw (=switch 192.168.23.244)
- the switch has a default route (=UMTS router) and tx it to 192.168.100.1
- the UMTS router likes to tx the echo reply and looks into his routing table to find a route to 192.168.23.0/24
- as he has no route to this network he is not able to tx the packet and discards it

You must make the UMTS router aware of this other networks that like to reach the internet by adding static routes.

I'm not sure whether the GUI of the UMTS router allows it or whether your ISP could configure it for you or maybe it's not possible at all.

I've a similar setup@home - instead of UMTS I've a cable modem - because the modem doesn't allow route entries I've connected a firewall behind it to do NAT and the routing.

Ronald_Dvorak
Honored Contributor
Looks like you miss the return route on 192.168.100.1.

Not sure what device that is but you need this route in it....
192.168.23.0/24 via 192.168.100.244
GTM-P2G8KFN