Options

Port security worked when I entered ip address via Packet Tracer

Alhaji265Alhaji265 Member Posts: 205 ■■■□□□□□□□
I was practicing enabling port security on the switch but was unable to get running until I input the ip address for PC3. How come the violation only occurred after I enter the ip address, even though the switch is a L2 device?

The commands I entered were:

interface FastEthernet0/3 switchport mode access
switchport port-security
switchport port-security mac-address 0001.64D2.368E
!


Comments

  • Options
    clarsonclarson Member Posts: 903 ■■■■□□□□□□
    I don't use packet tracer so this is just a guess.

    it is pc3 that isn't working without it's ip address.

    as data flows down the osi stack,
    at layer 3 there is the source and destination ip addresses.
    there is no source ip address
    data packet isn't formed
    no data leaves pc3
    switch doesn't receive any information
    switch doesn't see any errors form pc3

    put in a valid ip address for pc3
    pc3 starts to send data
    switch receives data
    switch sees the errors
  • Options
    Alhaji265Alhaji265 Member Posts: 205 ■■■□□□□□□□
    That probably sums it up, thanks.
Sign In or Register to comment.