Web and Unmanaged
cancel
Showing results for 
Search instead for 
Did you mean: 

connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

 

connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

I am having a problem, I have 2 switches connected on a vlan 10 with ip address 192.168.100.21 /24 and 192.168.100.22 /24, I have a vlan1 on each switch with ip address 192.168.1.5 /24 and 192.168.3.5 /24.

 

I have Internet, ican ping any of the vlan's ip, but I cannot ping any computer on the 192.168.1.0 or 192.168.3.0, what can be wrong?

 

 

 Thease are the config files:

 


#
 version 5.20, Release 1513P81
#
 sysname Plantation
#
 clock timezone "Eastern Time(US,Canada)" minus 05:00:00
#
 domain default enable system
#
 ip ttl-expires enable
#
 password-recovery enable
#
vlan 1
 description Plantation Office
#
vlan 10
 description Fiber
#
domain system
 access-limit disable
 state active
 idle-cut disable
 self-service-url disable
#
user-group system
#
local-user admin
 password cipher $c$3$Cba0TgKdEE+aEny+SKqBKR6s1/9ByYiDMGR7
 authorization-attribute level 3
 service-type ssh telnet terminal
 service-type web
#
 stp mode rstp
 stp enable
#
interface NULL0
#
interface Vlan-interface1
 ip address 192.168.1.5 255.255.255.0
#
interface Vlan-interface10
 ip address 192.168.100.22 255.255.255.0
#
interface GigabitEthernet1/0/1
 stp edged-port enable
#
interface GigabitEthernet1/0/2
 stp edged-port enable
#
interface GigabitEthernet1/0/3
 stp edged-port enable
#
interface GigabitEthernet1/0/4
 stp edged-port enable
#
interface GigabitEthernet1/0/5
 stp edged-port enable
#
interface GigabitEthernet1/0/6
 stp edged-port enable
#
interface GigabitEthernet1/0/7
 stp edged-port enable
#
interface GigabitEthernet1/0/8
 stp edged-port enable
#
interface GigabitEthernet1/0/9
 stp edged-port enable
#
interface GigabitEthernet1/0/10
 stp edged-port enable
#
interface GigabitEthernet1/0/11
 stp edged-port enable
#
interface GigabitEthernet1/0/12
 stp edged-port enable
#
interface GigabitEthernet1/0/13
 stp edged-port enable
#
interface GigabitEthernet1/0/14
 stp edged-port enable
#
interface GigabitEthernet1/0/15
 stp edged-port enable
#
interface GigabitEthernet1/0/16
 stp edged-port enable
#
interface GigabitEthernet1/0/17
 stp edged-port enable
#
interface GigabitEthernet1/0/18
 stp edged-port enable
#
interface GigabitEthernet1/0/19
 stp edged-port enable
#
interface GigabitEthernet1/0/20
 stp edged-port enable
#
interface GigabitEthernet1/0/21
 stp edged-port enable
#
interface GigabitEthernet1/0/22
 stp edged-port enable
#
interface GigabitEthernet1/0/23
 stp edged-port enable
#
interface GigabitEthernet1/0/24
 stp edged-port enable
#
interface GigabitEthernet1/0/25
 stp edged-port enable
#
interface GigabitEthernet1/0/26
 stp edged-port enable
#
interface GigabitEthernet1/0/27
 stp edged-port enable
#
interface GigabitEthernet1/0/28
 stp edged-port enable
#
interface GigabitEthernet1/0/29
 stp edged-port enable
#
interface GigabitEthernet1/0/30
 stp edged-port enable
#
interface GigabitEthernet1/0/31
 stp edged-port enable
#
interface GigabitEthernet1/0/32
 stp edged-port enable
#
interface GigabitEthernet1/0/33
 stp edged-port enable
#
interface GigabitEthernet1/0/34
 stp edged-port enable
#
interface GigabitEthernet1/0/35
 stp edged-port enable
#
interface GigabitEthernet1/0/36
 stp edged-port enable
#
interface GigabitEthernet1/0/37
 stp edged-port enable
#
interface GigabitEthernet1/0/38
 stp edged-port enable
#
interface GigabitEthernet1/0/39
 stp edged-port enable
#
interface GigabitEthernet1/0/40
 stp edged-port enable
#
interface GigabitEthernet1/0/41
 stp edged-port enable
#
interface GigabitEthernet1/0/42
 stp edged-port enable
#
interface GigabitEthernet1/0/43
 stp edged-port enable
#
interface GigabitEthernet1/0/44
 stp edged-port enable
#
interface GigabitEthernet1/0/45
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/46
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/47
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/48
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 port hybrid pvid vlan 10
 stp edged-port enable
#
interface GigabitEthernet1/0/49
 stp edged-port enable
#
interface GigabitEthernet1/0/50
 stp edged-port enable
#
interface GigabitEthernet1/0/51
 stp edged-port enable
#
interface GigabitEthernet1/0/52
 stp edged-port enable
#
 ip route-static 0.0.0.0 0.0.0.0 192.168.1.3
 ip route-static 192.168.3.0 255.255.255.0 192.168.100.21
#
user-interface aux 0
 authentication-mode scheme
user-interface vty 0 15
 authentication-mode scheme
#
return

 

 

AND THE SECOND SWITCH

 


#
 version 5.20, Release 1513P81
#
 sysname DORAL
#
 clock timezone "Eastern Time(US,Canada)" minus 05:00:00
#
 domain default enable system
#
 ip ttl-expires enable
#
 password-recovery enable
#
vlan 1
 description Doral Office
#
vlan 10
 description Fiber
#
domain system
 access-limit disable
 state active
 idle-cut disable
 self-service-url disable
#
user-group system
#
local-user admin
 password cipher $c$3$34mzkVEpuTzUsaHJShWvafhiQgR0+N0U1gB/
 authorization-attribute level 3
 service-type ssh telnet terminal
 service-type web
#
 stp mode rstp
 stp enable
#
interface NULL0
#
interface Vlan-interface1
 ip address 192.168.3.5 255.255.255.0
#
interface Vlan-interface10
 ip address 192.168.100.21 255.255.255.0
#
interface GigabitEthernet1/0/1
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/2
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/3
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/4
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/5
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/6
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/7
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/8
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/9
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/10
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/11
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/12
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/13
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/14
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/15
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/16
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/17
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/18
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/19
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/20
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/21
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/22
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/23
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/24
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/25
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/26
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/27
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/28
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/29
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/30
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/31
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/32
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/33
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/34
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/35
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/36
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/37
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/38
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/39
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/40
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/41
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/42
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/43
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/44
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/45
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/46
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/47
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/48
 port link-type hybrid
 port hybrid vlan 10 tagged
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/49
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/50
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/51
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/52
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
 ip route-static 0.0.0.0 0.0.0.0 192.168.3.3
 ip route-static 192.168.1.0 255.255.255.0 192.168.100.22 preference 20
 ip route-static 192.168.2.0 255.255.255.0 192.168.100.22
#
user-interface aux 0
 authentication-mode scheme
user-interface vty 0 15
 authentication-mode scheme
#
return

7 REPLIES
Chrisd131313
Trusted Contributor

Re: connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

Hi Miguel,

 

Because you are wanting to route your packets between VLANs, you don't need to have VLAN10 tagged, if you untag vlan1 from your VLAN10 ports and make VLAN10 untagged rather than tagged that should fix the issue.

 

You are performing L3 routing between VLAN1 and VLAN10. The packets that are destined for VLAN10 from VLAN1 are not tagged for VLAN10 so get dropped.

 

As a test, are you able to ping 192.168.100.22 from 192.168.3.5? because your routing is set correctly for this to work.

 

HTH

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.

Re: connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

the problem is that if I untagg the ports on vlan10  I loose connection with the other router on 192.168.3.5 and 192.168.100.21, I will untagg on vlan1 those ports.

 

and yes, i can ping the 192.168.100.21 from 3.5

 

Chrisd131313
Trusted Contributor

Re: connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

Which port(s) are used to connect the two switches together? I see you have one port set with pvid 10 and the others are not, this is not the same at each end of the link. i think this inconsistency is causing your issue.

 

 

 

 

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.

Re: connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

I untagg the ports on vlan1 but nothing, I can ping from my computer that is 192.168.1.1 to all the vlans, but if I try from the vlans to the Computer I get a reuqest time out

Re: connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

I have vlan 10 on ports 45-48 of both switches and just port 48 is connected to 48 on the other switch

Re: connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

Thank you so much, I just reset both devices and started from scratch and it worked!!!!

 

Thank you for all your help

Chrisd131313
Trusted Contributor

Re: connecting 2 switches v1910 48g on a fiber poin to point with Internet at each site.

No problem Miguel, Good to hear you got it working :)

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.