cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3860
Views
0
Helpful
16
Replies

Cisco 3750G default routing

alberto-pesce
Level 1
Level 1

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

16 Replies 16

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

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?

Review Cisco Networking products for a $25 gift card