double tag dhcp ip allocation

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
we have summit x460-24t extreme networks switch . I want to trunk port to send and receive double tagged ports and allocate IP addresses via DHCP .
example : -say outer vlan (service vlan) is x and inner vlan (customer vlan) is y . Then it should allocate IP address from a particular pool .
Currently we have following setting for single tagged vlan which works well .

create vlan "vlan400"
configure vlan vlan400 tag 400
configure vlan vlan400 ipaddress 172.16.96.33 255.255.255.248
enable ipforwarding vlan vlan400
configure vlan vlan400 dhcp-address-range 172.16.96.34 - 172.16.96.38
configure vlan vlan400 dhcp-options default-gateway 172.16.96.33
configure vlan vlan400 dhcp-options dns-server 196.1.105.47
enable dhcp ports 21-24 vlan vlan400

Thanks .
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Karthik Mohandoss

Karthik Mohandoss, Employee

  • 5,908 Points 5k badge 2x thumb
Hi Sumeet,

I believe you are looking to provide IP-address to hosts which are present in the Customer VLAN.... where this customer VLAN is not present in the X460-24t and the switch only provides VMAN services... please correct me if my understanding is wrong on the same.
Photo of MANAS BEHERA

MANAS BEHERA

  • 210 Points 100 badge 2x thumb
Hi Sumeet,

Please follow the link.
https://community.extremenetworks.com/extreme/topics/vman_qinq_on_summit_450-nwxcj

Regards, 
Manas Ranjan
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
sorry for my late reply .
to (Mohandoss, Karthik, Employee)
my system is connected to trunk port of switch .
I want that trunk port to accept double tagged packets and allocate ip addresses (from a pre-defined pool))  to macid requesting via dhcp  .
For now , I can choose vlan (outer and inner ) which are not present on switch , so no conflict .
But , single tagged vlan's are already configured and running on other ports . I hope it won't be an issue.
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
to MANAS BEHERA
i read the link you gave .

I have a few questions
(1)enable jumbo frame has to be done for all ports or only those involved in double tag vlan ?
(2) 'enable dot1p examination inner-tag port 24 ' does  this allocate ip based on inner tag at port 24 ?
Photo of Karthik Mohandoss

Karthik Mohandoss, Employee

  • 5,908 Points 5k badge 2x thumb
Sumeet,

The inner tag would not be looked by the switch rather it would only look at the outer tag and if that VLAN is present in the switch and is configured to provide DHCP IP then it would.
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
Been a long time , sorry .
to Mohandoss, Karthik,
here is what I did
* X460-24t.4 # enable jumbo-frame ports all* X460-24t.5 # create vman vman1
* X460-24t.6 # configure vman vman1 tag 3050
* X460-24t.7 # configure vlan vman1 ipaddress 120.57.112.1 255.255.0.0
* X460-24t.7 #configure vman vman1 add ports 21-24  tagged
Then I gave IP 120.57.112.2 to my device which sends packet with outer (service) vlan 3050 and iner (customer) vlan 1004 and ether type 0x8100. Note that vlan 1004 is not defined on extreme switch .
I tried to ping 120.57.112.1  . did not happen.
When I try
enable dot1p examination inner-tags ports 21
I get 
error:port 21 has dot1p examination enabled . disable dot1p examination and re-issue this command.
Also , note that single tag vlans in range 100 to 900 are already configured and running on ports 21-24 . Is that a problem ?
Does the dot1p examination command tell switch to ignore inner vlan for double tagged packets ?

Thanks.