cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
312
Views
5
Helpful
3
Replies

Switching

muraripadhan
Level 1
Level 1

My requirement is 

Vlan 10,Vlan 20, Vlan 30 should communicate with 172.141.0.2

I have two core switch

Core 1 (which is connected with Router) ip address is 172.141.0.2/16(Vlan1)

Core 2(Where vlan10, vlan 20,vlan 30) configure

And other switch are IP are in vlan 1

So i need to communicate all vlan (vlan 10, Vlan20, Vlan30) with 172.141.0.2

1 Accepted Solution

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

Hi,

With static routing you could try

R1

!
ip routing
!
ip route 172.16.8.0 255.255.255.128 172.141.0.140 name TO_VLAN10
ip route 172.16.2.0 255.255.255.128 172.141.0.140 name TO_VLAN20
ip route 192.168.1.0 255.255.255.0 172.141.0.140 name TO_VLAN30
!

--------------

R2

!
ip routing
!
ip route 0.0.0.0 0.0.0.0 172.141.0.2 name DEF_ROUTE_TO_R1
!

Hope this points you in the right direction.
Regards
Alex

Regards, Alex. Please rate useful posts.

View solution in original post

3 Replies 3

acampbell
VIP Alumni
VIP Alumni

Hi,

With static routing you could try

R1

!
ip routing
!
ip route 172.16.8.0 255.255.255.128 172.141.0.140 name TO_VLAN10
ip route 172.16.2.0 255.255.255.128 172.141.0.140 name TO_VLAN20
ip route 192.168.1.0 255.255.255.0 172.141.0.140 name TO_VLAN30
!

--------------

R2

!
ip routing
!
ip route 0.0.0.0 0.0.0.0 172.141.0.2 name DEF_ROUTE_TO_R1
!

Hope this points you in the right direction.
Regards
Alex

Regards, Alex. Please rate useful posts.

Its correct answer because i have already implement my network and its working fine now

Thanks  hacampbell

Deepak Kumar
VIP Alumni
VIP Alumni

 Please follow the following steps:

Option 1.

1. Make a trunk port between R0 to MS0 and allowed all VLANS on this trunk port. 

2. Configure Gateway IPs in each VLAN on router R0.

3. Configure Static route on the router.

Option 2. ((Recommended for Live Network))

1. Make an access port between R0 to MS0 with different VLAN ID and Subnet.

2. Configure Gateway IPs in each VLAN on the core switch.

3. Configure IP Routing on the core switch.

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Review Cisco Networking products for a $25 gift card