UNSOLVED

lam_tran5582

updated

19 years ago

0

19474

April 24th, 2008 19:00

Using 2 Routers on VLAN Configuration

I have a Dell Powerconnect 6248 that will be connect via fiber line to a Powerconnect 6024.
The 6248 (main office) will have the DHCP server connected to it along with two 5448 switches.
The 6024 (back office) will have two 3348 switches connected to it.
I will already have  VLANS configured on the 6248 and 5448. 
Is it possible to have the same VLANS from the 6248 propagated  on the 6024, or would have to manually configure it?
  • bh1633

    909 Posts

    847

    0

    Posted April 25th, 2008 01:00

    gvrp can be used to propagate vlans. 
  • 847

    0

    Posted April 28th, 2008 12:00

    I tried looking for info on GVRP and didn't find much. Do you know where I can get some technical papers on this topic? I've never implemented GVRP before so i'm going to need some help.
  • bh1633

    909 Posts

    847

    0

    Posted April 28th, 2008 14:00

    Here is an example that will advertise the static vlans out of port g16.  Explanation is below.

     

    console(config)# vlan database

    console(config-vlan)# vlan 101-102,310

    console(config)# exit

     

    console(config)# interface ethernet g1

    console(config-if)# switchport access vlan 101

    console(config-if)# gvrp enable

    console(config-if)# exit

    console(config)# interface ethernet g2

    console(config-if)# switchport access vlan 102

    console(config-if)# gvrp enable

    console(config-if)# exit

    console(config)# interface range ethernet g(3-10)

    console(config-if)# switchport access vlan 310

    console(config-if)# gvrp enable

    console(config-if)# exit 

    console(config)# interface Ethernet g16

    console(config-if)# switchport mode general

    console(config-if)# switchport general pvid 4095

    console(config-if)# gvrp enable 

    console(config-if)# exit 

    console(config)# gvrp enable

     

    For the access ports (g1, g2, g3-10) the ‘gvrp enable’ command configures each port's VLANs to be advertised by GVRP on any ports that have GVRP enabled.  Conversely VLANs that are only on access ports that do not have GVRP enabled will NOT be advertised on ports that have GVRP enabled. 

     

    For port (g16), the ‘gvrp enable’ command configures the port to advertise the VLANs from the ports that have GVRP enabled (101,102,310) and learn new VLANs on the port via GVRP.  

    The last ‘gvrp enable’ command enables GVRP globally.  

  • 848

    0

    Posted April 28th, 2008 16:00

    Would i need GVRP enable NIC's on the client?
    I've read on another thread that you said they were not needed. If they're not needed, then how would the gvrp enabled port on the switch know which of the advertised vlans to use when a client is plugged in?
    Also, if i have two 3024 swtiches connected to router, does the corresponding gvrp ports on both switches get assigned a vlan when one of the switches get's a client?
  • bh1633

    909 Posts

    848

    0

    Posted April 28th, 2008 17:00

    Usually, gvrp is not used on clients.  Usually, clients are plugged into access ports.  gvrp is usually used to propagate vlans between switches.  My example shows you how to configure access ports to be in specific vlans (ports g1-10) and then how to have those access ports advertised via gvrp on port g16.

     

    If you were to have the nics advertise their vlans via gvrp, then I would follow my example for port g16 for all the ports you anticipate plugging the clients into.

     

    Regarding the 3024 question:  In my example, when port g1 gets link, port g16 will start advertising vlan 101.  If you were using gvrp on your nics, when a port joins the vlan advertised by the nic, other gvrp enabled ports on the switch will start advertising the vlan.

     

    The best way to learn this is to try it.

  • 848

    0

    Posted April 28th, 2008 17:00

    You're shedding a lot of light on this this issue. I'm trying to obtains as much info as I can before starting to configure the switches. I'm still confuse about one issue.
     
    Back in your example, you have (g16) advertising vlan (101,102,and 310).
     
    And you said "gvrp is usually used to propagate vlans between switches."
     
    Let's say i had another switch (B) and i plugged it into port g16 (advertising vlan 101,102,and 310) How would port g16 know what vlan to use from the three advertised? And would all of the ports on switch (B) be assigned the same vlan?
     
    Thanks for all of the help.
  • bh1633

    909 Posts

    848

    0

    Posted April 28th, 2008 18:00

    The traffic in the vlans advertised on port g16 would be tagged with the vlan information.  Traffic in vlan 101 would have an 802.1Q tag of 101, traffic in vlan 102 would have an 802.1q tag of 102, etc.

     

    In the example, port g1 is untagged (access port).  Any traffic coming in port g1 is put in vlan 101.  As soon as a device is connected to port g1, port g16 will start advertising vlan 101 to the other switch and will put port g16 into vlan 101.  Traffic exiting port g16 that entered the switch from port 1 will have an 801.1Q vlan tag of 101 added to it.   Traffic exiting port g16 that entered the switch from port 2 will have an 801.1Q vlan tag of 102 added to it.   Traffic entering port g16 with a vlan tag of 101, will only be sent to port g1.   Traffic entering port g16 with a vlan tag of 102, will only be sent to port g2.  So, port g16 can be in multiple vlans, and the traffic in the multiple vlans is differentiated by the 801.1Q vlan tags added to the traffic.

     

     

  • 848

    0

    Posted April 29th, 2008 18:00

    I am working on the config of the switchs now in my test enviornment. How do you configure a second switch to say to the first switch that it want's to create VLAN 103 on it's ports?  I don't understand how to configure the second, third switches, to tell the first switch that it want's a particular Vlan created on it's ports.
    I'm confused on the concept that  there needs to be traffic before the VLANS are propgated. How could there be traffic if there are no vlans :smileysad:
  • bh1633

    909 Posts

    848

    0

    Posted April 29th, 2008 19:00

    I did not say there had to be traffic.  I said there had to be link.  Link is when you plug something into an Ethernet port and the led for that Ethernet port lights up.

     

    Configure 2 switches exactly the same way (as in the example) and then connect the g16 ports.  Get yourself 2 PCs and note that you can ping between the PCs when they are connected to g1 on each switch, but not when one PC is connected g1 on one switch and the other is g2 on the other switch.  THis is because those ports are in different VLANs.

     

     

     

     

  • 199

    0

    Posted May 1st, 2008 13:00

    I've played around with the example configuration that you provided me and tts helping me move along a bit.
    My new question is when i created a new vlan 105 and assigned it onto port 5 on switch 1, i see that the vlan 105 was also created on switch 2. But when it was created on switch 2, no ports were assigned to the Vlan. Why is this? And how do it fix it?