01-20-2011 12:38 AM - edited 03-06-2019 03:05 PM
Hi all, I have a question about VLAN routing and Gateway routing.
I configured some VLAN, here you can see VLAN2, consider that all VLAN are reachable from all VLAN
...
ip routing
...
interface GigabitEthernet1/0/2
switchport access vlan 2
switchport mode access
!
interface GigabitEthernet1/0/3
switchport access vlan 2
switchport mode access
!
interface GigabitEthernet1/0/4
switchport access vlan 2
switchport mode access
...
interface Vlan2
ip address 10.1.1.1 255.255.255.0
!
...
After that I configured connection with the default gateway:
interface GigabitEthernet1/0/21
no switchport
ip address 10.10.10.2 255.255.255.252
!
...
and routing:
ip route 0.0.0.0 0.0.0.0 10.10.10.1
from console of the switch I can ping all interfaces (gateway included) and I show you the routing table
Switch3750G#sh ip route
...
Gateway of last resort is 10.10.10.1 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
...
...
...
C 10.10.10.0/30 is directly connected, GigabitEthernet1/0/21
...
C 10.1.1.0/24 is directly connected, Vlan2
...
S* 0.0.0.0/0 [1/0] via 10.10.10.1
Switch3750G#
but I cannot ping the interface 10.10.10.1 from one of gateway in the VLAN
Please let my know If I wrong something
Thanks a lot
Alberto
Solved! Go to Solution.
01-21-2011 01:28 PM
Hi,
I consider very precious your support, honestly I'm not very experienced in configuring Cisco devices and I can not dedicate to work full time. At the time I changed the network scenario, but the problem seems to be the same. As soon as possible I'll publish the log and realized scenario.
Thank's in advance for supporting to the entire community.
Alberto
01-24-2011 06:08 AM
Let me put it another way. The device that is the default GW does it have an interface with an IP on the same subnet as the VLAN2 interface IP address on the switch?
If not how does the default GW IP route to VLAN2? any other routers involved or VLAN routing on another device?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide