LoginSignup
ryou6152
@ryou6152

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

TrunkPortでPingを通したい

前提・実現したいこと

CiscoPacketTracer上でPC-WLC間のPingをTrunkPortで通したいのですがうまくいきません。
問題点がわかる方いらっしゃればご教示ください。

発生している問題・エラーメッセージ

Accesポートでは疎通確認取れたのですが、Trunk変更したら疎通が取れなくなりました

C:\>ping 192.168.40.1

Pinging 192.168.40.1 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.40.1:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

構成

image.png

L3SWConfig

設定のされていないインターフェースは省いています

Switch#show running-config 
Building configuration...

Current configuration : 1473 bytes
!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
spanning-tree mode pvst
!
interface FastEthernet0/6
 switchport access vlan 40
 switchport trunk allowed vlan 10,40
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
!
interface FastEthernet0/7
 switchport access vlan 40
 switchport mode access
 switchport nonegotiate
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan40
 description Manage WLC.
 mac-address 0001.6367.ab01
 ip address 192.168.40.254 255.255.255.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
!
end

show ip interfaces brief

Switch#show interfaces trunk 
Port        Mode         Encapsulation  Status        Native vlan
Fa0/6       on           802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/6       10,40

Port        Vlans allowed and active in management domain
Fa0/6       10,40

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/6       10,40

show ip interfaces trunk

Switch#show interfaces trunk 
Port        Mode         Encapsulation  Status        Native vlan
Fa0/6       on           802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/6       10,40

Port        Vlans allowed and active in management domain
Fa0/6       10,40

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/6       10,40

試したこと

AccesPortで構成したときは疎通取れたのでIP関係の設定には問題ないと思われます。
Trunkにした現在では
Router->WLC もPingが通らなくなってしまっています。

ご教示よろしくお願いいたします。

0

1Answer

WLC-2504はtagVLANの設定をしていますか?

VLAN10,40ともにtagVLANですから、接続機材にも設定が必要だと思います。

もし、WLC-2504側はポートVLANで接続したいということであれば、

interface FastEthernet0/6 の設定に

switchport trunk native vlan 40

を加えればVLAN40だけはポートVLANのようにふるまいます。

0

Your answer might help someone💌