cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1185
Views
0
Helpful
7
Replies

IP routing issue cisco 3750

Debudas123
Beginner
Beginner

I have a one no of cisco 3750 switch, i have server at other location(Location A) ip address is 172.16.1.1/24.

At my side (Location B) i have using defferent ip range 192.168.1.0/24. I have FO connectivity from Location A to Location B

i have configure the switch like this..

  interface vlan 1

  ip address 192.168.1.1 255.255.255.0

interface vlan 2

ip address 172.16.1.100 255.255.255

ip route 0.0.0.0 0.0.0.0 172.16.1.1

i can ping to the server (172.16.1.1) from switch console, but i can't ping from the users (which is connected 192.168.1.0 network) ont thing is that i can ping 172.16.1.100.

7 Replies 7

Jon Marshall
Hall of Fame
Hall of Fame

Is the connection to Location A a L2 link or a L3 routed link ?

What is 172.16.1.1 ?

Can you post details of how Location A is configured ?

Jon

Connection to Location A is L2 link.

172.16.1.1 is one of the server address of Location A, i want to access it from Location B.

Location A is separate network, i have just want to access the perticular server (172.16.1.1) from Location B.

Thanks

Debabrata

Not sure you need that default-route ie.

ip route 0.0.0.0 0.0.0.0 172.16.1.1

Apart from that, what is the default-gateway set to on the server ? it should be 172.16.1.100

Edit - just noticed that your subnet mask on vlan 2 is wrong. It should be 255.255.255.0 and not 255.255.255.255

Jon

Igor Tiunov
Beginner
Beginner

To enable routing on the switch Layer 3, you must enable ip routing in the global configuration mode.

C3750-1(config)#ip routing

C3750-1(config)#sh run
...
!
switch 1 provision ws-c3750x-48
system mtu routing 1500
ip routing
!
...

glen.grant
VIP Alumni
VIP Alumni

  Question A .  What address range (subnet) are you using for your connecting link across the fiber? 

Question B.  Are you using dynamic routing protocols ?  If not then you will need static routes on both sides pointing from one side to the other. 

Dear 

172.16.1.0/24 location A

192.168.1.0/24 location B

At my site (location B) is possible to create a static route but the another site (location A) is not possible to configure static route, because there in no router at location A, all  are L2 devices. Just tell me is it possible to do without any changes at Location A ?

Thanks

Debabrata

Hi Debudas

As mentioned by Jon above the Subnet Mask of Vlan 2 should be /24 not /32. If Site B users in the Subnet 192.168.1.0/24 wants to access 172.16.1.0/24 Subnet Server then we need to do intervlan routing at Site B Router ie using router on stick model.

Why you have a default-route on the Switch at Site A pointing to the Server . Are you able to remote access your L2 Switch at Site A apart from Router B. I believe you would not be able to do so. If its a L2 Switch and we don't need a default-route but instead a default-gateway poiting to MGMT VLAN IP on Site B Router.

Your final setup should look like this as below:

                                                                           Router-Site-B

                                                                            !                !

                                                                     dot1q-1             dot1q-2

                                                             192.168.1.x/24      172.16.1.x/24

                                                                                      !

                                                                        Trunk Link (Vlan 1,2)

                                                                                      !

                                                                          L2 Switch-Site-A

                                                                             !                !

                                                                     SVI-1             SVI-2

                                                             192.168.1.1/24      172.16.1.100/24

                          L2 Switch-Site-A (default-Gateway either 192.168.1.X or 172.16.1.X depends on MGMT VLAN)

                                                                                      !

                                                                             Access(Vlan 2)

                                                                                       !

                                                                                   Server

                                                       IP-172.16.1.1/24, Default-Gateway 172.16.1.x

Hope this helps you to clarify your answer.

Regards

Varma

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: