Unsolved
This post is more than 5 years old
1 Rookie
•
25 Posts
0
60751
July 12th, 2007 15:00
VLAN Default gateways
I need to have routing set up between VLANS, so from what I understand if I have VLAN 10 set up as 10.10.0.2, I need to have the clients in that VLAN set up to have 10.10.0.2 as their default gateways? Correct?
My question then is there a way to set up a deafult gateway for the VLAN. How do I point the clients out to the Internet? If I set 10.10.0.2 as the default gateways then the clients can't get out to the Internet but can communicate with other VLANS, if I set the gateway to 10.10.0.1 (Internet Gateway) then the machines can get out to the internet but can't communicate with other VLANS.
How do I get around this? Let me know if you need any further information to help me with this...
No Events found!



stormytoad
44 Posts
0
July 12th, 2007 18:00
drebbin
1 Rookie
•
25 Posts
0
July 13th, 2007 13:00
Crzywolf
93 Posts
0
July 13th, 2007 13:00
Crzywolf
93 Posts
0
July 13th, 2007 13:00
Crzywolf
93 Posts
0
July 13th, 2007 14:00
drebbin
1 Rookie
•
25 Posts
0
July 13th, 2007 14:00
zoltek
1 Message
0
February 27th, 2022 06:00
I have the same problem.
I have 20 VLANs and inner vlan routing works fine.
My router have also 20 vlan interfaces.
If I setup default gateway on switch lets say on vlan 900, only host in the same Vlan 900 that router is in have internet..
If I set default route via other vlan (901), host in this vlan 901 have internet, rest of vlans doesn't have internet..
How to set it correct ???
p.s. sorry for my english
DELL-Young E
Moderator
•
5.3K Posts
0
February 27th, 2022 17:00
Hi, IP route https://dell.to/3vsHkPN gateway (ip address>). This default route need to be set on switch. Please see the attached for example.
1 Attachment
885efd8a-1967-4c5a-929f-5aa487e121ea-745257247.png
Dori_Bashan
1 Rookie
•
6 Posts
0
August 2nd, 2024 13:43
Hello,
we have Dell s4048-on and Dell s60 and i want to add Default Gateway to VLAN 10 on each switch.
here is the current config:
s4048-on:
interface Vlan 10
ip address 192.168.10.250/24
tagged Port-channel 1
untagged TenGigabitEthernet 1/3-1/48
untagged fortyGigE 1/49-1/54
no shutdown
s60:
interface Vlan 10
ip address 192.168.10.251/24
tagged Port-channel 1
untagged GigabitEthernet 0/0-47
no shutdown
can you confirm if to add 192.168.10.1 as the gateway i need to configure:
ip route 0.0.0.0/0 192.168.10.1 255
or
ip route 0.0.0.0/0 192.168.10.1
or something else?
DELL-Chris H
Moderator
•
9.6K Posts
0
August 2nd, 2024 13:55
Dori_Bashan
1 Rookie
•
6 Posts
0
August 2nd, 2024 14:52
Thanks
i think you had a typo there so just verifying (the https://dell.to/4cgjfgS seems incorrect)
is this the correct command for my setup on both switches?
ip route 0.0.0.0/0 192.168.10.1 /24
Thanks!
Dori
DELL-Chris H
Moderator
•
9.6K Posts
1
August 2nd, 2024 14:56
Sorry the page auto-shortened the command to a link
The command you just shared {ip route 0.0.0.0/0 192.168.10.1 /24} is the command I had tried to share that it created the link in.
(edited)
Dori_Bashan
1 Rookie
•
6 Posts
0
August 2nd, 2024 15:40
Hi
just tried that and got an error:
i have tried with space before the /24 and without it
what am i missing?
DELL-Chris H
Moderator
•
9.6K Posts
0
August 2nd, 2024 15:52
Try dropping the /24 and go with
[ip route 0.0.0.0/0 192.168.10.1 255.255.255.0]
(edited)
Dori_Bashan
1 Rookie
•
6 Posts
0
August 2nd, 2024 16:06
still no....