cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11936
Views
0
Helpful
4
Replies

how to static a route between two different subnets

shirwaziri1_2
Level 1
Level 1

In order for the Spectralink phones to talk to the Avaya IP phones we need to setup a route between the following subnets:

10.111.131.0/24 (Specralink subnet)

172.16.0.0 /23 (Avaya IP Phone subnet)

You may have the /23 as two separate subnets: 172.16.0.0 /24 and 172.16.1.0 /24.

If so, the 10.111.131.0 /24 needs to talk to both subnets above

This is my clients request. I need someone to help me get these two different subnets to talk to eachother. Also, I need to know if his request makes no sense what so ever, then i need to know what questions i need to ask as I am having problems desifering his request.

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

Shir

Perhaps it would help if we could get some clarification about the network topology.

But it seems fairly straightforward. The router/layer 3 switch where the 10.111.131 subnet is located needs a route (a static route) to identify how to get to 172.16.0. And the router/layer 3 switch where 172.16.0 subnet is located needs a route to identify how to get to 10.111.131.

The main thing that you would need to have to do the static routes would be what the next hop address would be from each of the router/layer 3 switches.

HTH

Rick

HTH

Rick

BOSWF-Cisco4507R_RM183#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

ia - IS-IS inter area, * - candidate default, U - per-user static route

o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.111.135.97 to network 0.0.0.0

172.16.0.0/24 is subnetted, 2 subnets

C 172.16.0.0 is directly connected, Vlan601

C 172.16.1.0 is directly connected, Vlan602

10.0.0.0/8 is variably subnetted, 9 subnets, 5 masks

C 10.111.133.192/26 is directly connected, Vlan100

C 10.111.132.128/26 is directly connected, Vlan200

C 10.111.130.128/25 is directly connected, Vlan603

C 10.111.135.96/29 is directly connected, Vlan902

C 10.111.133.0/28 is directly connected, Vlan203

C 10.111.132.0/25 is directly connected, Vlan204

C 10.111.129.0/25 is directly connected, Vlan301

S 10.111.128.0/24 [1/0] via 10.111.135.99

C 10.111.131.0/24 is directly connected, Vlan604

S* 0.0.0.0/0 [1/0] via 10.111.135.97

The routes are both configured on the switch. According to my coworker this is not a layer 3 switch. And instead, what we are thinking of is using IP helpers. Are you familiar with ip helpers?

does this make sense?

Shir

In your first description of the situation I assumed that the subnets were on different machines (routers/layer 3 switches). This output shows that all 3 subnets are connected on this machine (which from the name I would assume is a 4507 switch).

Depending on the supervisor the 4507 can function as a layer 2 switch or as a layer 3 switch. If it were functioning as a layer 3 switch then it would be very easy to ensure that inter VLAN routing is happening. If it is a layer 2 switch then you would need to find what it is connected to that can do inter VLAN routing, and you would need to make sure that VLANs 601, 602, and 604 (the VLANs where these subnets are connected) are trunked to that device.

Given what appears to be here I do not see where there would be need of a static route.

HTH

Rick

HTH

Rick

What Rick was trying to say is you need to tell the different subnets where to go for their traffic to the other subnets.

For example:

Network 10.1.1.0/24 needs to talk to Network 192.168.1.0/23

You need to tell the network how to get there. So traffic from the 10 network needs to access 192.168.1.110 you need a route statement like this:

ip route 192.168.1.0 255.255.254.0

This statement says that any traffic on that router/switch that needs to talk to 192.168.1.0/23 needs to go this way, next hop IP or you could use an outbound interface.

Is this what you are looking for?

Or are you using the switch and putting the IP's/networks in VLAN's and need to do intervlan routing?

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:

Review Cisco Networking products for a $25 gift card