Re: ng_pptpgre + netmask_change results to lock

2007-06-01 Thread Gleb Smirnoff
On Wed, May 30, 2007 at 02:32:21PM +0300, Alexander Motin wrote:
A>  Nikos Vassiliadis wrote:
A> >> In my case doing a few times:
A> >> ifconfig fxp0 192.168.1.71/16
A> >> ifconfig fxp0 192.168.1.71/24
A> >> locks the box.
A> 
A>  Doing this you are dropping all routes going via that network. Probably you 
A>  are dropping route to your pptp peer which can lead to wrapping tunnel 
A>  inside himself.

Yes. This is a known problem with netgraph tunnels.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Download speed and TCPIP window sizing

2007-06-01 Thread Rudolf Cejka
Pang wrote (2007/05/31):
>  I have asked many techs in Asianetcom and they blamed on TCPIP window 
> sizing. I am not sure what it is, so I do a search in Google and find 

More typical problem than TCP window size is Ethernet connection itself,
for example one side thinks it has 100 Mb/s half duplex and the second
side thinks that it has 100 Mb/s full duplex, which results in speeds
around 10 - 100 KB/s.

-- 
Rudolf Cejka  http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Adding Proprietary Link Speed to sys/net/if_media.h

2007-06-01 Thread David Christensen
I'm working on improving the fiber support for the bce driver.  One of
the devices supported by the
driver (the 5708) supports a 2.5G mode which is negotiated through next
pages operations during
normal auto negotiation.  The mechanism for negotiating this speed uses
standards based 
mechanisms, but the final speed is currently only supported on Broadcom
switches and controllers.
Since this speed is really intended for blade enclosures that's normally
not a problem but since
I need to modify sys/net/if_media.h to create a new media type I wanted
to see if there were any
strong objections to such a change.  
 
The media type will also be supported on the 5709, a forth-coming
controller which will also support
2.5G operation, so the media type won't be limited to a single
controller, though it may never be 
supported outside of Broadcom products.
 
Dave
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Adding Proprietary Link Speed to sys/net/if_media.h

2007-06-01 Thread David Christensen
> > I'm working on improving the fiber support for the bce 
> driver.  One of
> 
> Should be fine but you might want to post a patch to be concrete.
> 
>   Sam

I'm just looking at adding a media type as follows:

#define IFM_2500_SX 21  /* 2500BaseSX - multi-mode fiber */

I've only briefly explored whether any other changes are necessary
anywhere outside of my driver.  If anyone has any thoughts on
where I should consider more changes I'd appreciate the feedback.

Dave

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adding Proprietary Link Speed to sys/net/if_media.h

2007-06-01 Thread Andre Oppermann

David Christensen wrote:

I'm working on improving the fiber support for the bce driver.  One of
the devices supported by the
driver (the 5708) supports a 2.5G mode which is negotiated through next
pages operations during
normal auto negotiation.  The mechanism for negotiating this speed uses
standards based 
mechanisms, but the final speed is currently only supported on Broadcom

switches and controllers.
Since this speed is really intended for blade enclosures that's normally
not a problem but since
I need to modify sys/net/if_media.h to create a new media type I wanted
to see if there were any
strong objections to such a change.  


No objections from me.

--
Andre


The media type will also be supported on the 5709, a forth-coming
controller which will also support
2.5G operation, so the media type won't be limited to a single
controller, though it may never be 
supported outside of Broadcom products.
 
Dave

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adding Proprietary Link Speed to sys/net/if_media.h

2007-06-01 Thread Sam Leffler

David Christensen wrote:
I'm working on improving the fiber support for the bce 

driver.  One of

Should be fine but you might want to post a patch to be concrete.

Sam


I'm just looking at adding a media type as follows:

#define IFM_2500_SX 21  /* 2500BaseSX - multi-mode fiber */

I've only briefly explored whether any other changes are necessary
anywhere outside of my driver.  If anyone has any thoughts on
where I should consider more changes I'd appreciate the feedback.


You need to add the item to the lists later in the file so ifconfig can 
deal with them.


Sam

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"