+ Reply to Thread
Results 1 to 5 of 5

Thread: VLAN IP Address

  1. Senior Member
    Join Date
    May 2009
    Posts
    127
    #1

    Default VLAN IP Address

    Hey... had a question about assigning an IP Address to VLANs. I know that we give VLAN1 an IP Address in order to remotely manage the switch. But suppose we have a few VLANs set up on the switch as well. We have VLAN100, VLAN200, and VLAN300. Do we need to give an IP Address to all VLAN interfaces? Or is giving an IP to VLAN1 good enough...? If VLAN1 has an IP we can still get to the switch... so I am not sure if assigning an IP to all other VLAN interfaces makes sense. Thanks everyone!
    Reply With Quote Quote  


  2. Login/register to remove this advertisement.
  3. Senior Member hypnotoad's Avatar
    Join Date
    Dec 2007
    Posts
    915

    Certifications
    BS&MS-CompSci, CCNA, CCNP, Hyper-V, CCAI
    #2
    Quote Originally Posted by up2thetime View Post
    Hey... had a question about assigning an IP Address to VLANs. I know that we give VLAN1 an IP Address in order to remotely manage the switch. But suppose we have a few VLANs set up on the switch as well. We have VLAN100, VLAN200, and VLAN300. Do we need to give an IP Address to all VLAN interfaces? Or is giving an IP to VLAN1 good enough...? If VLAN1 has an IP we can still get to the switch... so I am not sure if assigning an IP to all other VLAN interfaces makes sense. Thanks everyone!
    If you want to just get to the switch, the VLAN1 IP is enough. You could give an IP to VLAN100 etc if you wanted to do L3 switching or set up some ACLs for security...but for plain old management all you need is the VLAN1 IP.
    Reply With Quote Quote  

  4. Senior Member
    Join Date
    Oct 2005
    Posts
    1,030

    Certifications
    CCNP (R&S/Voice), CCDP, CCIP, VCP, NCDA, MCSE, CCNA Security
    #3
    Assuming that we are only discussing layer 2 switches you would generally assign an IP address to your management VLAN interface (SVI). Which may or may not be VLAN1 (best practices are to not use VLAN 1).

    You would need to use router on a stick or a layer 3 switch to route between the VLANs so that you can access the management SVI on your layer 2 switch from outside the management VLAN.
    Reply With Quote Quote  

  5. Lost in the box...
    Join Date
    Oct 2007
    Location
    OK
    Posts
    556

    Certifications
    CCIE R&S and DC, CCIP, CCNP, CCNA, CCENT, Network+, A+, MCDST, MCP, )
    #4
    Ya, on a layer 2 switch such as a 2950, you will generally just have one management vlan such as VLAN 1 with an IP address. As Kale mentioned it is best practice to change that management vlan to something else since 1 is the known default. Note that on a L2 switch though when you assign an IP address to say vlan 100 and give it the no shut command, it will be the only active Vlan interface on the switch; all others will be shut down. It will have the be the vlan used for remote access.

    You will assign more than one SVI an ip address however on a L3 switch where you want to perform some inter-vlan routing. Switches like 3550's, 3560's, 3750's, 4500's, etc.... are capable of performing these types of actions. HTH's
    Reply With Quote Quote  

  6. Senior Member
    Join Date
    May 2009
    Posts
    127
    #5
    Thank you everyone. That helps!
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks