Re: status of a tap device ...

2013-05-09 Thread Marc G. Fournier
Ended up finding the perl module: p5-Net-Ifconfig-Wrapper that does the trick ... Although your suggestinos are much appreciated below, the problem is that I have the tap devices, and bridge 'addm's happening on server reboot, but need to know which one is in use before starting up / using th

Re: status of a tap device ...

2013-05-09 Thread Jason Hellenthal
Ifconfig -v tap0 ? Does this work for you ? Also upon opening a tap... ifconfig tap create Will return the numeric portion of the tap that was created with $? So scripting it out it would be similar to... ifconfig tap create && export MYTUNIS="$?" echo "tap$MYTAPIS" -- Jason Hellenthal IS

status of a tap device ...

2013-05-09 Thread Marc G. Fournier
Quick question ... is there a command I can run that will tell me if a tap device is open? I know I can do 'ifconfig tap0' and see the 'Opened by' line, but I want to do this within a perl script, for instance, akin to how I can use the fstat function to get information about a file ... Rat

Invite from munguti.jacint...@yahoo.com to fab.com, daily design sales and inspirations

2013-05-09 Thread Fab
      If you are unable to see this message, click here to viewTo ensure delivery to your inbox, please add i...@fab.com to your address book.     Great News!freebsd-net@freebsd.orgHere's your exclusive invite from munguti.jacint...@yahoo.com to register for the new Fab.comFab.com provides d

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-05-09 Thread Barney Cordoba
--- On Thu, 5/9/13, Eugene Grosbein wrote: > From: Eugene Grosbein > Subject: Re: High CPU interrupt load on intel I350T4 with igb on 8.3 > To: "Barney Cordoba" > Cc: ""Clément Hermann (nodens)"" , > freebsd-net@freebsd.org > Date: Thursday, May 9, 2013, 12:30 PM > On 09.05.2013 23:25, Barne

Re: IPv6 configuration missunderstanding

2013-05-09 Thread Florent Peterschmitt
Le 09/05/2013 21:53, Florent Peterschmitt a écrit : > I should use /56 prefix ? Even if my IPv6 is a /64 ? > > Does ipv6 configures automatically on lo0 without > ipv6_activace_all_interfaces ? > > In that case, yes it is not necessary. > If fact, it is necessary to have ipv6_activate_all_inter

Re: IPv6 configuration missunderstanding

2013-05-09 Thread Florent Peterschmitt
Le 09/05/2013 21:49, Hiroki Sato a écrit : > Florent Peterschmitt wrote > fl> I found how to configure it: > fl> > fl> ip6addrctl_policy="ipv6_prefer" > fl> ipv6_activate_all_interfaces=yes > fl> ifconfig_em0_ipv6="inet6 2001:41d0:8:b81f::1 prefixlen 64" > fl> ipv6_defaultrouter="2001:41d0:8:b8ff

Re: IPv6 configuration missunderstanding

2013-05-09 Thread Hiroki Sato
Florent Peterschmitt wrote in <518bfbf6.4040...@peterschmitt.fr>: fl> Le 09/05/2013 21:19, Hiroki Sato a écrit : fl> > Florent Peterschmitt wrote fl> > in <518a6d5c.3030...@peterschmitt.fr>: fl> > fl> > fl> Hi, fl> > fl> fl> > fl> I want to configure IPv6 in FreeBSD 9.1-RELEASE like this :

Re: IPv6 configuration missunderstanding

2013-05-09 Thread Florent Peterschmitt
Le 09/05/2013 21:19, Hiroki Sato a écrit : > Florent Peterschmitt wrote > in <518a6d5c.3030...@peterschmitt.fr>: > > fl> Hi, > fl> > fl> I want to configure IPv6 in FreeBSD 9.1-RELEASE like this : > fl> > fl> ipv6_enable=yes > fl> ipv6_activate_all_interfaces=yes > fl> ifconfig_em0_ipv6="inet6

Re: IPv6 configuration missunderstanding

2013-05-09 Thread Hiroki Sato
Florent Peterschmitt wrote in <518a6d5c.3030...@peterschmitt.fr>: fl> Hi, fl> fl> I want to configure IPv6 in FreeBSD 9.1-RELEASE like this : fl> fl> ipv6_enable=yes fl> ipv6_activate_all_interfaces=yes fl> ifconfig_em0_ipv6="inet6 2001:41D0:8:B81f:: prefixlen 64" fl> -interface em0" fl> ipv6_d

Re: VIMAGE and socreate

2013-05-09 Thread Marko Zec
On Thursday 09 May 2013 19:53:05 Vijay Singh wrote: > In 8.3, socreate() does: > > so = soalloc(CRED_TO_VNET(cred)); > > Is there a reason why we don't do soalloc(curvnet) here? Since > CURVNET_SET() doesn't update the vnet in the thread ucred, which is > passed into socreate(), it doesn't

VIMAGE and socreate

2013-05-09 Thread Vijay Singh
In 8.3, socreate() does: so = soalloc(CRED_TO_VNET(cred)); Is there a reason why we don't do soalloc(curvnet) here? Since CURVNET_SET() doesn't update the vnet in the thread ucred, which is passed into socreate(), it doesn't take effect for socket creations. Any ideas? -vijay __

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-05-09 Thread Eugene Grosbein
On 09.05.2013 23:25, Barney Cordoba wrote: >> Network device driver is not guilty here, that's just pf's >> contention >> running in igb's context. >> >> Eugene Grosbein > > They're both at play. Single threadedness aggravates subsystems that > have too many lock points. > > It can also be "sol

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-05-09 Thread Barney Cordoba
--- On Thu, 5/9/13, Eugene Grosbein wrote: > From: Eugene Grosbein > Subject: Re: High CPU interrupt load on intel I350T4 with igb on 8.3 > To: ""Clément Hermann (nodens)"" > Cc: freebsd-net@freebsd.org > Date: Thursday, May 9, 2013, 10:55 AM > On 26.04.2013 18:31, "Clément > Hermann (nodens)

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-05-09 Thread Eugene Grosbein
On 26.04.2013 18:31, "Clément Hermann (nodens)" wrote: > Hi list, > > We use pf+ALTQ for trafic shaping on some routers. > > We are switching to new servers : Dell PowerEdge R620 with 2 8-cores > Intel Processor (E5-2650L), 8GB RAM and Intel I350T4 (quad port) using > igb driver. The old hardwa

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-05-09 Thread Barney Cordoba
--- On Sun, 4/28/13, Barney Cordoba wrote: > From: Barney Cordoba > Subject: Re: High CPU interrupt load on intel I350T4 with igb on 8.3 > To: "Jack Vogel" > Cc: "FreeBSD Net" , "Clément Hermann (nodens)" > > Date: Sunday, April 28, 2013, 2:59 PM > The point of lists is to be able to > bene

Re: mipv6

2013-05-09 Thread Takuya ASADA
Hi, I know some of people who were worked on Mobility support on KAME project, and the code is still available on KAME site: http://www.kame.net/dev/cvsweb2.cgi/kame/kame/sys/netinet6/ But it's for FreeBSD 5, probably not able to compile recent version of FreeBSD anymore. I guess there's no porti

Re: mipv6

2013-05-09 Thread Florent Peterschmitt
Le 09/05/2013 12:23, Florent Peterschmitt a écrit : > Le 09/05/2013 03:51, Ouyahia Nourimane a écrit : >> hello, i'm a student >> i have a project about mipv6 and i wish that you can help me >> i want to test mipv6 with freebsd but i didn't realize how to configure >> kame >> which is the last vers

Re: mipv6

2013-05-09 Thread Florent Peterschmitt
Le 09/05/2013 03:51, Ouyahia Nourimane a écrit : > hello, i'm a student > i have a project about mipv6 and i wish that you can help me > i want to test mipv6 with freebsd but i didn't realize how to configure > kame > which is the last version that support kame and can you give me iso image > of th

Re: IPv6 tunnel MTU of 1480 not effective

2013-05-09 Thread sthaug
> However I'm only able to send IPv6 packets from my host that fit an MTU > of 1280 even though I've set the tunnel interface and per-route MTU to > 1480, based on the "outer" ethernet connection having an MTU of 1500. > Hurricane Electric supports this and I've set the MTU to 1480 on their > s

IPv6 tunnel MTU of 1480 not effective

2013-05-09 Thread Jason Mann
Hello list, I have a dedicated server running FreeBSD 9.1-RELEASE hosted with an IPv4-only hosting company and have set up a Hurricane Electric IPv6 tunnel to it. It's mostly working fine. However I'm only able to send IPv6 packets from my host that fit an MTU of 1280 even though I've set t