Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Adding a network

Hi,

I currently have the following network 10.10.84.0/24 in a Cat 3560g, I have a spare Cat 3560 and i would like to add a second network 192.168.5.0/24. Is it possible to do this so the networks can talk to each other without using a router? Can anyone give me any info on this.

Many Thanks

J mac

14 REPLIES

Re: Adding a network

Hi,

10 is a Class A Network

192.168 is a Class B Network

2 different class of Network will not work unless & until L3 Functionality is enabled.

You can make 10 as VLAN1 & 192.168 as VLAN2 & then enable L3 functionality(Inter-VLAN Routing) between VLANs.

VLAN 1 router-ip 10.10.84.1

VLAN 2 router-ip 192.168.5.1

Hope this Helps for you in Understanding..Rate this reply if Helps !!

Regards,

Guru Prasad R

New Member

Re: Adding a network

Hi Thanks,

So is it possible to acheieve this on two switches with out the need for a router?

Regards

J mac

Silver

Re: Adding a network

The 3560 is an L3 switch, which means it is an L2 device (switch) and an L3 device (router).

And yes, you do not need an external router to accomplish what you propose. The 3560 is a powerful switch. read more about what it can do at:

http://www.cisco.com/en/US/products/hw/switches/ps5528/products_configuration_guide_book09186a00805f89ff.html

New Member

Re: Adding a network

Thanks for your help, I shall read up. Can i just confirm that I should be going down the Vlan route to achieve my goal or would I be able configure the switch as i would a router, static routes / routing protocols etc and get it to work that way.

Regards

J Mac

Silver

Re: Adding a network

Yes, use separate VLans and route between them.

New Member

Re: Adding a network

Hi,

Thanks again. I wonder if I could trouble you again. I have set up my new Vlan (Vlan 2) on both switches. I have assigned switports and also configured a gig port on each to dot1q trunk. I have assigned ip addresses of 192.168.5.1/24 and 192.168.5.2/24 for Vlan2 on the switches. a show ip route on both switches confirms they both see 192.168.5.0 network as directly connected. From the switches i can ping hosts in both networks. However I cannot ping a host in the 10.10.84.0/24 network from a host in the 192.168.5.0/24 network and vice versa. Any ideas?

Many thanks

J mack.

New Member

Re: Adding a network

Make sure to set the host gateway on the PC on vlan 2 to 192.168.5.1 and host PC gateway for vlan 1 to 10.10.84.1.

New Member

Re: Adding a network

Hi,

Thanks for your responses. I have assigned the gateways as reccomended which has improved things. I have a host 192.168.5.10/24 in my 192.168.5.0/24 network and i can now ping that host from a host on the 10.10.84.0/24 network. However i can't get a sucessful ping in the opposite diection?

can i just confirm, i have Vlan 2 on my two 3650's and have assigned 192.168.5.1/24 to Vlan 2 on one switch and 192.168.5.2/24 to the Vlan 2 on the other switch, is that correct or should they both be 192.168.5.1?

Can anyone suggest some things to try in terms of getting full connectivity between these two networks?

Many thanks

J mack

Purple

Re: Adding a network

If you have just 2 3560's just have one of them do the routing and run a trunk to the second and then for for each vlan the pc nics gateway would just point to the 3560 layer 3 address for the subnet (vlan) they are attached , sounds like you are trying to put ip addresses on both and making it more confusing .

3560#1 (with routing)-------Trunk ----- 3560#2 (no routing)

For the trunk link between the 3560's.

switchport

switchport trunk encapsulation dot1q

switchport trunk native vlan 1

switchport trunk trunk dynamic desirable

switchport trunk allowed vlan 1,2

New Member

Re: Adding a network

Thanks, so are you saying remove the Vlan 2 ip address from the second switch ?

and by routing? both switches see both networks as directly connected, do i need to be running a routing protocol or static routes?

Many Thanks

J mac.

Purple

Re: Adding a network

Yes remove it unless you are using that address to management the second 3560 , myself I would just assign one in vlan 1 if you need to telnet to that 2nd switch for management purposes. On the second issue the "no ip routing command" .

New Member

Re: Adding a network

thanks again, I have done what you suggested and i haven't lost any functionality however i still can't get to that network from the 192.168.10.5 host. I did a tracert and i get 1 hop 192.168.5.1, so the host can presumably get to the other switch, however it doesn't seem to know how to get any further. Any thoughts?

Thanks

J mack

Purple

Re: Adding a network

You may have to post the configs , its easier than speculating what may or may not be there that should be there . Make sure any pc nics in the 10.x.x.x space have their default gateways pointed to the 3560#1 ip address for vlan 1 . did the trunk come up ok ? Show int trunk .

New Member

Re: Adding a network

hi,

Maybe it just a little time to sort itself out but it seems to be working ok now. Thanks alot.

J Mack

216
Views
12
Helpful
14
Replies