cancelar
Mostrar resultados para 
Pesquisar em vez de 
Queria dizer: 
cancel
492
Apresentações
5
Útil
5
Respostas

Help - PC's from different VLAN'S can't communicate

I don't know but here it is:

PCs from equal VLANs -> Communicate

PCs from different VLANs -> Can't Communicate

Routers - Routers -> Communicate

Others -> Can't Communicate!

1 Soluções Aceita

Soluções aceites

Assis Teixeira
Spotlight
Spotlight

Hi, I hope you are well, (PCs from different VLANs -> Can't Communicate) check if you have configured a Gateway on the PC for each vlan, check if the switch is learning the MAC addresses on the respective interfaces that the PCs are connected to, I hope it helps.

Ver solução na publicação original

5 RESPOSTAS 5

Assis Teixeira
Spotlight
Spotlight

Hi, I hope you are well, (PCs from different VLANs -> Can't Communicate) check if you have configured a Gateway on the PC for each vlan, check if the switch is learning the MAC addresses on the respective interfaces that the PCs are connected to, I hope it helps.

I think is because of default gateaways! I have some with the same as the ip of the pc

You have discord or something to help me?

Olá @fivemeyourpeopleok600 ,

 seja bem-vindo a Comunidade em Português.

 

 Como disse o @Assis Teixeira , mas em outras palavras ...

PCs com a mesma VLAN se comunicam via L2 (mesma sub-rede, no exemplo abaixo: 192.168.0.x), pra se comunicarem com uma outra VLAN (outra sub-rede, no exemplo abaixo: 192.168.10.x) é necessário um Default Gateway (no exemplo abaixo: 192.168.0.1 e 192.168.10.1) configuado no seu PC, exemplo: 

### PC 1 ###
C:> ipconfig
Wireless LAN adapter Wi-Fi:
...
IPv4 Address. . . . . . . . . . . : 192.168.0.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1

### PC 2 ###
C:> ipconfig
Wireless LAN adapter Wi-Fi:
...
IPv4 Address. . . . . . . . . . . : 192.168.10.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.1

 

Ambos os Default Gateways devem ser capazes de se comunicarem para que o PC 1 se comunique com o PC 2.

 

Nota 1: maiores detalhes sobre a nossa Comunidade em: Como usar a Comunidade

Nota 2: se você busca conhecimento, em: Eventos de Tecnologia Online e Webinar

 

 

Espero que ajude !!!

 

Assis Teixeira
Spotlight
Spotlight

Conforme conversado, segue o exemplo:

No PC-1, configuração:
Endereço IP: 172.20.112.194 255.255.255.240
Gateway: 172.20.112.193

No switch que o PC-1 está conectado, na interface que vai para o PC-1:
Exemplo:
interface g0/1
 switchport mode access
 switchport access vlan 10
 exit

Agora no switch que o PC-1 está conectado, você tem que criar a vlan 10 e criar uma interface para a vlan 1 com o gateway do PC-1.
vlan 10
"pode colocar um nome na vlan para identificação, exemplo: name RH
 exit

interface vlan 10
 ip address 172.20.112.193 255.255.255.240
 no shutdown
 exit

Realiza o ping do PC-1 para o seu gateway: 172.20.112.193, é para ter sucesso, realizar esse procedimento para as outras vlans, e vai ter conectividade entre as diferentes vlans.