<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I want to set VLAN priority bits in the DHCP
OFFER sent by the dhcpd program</FONT></DIV>
<DIV><FONT face=Arial size=2>on linux.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is my config:-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>DHCP client ----- Dell Switch -------- DHCP
Server ( dhcpd progam, Linux kernel - 2.4.20-8)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On configuring the VLAN QoS on the DHCP Server on
virtual interface eth1.79</FONT></DIV>
<DIV><FONT face=Arial size=2>using set_egress_map option of vconfig
command:-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[<A href="">root@spiderman</A> ftptest]# cat
/proc/net/vlan/eth1.79<BR></DIV>
<DIV>[root@spiderman ftptest]# cat /proc/net/vlan/eth1.79<BR>eth1.79 VID:
79 REORDER_HDR: 1
dev->priv_flags: 1<BR> total
frames received:
129<BR> total bytes
received:
26844<BR> Broadcast/Multicast
Rcvd: 29</DIV>
<DIV> </DIV>
<DIV> total frames
transmitted:
105<BR> total bytes
transmitted:
28212<BR>
total headroom
inc:
0<BR> total encap on
xmit: 105<BR>Device:
eth1<BR>INGRESS priority mappings: 0:0 1:0 2:0 3:0
4:0 5:0 6:0 7:0<BR>EGRESSS priority Mappings: 0:3 </DIV>
<DIV> </DIV>
<DIV>From what I have read, setting the egress map for skb_priority
of 0</DIV>
<DIV>would set the VLAN priority to 3 for
all skb_priorities. <BR></DIV></FONT><FONT face=Arial size=2></FONT>
<DIV><FONT face=Arial size=2>The offer which the client is receiving is not
priority tagged (without priority bit set to 3) </FONT></DIV>
<DIV><FONT face=Arial size=2>so just wanted to know if I am missing
anything.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have tested that set_egress_map does work, i.e.
the priority bits</FONT></DIV>
<DIV><FONT face=Arial size=2>are set properly when tested with ping packets with
the same configuration</FONT></DIV>
<DIV><FONT face=Arial size=2>when the REORDER_HDR </FONT><FONT face=Arial
size=2>is 0. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>However, dhcpd program requires the REORDER_HDR
flat to be set to</FONT></DIV>
<DIV><FONT face=Arial size=2>1 for its working.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Please let me know how can the DHCP OFFER be
received with</FONT></DIV>
<DIV><FONT face=Arial size=2>the VLAN priority set.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2><FONT face=Courier></FONT></FONT></DIV><FONT
face=Courier size=2></FONT></DIV>
<DIV><FONT face=Courier size=2><FONT face=Arial>Thanks,</FONT></FONT></DIV>
<DIV><FONT face=Courier size=2><FONT
face=Arial>Yogesh</FONT></DIV></FONT></DIV></BODY></HTML>