07-22-2019 11:40 AM
For starters I'm using an IE 3010-16S-8PC switch and I am a beginner. I'm attempting to comm (remote desktop, ping, etc.) with a piece of equipment that has a set ip address of 192.168.254.11 (this cannot change.) The equipment will only comm with the ip address 192.168.254.10 (also cannot change.) I configured the interface it is connected to with the .10 ip address and I can ping it from the switch, but not my PC. I can telnet into the switch and ping it from the switch when connected to the switch over just ethernet as well, but when I try to make direct connection from my PC I get nothing. I can't seem to figure out how to comm with a routed port from another whether it be part of a VLAN or another routed port. I tried adding ip routes, but that didn't work either. I appreciate any help and will add anything else if it helps. I've attached a txt file with my config.
07-22-2019 12:25 PM
what is your PC IP address and what port connected ?
here is simple config you can do example :
config t
!
vlan2
name vlan2
!
interface vlan 2
ip address 192.168.254.10 255.255.255.0
no shut down
interface FastEthernet0/17
switchport access vlan 2
switchport mode access
interface FastEthernet0/1
switchport access vlan 2
switchport mode access
your PC connect to Fas 0/1 with an ip address 192.168.254.XX
07-23-2019 04:56 AM
Preferably I'd like to have my PC on 192.168.101.50. We have other equipment in the .101 range and originally I just had a VLAN in that range, but I can't connect to both. Right now I'm connected to FA0/23, but that doesn't really matter.
07-23-2019 07:51 AM
in that case you need to enable ( io routing)
interface FastEthernet0/23
switchport access vlan 1
switchport mode access
ip default-gateway 192.168.101.1 < --- this should point to uplink router if you one, this can be same local IP address in vlan 1.
once you do the above changes, you should able to communicate 192.168.101.X to 192.168.254.X vice versa.
make sure this subnet is correct.
interface Vlan2
ip address 192.168.254.10 255.255.255.192
if you device is in 192.168.254.101 < they belong to different subnet
07-24-2019 07:46 AM
The hosts are:
192.168.254.11
192.168.101.50
Even with the subnets set to: 192.168.254.10 and 192.168.101.1 respectively I can't ping even the .254 subnet from the .101 PC
I've pasted my config below
Disregard Vlan1, I moved the 101 address to Vlan2 just for ease of operation
.101 PC connected to FA0/19
.254 PC connected to FA0/23
interface FastEthernet0/17
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/18
!
interface FastEthernet0/19
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.102.1 255.255.255.0
!
interface Vlan2
ip address 192.168.101.1 255.255.255.0
!
interface Vlan3
ip address 192.168.254.10 255.255.255.0
!
ip default-gateway 192.168.101.1
ip http server
ip http secure-server
ip forward-protocol nd
ip route profile
ip route 0.0.0.0 0.0.0.0 192.168.101.0
ip route 192.168.101.0 255.255.255.0 192.168.254.0
ip route 192.168.254.0 255.255.255.0 192.168.101.0
07-24-2019 03:01 PM
Basically you should be able to ping by enabling ip routing
change here as below
no ip default-gateway 192.168.101.1
no ip route profile < you do not need for now, unti you doing some routing profile
ip routing
may be like to fine tune as below - some may not required, but no harm keeping them also.
ip route 0.0.0.0 0.0.0.0 192.168.101.1
ip route 192.168.101.0 255.255.255.0 192.168.254.1
ip route 192.168.254.0 255.255.255.0 192.168.101.1
change above config, and ping let me know, if still not working post full config as below ;
show run
show ip route
show ip arp
show ip interface brief
show interface status | in connected
here is reference guide to configure
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