11-13-2015 12:57 AM - edited 03-08-2019 02:41 AM
I have a switch, I configurebelow:
(1) int vlan 1, no shutdown, ip address 192.168.1.3 255.255.255.0
(2) port 5 configuration:
switchport access vlan 10
switchport mode access
(3) I have one PC connect to switch port 5,
in my windows 7 PC, I setup tcp/ip through control panel, IP: 192.168.1.1. 255.255.255.0, default gateway 192.168.1.3
from my pc, i can't ping to 192.168.1.3, in my switch, i connect through console cable, the other side of console cable is my PC. in the switch, vlan 1 is down under "protocol" column, status is up, I further go to int vlan 1, no shut, but still down, how to resolve the issue?
11-13-2015 01:23 AM
in my windows 7 network connection\LAN, it shows unidentified network, any idea?
11-13-2015 01:47 AM
In Windows, if it does not get DHCP or DNS then it will not come up as an identified network.
11-13-2015 01:48 AM
Hello
First of all both pcs need to attached to the switch and enabled, Then assigned each an ip address from the vlan 1 range
As you say only 1 L3 interface is configured - VLAN 1, in this case
- Attach both pcs in ports on the switch DONT assign any Vlan to these ports ( by deafutl all ports are assigned to vlan 1) - make sure they are enabled
Then test connectivity again ( make sure your software FW is disabled on the windows pcs as they prohibit pings by default)
res
Paul
11-13-2015 02:00 AM
(1) int vlan 1, no shutdown, ip address 192.168.1.3 255.255.255.0
(2) port 5 configuration:
switchport access vlan 10
switchport mode access
(3) I have one PC connect to switch port 5,
See above, the line in red is your issue.
You gave Interface Vlan 1 an IP address of 192.168.1.3 but proceeded to put the port that connects to your PC in Vlan 10.
If you want your PC to have an IP address in Vlan 1 then you need to ensure your port is in Vlan 1.
The reason your SVI for vlan 1 is in a down state is because there are no active ports which need it to be up. The only active port you have is in Vlan 10 so there is no reason for the Vlan 1 SVI to need to be up.
Move Port 5 to Vlan 1 and you should be good to go.
Thanks
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