09-11-2007 03:58 AM - edited 03-05-2019 06:24 PM
Hi,
I have 1 networks managed by me (10.13.24/24). The servers in this network are backedup via a different network (193.28.206.0) that is not managed by me.
Currently we have a persistent static route setup in our servers. We are having problems with the route not working properly.
I want to know how do I setup routing on the switch side? Is it possible?
Using C3650G-48TS switch (C3560-IPBASEK9-M), Version 12.2(35)SE1)
Thanks
09-11-2007 04:07 AM
you can enable routing within the global configuration mode with commands
1 router rip/igrp/eigrp/ospf
then
2 network 10.0.0.0
3 network 192.0.0.0
it should work
09-11-2007 04:55 AM
I did:
1 configure terminal
2 router rip
I got an error "IP routing not enabled"
09-11-2007 04:59 AM
Hi
From config mode on your 3560
3560(config)# ip routing
Then carry on with your rip configuration.
Jon
09-11-2007 05:00 AM
OK
give a commands ip routing in config terminal mode
then follow the previous steps
09-11-2007 05:33 AM
Abbas, Jon,
Thanks. The command worked fine.
But, I am still not able to see the route getting effective from my server end. When I do a tracert to the 193.28.206 address, it goes through the default gateway and not through the route created in switch.
How do I verify that the command I gave is effective on the switch?
09-11-2007 06:26 AM
Hi
Could you provide some more details ie.
1) Do your server backup using separate NIC's or through the same NIC as the data.
2) Could you provide the config of your switch.
3) Could you provide the static route that you used on your servers.
Jon
09-11-2007 07:14 AM
09-11-2007 07:22 AM
Hi
Okay assuming 10..13.25.201 is reachable from your switch which it should be you can add a static route to your switch
ip route 193.28.206.0 255.255.255.0 10.13.25.201
With this an IP routing enabled you could remove your RIP configuration because it isn't doing anything for you.
Jon
09-11-2007 07:47 AM
Jon,
I did this and routing works fine from the switch. Perfect.
But, from within the server connected to this switch, it goes through the default gateway of the NIC and not through this route enabled on the switch.
I feel I am missing something in the overall configuration somewhere. any clues?
Thanks,
09-11-2007 07:52 AM
Can you post an ipconfig from the server ?
09-11-2007 08:34 AM
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Lab2
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Team-Mem2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : HP NC360T PCIe DP Gigabit Server Adapter
Physical Address. . . . . . . . . : 00-1B-78-58-31-5E
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.13.24.164
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 10.13.24.254
09-11-2007 06:27 AM
do show ip route and look for R on left hand side
09-11-2007 07:16 AM
17>show ip route
Gateway of last resort is not set
10.0.0.0/21 is subnetted, 1 subnets
C 10.13.24.0 is directly connected, Vlan25
09-11-2007 12:55 PM
Janarthanan
The output of ipconfig was helpful as is the output of show ip route. I am a little surprised that the static route does not show up in the routing table.
To really understand why the server is going to the default gateway rather than to the route I believe that we would need to see the output of route print from the server. Would you post that output?
HTH
Rick
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