07-21-2016 11:17 AM - edited 03-08-2019 06:43 AM
07-21-2016 12:44 PM
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
07-21-2016 10:49 PM
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.
07-22-2016 06:07 AM
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
07-24-2016 11:06 AM
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
07-24-2016 11:25 AM
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
07-21-2016 01:21 PM
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
07-24-2016 11:27 AM
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
07-25-2016 10:12 PM
Paul,
Kindly view the configuration sent by me and help me out if possible.
Waiting for your reply.
Regards.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide