Switching queries

satishtechsatishtech Member Posts: 243
Configuring DHCP on a Switch 2960 and 3560 in Packet Tracer would
not work untill I gave the native vlan an IP , why is this ?

Changing the native vlan using command:
switchport native vlan vlan_id

(above command is not in packet tracer,
switchport command is not part of PT)

Comments

  • NightEye00NightEye00 Member Posts: 21 ■□□□□□□□□□
    Hi!

    the concept of native VLANs can only be defined in case of trunk links.

    You can change it interface config mode with the command switchport trunk native vlan <vlan number>.

    I hope that helped.
  • satishtechsatishtech Member Posts: 243
    Thank You , my mistake , had done this quite some time back.
    Switch(config-if)#switchport trunk native vlan 10
    thank you
  • theodoxatheodoxa Member Posts: 1,340 ■■■■□□□□□□
    I believe you need a working SVI (Switched Virtual Interface) with an IP Address on the same subnet as the DHCP Pool. That is how the Switch knows which pool of addresses to use.

    Switched Virtual Interface (SVI): A VLAN Interface (e.g. "interface vlan 1"). On a layer 2 switch (2960), the SVI is used for management access, while on a Layer 3 switch (3560) it can function as the default gateway for clients and allows traffic to be routed between VLANs directly on the L3 switch itself.
    R&S: CCENT CCNA CCNP CCIE [ ]
    Security: CCNA [ ]
    Virtualization: VCA-DCV [ ]
Sign In or Register to comment.