cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1638
Views
10
Helpful
8
Replies

Urgent-Cisco Layer 3 Switch Configuration

Hi
I have to configure two ports for unmanaged layer 1 stratix2000 switches in a layer3 Cisco managed switch 3560, Unmanaged switches have multiple hosts with ip scheme 192.168.1.x for switch 1 and 192.168.2.x for switch 2. how can I configure the ports in managed switch? I can configure two ports for two hosts with fixed IPs but two unmanaged layer 1 switches that contain multiple hosts of same IP class need help.
Network Topology is attached.
Thanks in advance
8 Replies 8

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Since you have 2 segments (192.168.0.x and 192.168.1.x) you need to create 2 vlans on the switch.

Say vlan 10 is for the first segment and vlan 20 for the second segment.  Than add the ports that connect to each statix to each vlan.

Also, see documents for config examples:

http://www.cisco.com/c/en/us/support/docs/lan-switching/inter-vlan-routing/41860-howto-L3-intervlanrouting.html

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/interfaces/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_Interfaces_Configuration_Guide/b_Cisco_Nexus_9000_Series_NX-OS_Interfaces_Configuration_Guide_chapter_011.html

HTH

HTH

Thanks for your help Reza,

Basically I am an electrical engineer so my networks side aint that strong, I can configure ports for two hosts with fixed IPs say Host A is at IP 192.168.1.2 and Host B at 192.168.0.3. I can assign host A to gigabit port 4 suppose at VLAN 10 and ip address 192.168.1.2(fixed IP) and similarly host B to port 6 at VLAN 20 with IP 192.168.0.3.

But since Stratix switch cannot be assigned any IP and each stratix switch has multiple hosts with IPs 192.168.1.2, 192.168.1.3,192.168.1.4 and other stratix switch has hosts with IPs 192.168.0.3 and 192.168.0.4. Now in this case how will I configure port 4 and port 6 and what IP will I assign to these ports if VLANs assigned are 10 and 20 say??

Waiting for your reply, your kind help would be highly appreciated in this regard.

Hi,

Basically I am an electrical engineer so my networks side aint that strong, I can configure ports for two hosts with fixed IPs say Host A is at IP 192.168.1.2 and Host B at 192.168.0.3. I can assign host A to gigabit port 4 suppose at VLAN 10 and ip address 192.168.1.2(fixed IP) and similarly host B to port 6 at VLAN 20 with IP 192.168.0.3.

That is all correct.

But since Stratix switch cannot be assigned any IP and each stratix switch has multiple hosts with IPs 192.168.1.2, 192.168.1.3,192.168.1.4 and other stratix switch has hosts with IPs 192.168.0.3 and 192.168.0.4. Now in this case how will I configure port 4 and port 6 and what IP will I assign to these ports if VLANs assigned are 10 and 20 say??

From what you are describing the Stratix switches are simply layer-1 and so no need for IP or vlan. Another word, they work just like hubs and so in this case all you have to do is assign the correct IPs and gateways to the hosts connected to each Stratix device.

HTH

Hello,

Yes Stratix switch is a layer 1 switch or simply a hub, each hub has multiple hosts with same IP class, but tell me how would I configure my Cisco layer 3 switch ports for a hub?? What IP is to be assigned to ports as each hub has 3 hosts so which IP will be assigned to managed switch ports???

Please Help me out.

Regards

Switch> Enable

Switch# conf t

Switch(Config)#VLAN 2

Switch(Config-VLAN)#name A

Switch(Config-VLAN)#^z

Switch#Conf t

Switch(Config)#VLAN 3

Switch(Config-VLAN)# name B

Switch(Config-VLAN)#^z

Switch#Config t

Switch(Config)#int fa 0/4  (for hub 1 that has 3 hosts with IPs 192.168.1.X)

Switch(Config-if)#Switchport acess VLAN 2

Switch(Config-if)#no shut

Switch(Config-if)#exit

Switch(Config)#int fa 0/6 (for hub 1 that has 3 hosts with IPs 192.168.2.X)

Switch(Config-if)#Switchport acess VLAN 3

Switch(Config-if)#no shut

Switch(Config-if)#exit

Switch(Config)#int VLAN 2

Switch(Config-if)#ip address XXXXXXXXX (What IP address to be assigned as hub has three hosts and hub has no ip itself?) 255.255.255.0

Switch(Config-if)# no shut

Switch(Config-if)#exit

Switch(Config)#int VLAN 3

Switch(Config-if)#ip address YYYYYYY(What ip address to be assigned to this port where second hub will be connected and hub has two hosts as shown in topology?) 255.255.255.0

Switch(Config-if)#no shut

Switch(Config-if)#exit

Hello

Just to add to Reza commnets:

Managed switch:

conf t

ip dhcp excluded-address 192.168.1.254
ip dhcp excluded-address 192.168.0.254

ip dhcp pool DHCP_for_Unmanged_switches
   network 192.168.1.0 255.255.255.0
   network 192.168.0.0 255.255.255.0 secondary
     override default-router 192.168.0.254
   default-router 192.168.1.254
   dns-server x.x.x.x y.y.y.y
   domain-name x.x.x.x
   lease 0 8


int vlan 10
ip address 192.168.1.254 255.255.255.0
no shut

int vlan 20
ip address 192.168.0.254 255.255.255.0
no shut

ip routing
vlan 10,20
exit


interface x/x
description Link to unmanaged switch1
switchport access vlan 10
switchport mode access
 


interface x/x
description Link to unmanaged switch2
switchport access vlan 20
switchport mode access

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Switch> Enable

Switch# conf t

Switch(Config)#VLAN 2

Switch(Config-VLAN)#name A

Switch(Config-VLAN)#^z

Switch#Conf t

Switch(Config)#VLAN 3

Switch(Config-VLAN)# name B

Switch(Config-VLAN)#^z

Switch#Config t

Switch(Config)#int fa 0/4  (for hub 1 that has 3 hosts with IPs 192.168.1.X)

Switch(Config-if)#Switchport acess VLAN 2

Switch(Config-if)#no shut

Switch(Config-if)#exit

Switch(Config)#int fa 0/6 (for hub 1 that has 3 hosts with IPs 192.168.2.X)

Switch(Config-if)#Switchport acess VLAN 3

Switch(Config-if)#no shut

Switch(Config-if)#exit

Switch(Config)#int VLAN 2

Switch(Config-if)#ip address XXXXXXXXX (What IP address to be assigned as hub has three hosts and hub has no ip itself?) 255.255.255.0

Switch(Config-if)# no shut

Switch(Config-if)#exit

Switch(Config)#int VLAN 3

Switch(Config-if)#ip address YYYYYYY(What ip address to be assigned to this port where second hub will be connected and hub has two hosts as shown in topology?) 255.255.255.0

Switch(Config-if)#no shut

Switch(Config-if)#exit

Kindly help me out!

Thanks

Paul,

Kindly view the configuration sent by me and help me out if possible.

Waiting for your reply.

Regards.