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

Max1
New Contributor
Oh sorry i write the false VLAN ID in the last post. But you are right. Ping from 100 works and from 23 not.

Ronald_Dvorak
Honored Contributor
If you ping from the X440 then the switch uses 192.168.100.244 as the source address for the ping = as the router knows the subnet (directly connected) he is able to return the echo reply.

You'd try it with the below commands = set the source IP for the ping

should work = ping with source from VLAN#44
#ping 8.8.8.8 from 192.168.100.244

will not work = ping with source from VLAN#43
#ping 8.8.8.8 from 192.168.23.244

Max1
New Contributor
i didn´t work anymore

Max1
New Contributor
I think you idea is not so wrong. But i also have the Problem in VLAN43 (192.168.100.x). And from Switch (X440G2) i can ping the internet and get a response. But when I use X440 as Gateway on the host,

Ronald_Dvorak
Honored Contributor
Little error ....the UMTS router will tx the packet out to the ISP router as that is (normaly) his default gateway - the ISP router will disard the packet as he has no route to the private address range.
GTM-P2G8KFN