cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1163
Views
15
Helpful
16
Replies

cisco software switch config

muhammadShareef
Level 1
Level 1

hello everybody!

I am a student at the first year of SoftwareEng. and we are learning how to use the cisco packet tracer.

our proff. asked us to connect 24 stations (20 pc 2 printers and 2 servers) to a 2950-24 switch, and repeat that four times and then connect the four switches to each other in a star topology. 

0- Is that even possible ? or he made a mistake when he wrote the exercise ? 

1-how am I supposed to connect the switch to the router if it has only 24 eth0 ports (we have 24 hosts already connected to the ports) ?? 

2- can I connect the switch to the router using the console port ? 

6 Accepted Solutions

Accepted Solutions

I think you can add SLOT to SW this make SW hold more than 24 port.

check this point

View solution in original post

0- Is that even possible ? or he made a mistake when he wrote the exercise ? 

Yes, perfectly possible.

1-how am I supposed to connect the switch to the router if it has only 24 eth0 ports (we have 24 hosts already connected to the ports) ?? 

It is possible because besides the 24 Ports, we have two giga portas for uplinks. I mean, we actually have 26 ports

 


Switch#sh int status

Port Name Status Vlan Duplex Speed Type

Fa0/1 notconnect 1 auto auto 10/100BaseTX

Fa0/2 notconnect 1 auto auto 10/100BaseTX

Fa0/3 notconnect 1 auto auto 10/100BaseTX

Fa0/4 notconnect 1 auto auto 10/100BaseTX

Fa0/5 notconnect 1 auto auto 10/100BaseTX

Fa0/6 notconnect 1 auto auto 10/100BaseTX

Fa0/7 notconnect 1 auto auto 10/100BaseTX

Fa0/8 notconnect 1 auto auto 10/100BaseTX

Fa0/9 notconnect 1 auto auto 10/100BaseTX

Fa0/10 notconnect 1 auto auto 10/100BaseTX

Fa0/11 notconnect 1 auto auto 10/100BaseTX

Fa0/12 notconnect 1 auto auto 10/100BaseTX

Fa0/13 notconnect 1 auto auto 10/100BaseTX

Fa0/14 notconnect 1 auto auto 10/100BaseTX

Fa0/15 notconnect 1 auto auto 10/100BaseTX

Fa0/16 notconnect 1 auto auto 10/100BaseTX

Fa0/17 notconnect 1 auto auto 10/100BaseTX

Fa0/18 notconnect 1 auto auto 10/100BaseTX

Fa0/19 notconnect 1 auto auto 10/100BaseTX

Fa0/20 notconnect 1 auto auto 10/100BaseTX

Fa0/21 notconnect 1 auto auto 10/100BaseTX

Fa0/22 notconnect 1 auto auto 10/100BaseTX

Fa0/23 notconnect 1 auto auto 10/100BaseTX

Fa0/24 notconnect 1 auto auto 10/100BaseTX

Gig0/1 notconnect 1 auto auto 10/100BaseTX

Gig0/2 notconnect 1 auto auto 10/100BaseTX

 

2- can I connect the switch to the router using the console port ? 

Nop. Console is for device management only.

 

View solution in original post

Thank you very much, now I can see the problem in the proff'S QUESTION..
He asked us to use SW 2950-24 when he should have used the 2950-t (which
has the 26 ports)
##- Please type your reply above this line -

View solution in original post

"each one of them is on a diferent vlan (pc1 on vlan 10, pc2 on vlan 11) is it possible to ping pc2 from pc1?"

Yeah, but you need to use a router or switch Layer 3 to perform inter vlan routing.

 

"- Do I need to change the third octet in the IP adress in order to create 2 vlans?"

Depend which mask you are using. If you are using /24, then, yes, it is the third octeto. But, if you are using /16, then is the second octect.

 

can I just configure 2 vlans in the SW and leave the ip adresses like 192.168.0.x just changing the host number ?

 

Yes, you can. And on this case, you can ping each other whithout a Layer 3 devices.

 

couse when I change the third octet on the IPs, it is impossible to ping pcs on another vlan . "

Make sense. 

 

You can add your PKT file here so that it easier to see what you did and help you. You need to zipp it.

 

 

View solution in original post

Para conexão entre switches você precisa inter-conectá-los.  Veja como eu fiz no meu arquivo.

Para conexão entre VLANs o processo é mais compricado. Você precisa de um router para fazer inter vlan routing ou vc precisa fazer isso no switch. 

Mas veja se realmente vc precisa fazer isso pq seria um tópico mais avançado.

Voce tambem vai ver que um trunk vai estar com o led vermelho. Isso é porque o Spanning Tree bloqueou ele para evitar loop na rede.

View solution in original post

"- como posso controlar ips dinamicos se o pc vai escolher sozinho ??"

Olha, até é possivel mas não com esse simulador. Em um ambiente real com uma solução profissional voce pode usar o mac address do host e controlar o IP que ele vai user. Nesse simulador não dá pra fazer.

Vc pode tentar conectar um host por vez e ver se eles vão pegando o IP na sequencia. Provavelmente o servidor de DHCP vai entregar o IP mais baixo primeiro.

Mas na real, isso não faz muito sentido.

View solution in original post

16 Replies 16

I think you can add SLOT to SW this make SW hold more than 24 port.

check this point

The problem was really in the question , the tutor should have used SW 2950-t (which has the 26 ports )and not 2950-24 which has only 24 ports.

0- Is that even possible ? or he made a mistake when he wrote the exercise ? 

Yes, perfectly possible.

1-how am I supposed to connect the switch to the router if it has only 24 eth0 ports (we have 24 hosts already connected to the ports) ?? 

It is possible because besides the 24 Ports, we have two giga portas for uplinks. I mean, we actually have 26 ports

 


Switch#sh int status

Port Name Status Vlan Duplex Speed Type

Fa0/1 notconnect 1 auto auto 10/100BaseTX

Fa0/2 notconnect 1 auto auto 10/100BaseTX

Fa0/3 notconnect 1 auto auto 10/100BaseTX

Fa0/4 notconnect 1 auto auto 10/100BaseTX

Fa0/5 notconnect 1 auto auto 10/100BaseTX

Fa0/6 notconnect 1 auto auto 10/100BaseTX

Fa0/7 notconnect 1 auto auto 10/100BaseTX

Fa0/8 notconnect 1 auto auto 10/100BaseTX

Fa0/9 notconnect 1 auto auto 10/100BaseTX

Fa0/10 notconnect 1 auto auto 10/100BaseTX

Fa0/11 notconnect 1 auto auto 10/100BaseTX

Fa0/12 notconnect 1 auto auto 10/100BaseTX

Fa0/13 notconnect 1 auto auto 10/100BaseTX

Fa0/14 notconnect 1 auto auto 10/100BaseTX

Fa0/15 notconnect 1 auto auto 10/100BaseTX

Fa0/16 notconnect 1 auto auto 10/100BaseTX

Fa0/17 notconnect 1 auto auto 10/100BaseTX

Fa0/18 notconnect 1 auto auto 10/100BaseTX

Fa0/19 notconnect 1 auto auto 10/100BaseTX

Fa0/20 notconnect 1 auto auto 10/100BaseTX

Fa0/21 notconnect 1 auto auto 10/100BaseTX

Fa0/22 notconnect 1 auto auto 10/100BaseTX

Fa0/23 notconnect 1 auto auto 10/100BaseTX

Fa0/24 notconnect 1 auto auto 10/100BaseTX

Gig0/1 notconnect 1 auto auto 10/100BaseTX

Gig0/2 notconnect 1 auto auto 10/100BaseTX

 

2- can I connect the switch to the router using the console port ? 

Nop. Console is for device management only.

 

Thank you very much, now I can see the problem in the proff'S QUESTION..
He asked us to use SW 2950-24 when he should have used the 2950-t (which
has the 26 ports)
##- Please type your reply above this line -

muhammadShareef
Level 1
Level 1

I have stations on the same SW : with these IPs: 192.168.0.2 , 192.168.1.2

each one of them is on a diferent vlan (pc1 on vlan 10, pc2 on vlan 11) is it possible to ping pc2 from pc1?

- Do I need to change the third octet in the IP adress in order to create 2 vlans? can I just configure 2 vlans in the SW and leave the ip adresses like 192.168.0.x just changing the host number ? couse when I change the third octet on the IPs, it is impossible to ping pcs on another vlan . 

please help !!

"each one of them is on a diferent vlan (pc1 on vlan 10, pc2 on vlan 11) is it possible to ping pc2 from pc1?"

Yeah, but you need to use a router or switch Layer 3 to perform inter vlan routing.

 

"- Do I need to change the third octet in the IP adress in order to create 2 vlans?"

Depend which mask you are using. If you are using /24, then, yes, it is the third octeto. But, if you are using /16, then is the second octect.

 

can I just configure 2 vlans in the SW and leave the ip adresses like 192.168.0.x just changing the host number ?

 

Yes, you can. And on this case, you can ping each other whithout a Layer 3 devices.

 

couse when I change the third octet on the IPs, it is impossible to ping pcs on another vlan . "

Make sense. 

 

You can add your PKT file here so that it easier to see what you did and help you. You need to zipp it.

 

 

vou mandar esta mensagem em portugues, pois a atividade é em portugues e preciso enviar o pdf dela tem problema??

vou enviar o pkt que eu fiz e o pdf da atividade . 

nao consegui entender a perguta no pdf . da parte que fala que a rede tem que ser 227. e o host 25 

"Como são 24 hosts em cada sub-rede, devemos usar uma máscara que permita está configuração: neste caso a rede
seria de 227, o host de 25. Descreva a rede, seu 1º IP válido, ultimo IP valido e o broadcast de cada Sub-Rede"

 

 Isso não faz sentido.  Talvez por isso sua duvida.

Vc poderia usar uma mascara como 255.255.255.224 o que daria 30 IPs por rede:

ou vc pode usar 255.255.255.240 o que daria 14 IPs por rede. 

 

Talvez eles queiram dizer /27 o que é o mesmo que 255.255.255.224.

Mas nesse caso são 30 hosts e não 25. 

 

Vc pode usar uma calculadora pra isso:

https://www.subnet-calculator.com/ 

 

 

sabia que o texto ta cheio de erros kk.

caso eu usar 255.255.255.224 , vai ser a mascara nos 4 departamentos ? 

e se for o caso , como vou distribuir os ips? 

tipo: departamento 1 : 192.168.0.1 ate 23

departamento 2 : 192.168.0.24 ate 47 

e assim em diante ? 

trocando a mascara para 255.255.255.224 em todos os hosts dos 4 departamentos ? 

vou fazer outro pkt e enviar para sua confirmaçao se nao tiver problema ... 

apos a troca da mascara para 255.255.255.224

e os IPs 192.168.0.x : 

apenas tem conecção entre os hosts da mesma vlan 

nao tem conecção entre vlan e outro nem entre um switch e outro , porque será ? (configurei o SW do zero e nao reloveu o problema)

anexo tem o pkt.

Para conexão entre switches você precisa inter-conectá-los.  Veja como eu fiz no meu arquivo.

Para conexão entre VLANs o processo é mais compricado. Você precisa de um router para fazer inter vlan routing ou vc precisa fazer isso no switch. 

Mas veja se realmente vc precisa fazer isso pq seria um tópico mais avançado.

Voce tambem vai ver que um trunk vai estar com o led vermelho. Isso é porque o Spanning Tree bloqueou ele para evitar loop na rede.

caso eu usar 255.255.255.224 , vai ser a mascara nos 4 departamentos ? 

Sim. Na verdade até  8 departamento.

 

e se for o caso , como vou distribuir os ips? 

192.168.0.0 192.168.0.1 - 192.168.0.30 192.168.0.31
192.168.0.32 192.168.0.33 - 192.168.0.62 192.168.0.63
192.168.0.64 192.168.0.65 - 192.168.0.94 192.168.0.95
192.168.0.96 192.168.0.97 - 192.168.0.126 192.168.0.127
192.168.0.128 192.168.0.129 - 192.168.0.158 192.168.0.159
192.168.0.160 192.168.0.161 - 192.168.0.190 192.168.0.191
192.168.0.192 192.168.0.193 - 192.168.0.222 192.168.0.223
192.168.0.224 192.168.0.225 - 192.168.0.254 192.168.0.255

...

 

tipo: departamento 1 : 192.168.0.1 ate 23

departamento 2 : 192.168.0.24 ate 47 

e assim em diante ? 

Sim.

 

trocando a mascara para 255.255.255.224 em todos os hosts dos 4 departamentos ? 

Sim.

vou fazer outro pkt e enviar para sua confirmaçao se nao tiver problema ... 

OK

bom dia ! 

consegui configurar os primeiros dois departamentos com successo, 

agora os ultimos dois departamentos estou com dúvida: 

na atividade ele pediu para deixar os ips nos dois ultimos departamentos como dinamicos, mas ("de maneira que siga a sequência dos IPs estáticos") dos primeiros dois departamentos.

- como posso controlar ips dinamicos se o pc vai escolher sozinho ??

169.254.77.128/16  este é um exemplo dos ips dinamicos, nao consigo fazer ip segir 

a sequência dos IPs estáticos . tem como fazer isso ??

"- como posso controlar ips dinamicos se o pc vai escolher sozinho ??"

Olha, até é possivel mas não com esse simulador. Em um ambiente real com uma solução profissional voce pode usar o mac address do host e controlar o IP que ele vai user. Nesse simulador não dá pra fazer.

Vc pode tentar conectar um host por vez e ver se eles vão pegando o IP na sequencia. Provavelmente o servidor de DHCP vai entregar o IP mais baixo primeiro.

Mas na real, isso não faz muito sentido.

Review Cisco Networking for a $25 gift card