From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srikanth Date: Mon, 30 Jun 2003 04:16:46 +0000 Subject: Re: [LARTC] does tc support mpls ? MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------090706050903080206040904" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --------------090706050903080206040904 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit > > >--__--__-- > >Message: 2 >Date: Sat, 28 Jun 2003 15:51:14 +1000 (EST) >From: Brad Lay >To: Nikolay Datchev >Cc: olagoke Metibemu , > Ashutosh Pattanaik , > lartc@mailman.ds9a.nl >Subject: Re: [LARTC] does tc support mpls ? > >On Fri, 27 Jun 2003, Nikolay Datchev wrote: > > > >>I assume that your current ethernet card speed is 100 Mbit/s >> >>Just do >> >>mii-tool eth0 -A 10BaseT >> >> > >Or you could do, >tc qdisc add dev ethX root tbf rate 10Mbit latency 50ms burst 1540 > >(I'm really not sure about latency and burst, because I usually have the >rate set at 220kbit. YMMV). > > > >>-- Nikolay Datchev >> >>On Fri, 27 Jun 2003, olagoke Metibemu wrote: >> >> >> >>>HELLO ALL, >>>I WILL BE VERY HAPPY IS ANY BODY ON THISLIST CAN TELL ME HOW TO SET MY ETHERNET LAN SPEED TO 10MBPS ON A REDHAT BOX. >>> >>>THANKS >>> >>>GOKE >>>NEWBIE >>> >>> > >Regards, > >Brad Lay ( brad /at/ coombabah.net ) > > W) http://coombabah.net/ > >"I used to be indecisive, now I'm not so sure." > >--__--__-- > > > You can use ethtool to set your ethernet speed, by using the following command ethtool -s ethX [speed 10|100|1000] [duplex half|full] ethtool is available over the Web on the SourceForge site at http://sourceforge.net/projects/gkernel/ -Srikanth. --------------090706050903080206040904 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
--__--__--

Message: 2
Date: Sat, 28 Jun 2003 15:51:14 +1000 (EST)
From: Brad Lay <brad@coombabah.net>
To: Nikolay Datchev <nik@varna.net>
Cc: olagoke Metibemu <olagokemetibemu@yahoo.com>,
	Ashutosh Pattanaik <ashutosh.pattanaik@einfinitus.com>,
	lartc@mailman.ds9a.nl
Subject: Re: [LARTC] does tc support mpls ?

On Fri, 27 Jun 2003, Nikolay Datchev wrote:

  
I assume that your current ethernet card speed is 100 Mbit/s

Just do

mii-tool eth0 -A 10BaseT
    

Or you could do,
tc qdisc add dev ethX root tbf rate 10Mbit latency 50ms burst 1540

(I'm really not sure about latency and burst, because I usually have the
rate set at 220kbit. YMMV).

  
-- Nikolay Datchev

On Fri, 27 Jun 2003, olagoke Metibemu wrote:

    
HELLO ALL,
I WILL BE VERY HAPPY IS ANY BODY ON THISLIST CAN TELL ME HOW TO SET MY ETHERNET LAN SPEED TO 10MBPS ON A REDHAT BOX.

THANKS

GOKE
NEWBIE
      

Regards,

Brad Lay ( brad /at/ coombabah.net )

 W) http://coombabah.net/

"I used to be indecisive, now I'm not so sure."

--__--__--

  
You can use ethtool to set your ethernet speed, by using the following command

ethtool     -s    ethX    [speed 10|100|1000]    [duplex half|full]

ethtool  is  available  over  the Web on the SourceForge site at http://sourceforge.net/projects/gkernel/

-Srikanth.

--------------090706050903080206040904-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/