02-13-2007 03:26 AM - edited 03-05-2019 02:19 PM
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
02-13-2007 04:02 AM
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
02-13-2007 04:04 AM
Hi Thanks,
So is it possible to acheieve this on two switches with out the need for a router?
Regards
J mac
02-13-2007 04:30 AM
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:
02-13-2007 04:40 AM
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
02-13-2007 04:55 AM
Yes, use separate VLans and route between them.
02-13-2007 06:54 AM
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.
02-13-2007 02:00 PM
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.
02-15-2007 03:22 AM
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
02-15-2007 03:50 AM
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
02-15-2007 04:02 AM
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.
02-15-2007 04:05 AM
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" .
02-15-2007 04:14 AM
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
02-15-2007 04:18 AM
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 .
02-15-2007 07:58 AM
hi,
Maybe it just a little time to sort itself out but it seems to be working ok now. Thanks alot.
J Mack
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: