cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
764
Views
0
Helpful
2
Replies

Catalyst 2560G Vlan and Tags

Hi, I want to communicate from one pc to another over the switch.

At the 1-st pc i have activate 2 vlan tags(at one network card) and set them two diffrent static IPs.

In the switch, i connect the output to the 0/5 interface, that is a trunk entcapuslates dot1q and has access to the vlan 2 of the switch.

Now ping from the 1-st pc to the ip of vlan 2 works.

At my laptop, network card widhout tags, i connect the wire to the 0/13 interface and set the switchport mode to auto and also allow the access to vlan2.

Now i can ping from the 1-st pc the vlan2 and the laptop.

From the laptop, i can ping the vlan2 and one of the static IPs at the 1-st pc, but not the second IP of the first pc.

How can i comunicate with both channels from the laptop? Thx

2 Replies 2

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Normally you would need to route between the VLANs.

Hello Joseph,

seems to be a answer but i still dont figure it out. Can i do this with the switch with static routing?

Can you give me an example? I have wire the 1-st pc to GigabitEthernet0/5 and the Laptop to  0/9.

Switch#show startup-config
Using 3244 out of 524288 bytes
!
! Last configuration change at 07:35:55 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$g4nT$PNFyfAL.PNmQcS5hoe3X51
!
no aaa new-model
system mtu routing 1500
ip routing
!
!
!
!
crypto pki trustpoint TP-self-signed-4271110656
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-4271110656
 revocation-check none
 rsakeypair TP-self-signed-4271110656
!
!
crypto pki certificate chain TP-self-signed-4271110656
 certificate self-signed 01 nvram:IOS-Self-Sig#6.cer
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
vlan dot1q tag native
!
!
!
!
!
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
 switchport access vlan 2
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 2
 switchport trunk allowed vlan 2
 switchport mode trunk
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
!
interface GigabitEthernet0/8
!
interface GigabitEthernet0/9
 switchport access vlan 2
 switchport trunk allowed vlan 2
 switchport mode access