Re: Understanding the interplay of ipfw, vlan, and carp

2008-06-04 Thread Bruce M. Simpson
Peter Jeremy wrote: Note that one downside of your carpdev patches is that (AFAIK) it is no longer possible to identify which host sent the packet: The source and destination MAC addresses, as well as the destination IP address are all defined by CARP. Once you change the source IP address to be

Re: network keep droping

2008-06-04 Thread Izwan Mohd
> First question would be: What has changed? > > Are you able to identify when the problem occurs? This might let you > associate the problem with an internal cronjob or network activity. it randomly happen so I can't determine when it happen my cron script just try to ping and if it not succes

Re: samba performance on 1Gig link: how to replace black magic with science? And why TCP windows scaling is not in play?

2008-06-04 Thread Adrian Chadd
Figure out why window scaling isn't working - look at the options being negotiated (use tcpdump) and try to figure out which side isn't offering or is rejecting window size scaling negotiation. CIFS isn't the same profile as iperf/etc - its not just shovelling raw data down the socket, there's a w

Re: [Regarding FreeBSD and RFC Compliance]

2008-06-04 Thread Archimedes S. Gaviola
Archimedes S. Gaviola wrote: Bruce M. Simpson wrote: Archimedes S. Gaviola wrote: To Whom It May Concerned: Good day! Is there any document or web site that lists all the standard Request for Comments (RFCs) for all the networking protocols currently implemented on FreeBSD? This will help us

Re: kern/122928: [em] interface watchdog timeouts and stops receiving packets

2008-06-04 Thread linimon
Synopsis: [em] interface watchdog timeouts and stops receiving packets State-Changed-From-To: feedback->open State-Changed-By: linimon State-Changed-When: Thu Jun 5 02:35:42 UTC 2008 State-Changed-Why: Feedback received. http://www.freebsd.org/cgi/query-pr.cgi?pr=122928 _

Re: Understanding the interplay of ipfw, vlan, and carp

2008-06-04 Thread Max Laier
On Wednesday 04 June 2008 10:14:43 Peter Jeremy wrote: > On 2008-Mar-04 23:20:26 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > >You could try the attached patch. It adds carpdev support. You'll > > have to recompile ifconfig to make use of it. > > I have just tried it and found that it does preci

Re: IP-forwarding (help)

2008-06-04 Thread Bakul Shah
On 05 Jun 2008 01:33:05 +0200 "Arno J. Klaassen" <[EMAIL PROTECTED]> wrote: > Petar Bogdanovic <[EMAIL PROTECTED]> writes: > > > On Wed, Jun 04, 2008 at 11:06:01PM +0200, Arno J. Klaassen wrote: > > > > > > Hello, > > > > > > this is probably a FAQ and/or I'm to tired, but I'd be pleased > > >

Re: IP-forwarding (help)

2008-06-04 Thread Arno J. Klaassen
Petar Bogdanovic <[EMAIL PROTECTED]> writes: > On Wed, Jun 04, 2008 at 11:06:01PM +0200, Arno J. Klaassen wrote: > > > > Hello, > > > > this is probably a FAQ and/or I'm to tired, but I'd be pleased > > if anyone can tell me what I do wrong : > > > > I have a box with two interfaces, one connec

Re: IP-forwarding (help)

2008-06-04 Thread David DeSimone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arno J. Klaassen <[EMAIL PROTECTED]> wrote: > > Now from my test-box 192.168.1.1 I can reach (of course) > 192.168.1.254, I can reach 172.16.1.240, but no other IP. Check with tcpdump, are your network packets being sourced from the 192.168 network ev

Re: IP-forwarding (help)

2008-06-04 Thread Petar Bogdanovic
On Wed, Jun 04, 2008 at 11:06:01PM +0200, Arno J. Klaassen wrote: > > Hello, > > this is probably a FAQ and/or I'm to tired, but I'd be pleased > if anyone can tell me what I do wrong : > > I have a box with two interfaces, one connected to my lan > (172.16. ), one to a test-box (192.168.1.1) :

Re: Addition to the vlan driver

2008-06-04 Thread Jack Vogel
On Wed, Jun 4, 2008 at 2:55 PM, Andrew Snow <[EMAIL PROTECTED]> wrote: > Jack Vogel wrote: >> >> What I would like to do is add some code into the vlan_ioctl() routine >> that will make a call >> to the PARENT ioctl with SETVLAN type and an argument of the tag. >> >> By doing this both the em and i

Re: Addition to the vlan driver

2008-06-04 Thread Andrew Snow
Jack Vogel wrote: What I would like to do is add some code into the vlan_ioctl() routine that will make a call to the PARENT ioctl with SETVLAN type and an argument of the tag. By doing this both the em and igb drivers will be able to enable hardware vlan filtering as well, a feature we've never

IP-forwarding (help)

2008-06-04 Thread Arno J. Klaassen
Hello, this is probably a FAQ and/or I'm to tired, but I'd be pleased if anyone can tell me what I do wrong : I have a box with two interfaces, one connected to my lan (172.16. ), one to a test-box (192.168.1.1) : em0: flags=8843 metric 0 mtu 1500 options=9b ether xxx

Addition to the vlan driver

2008-06-04 Thread Jack Vogel
I had our test group report a bug when using jumbo frames and vlans in the new igb driver. After a couple days chasing it down it turns out the issue is that the igb driver does not know when a vlan is first attached, and when you use jumbo frames you need to program a register with the maximum fra

samba performance on 1Gig link: how to replace black magic with science? And why TCP windows scaling is not in play?

2008-06-04 Thread Lev Serebryakov
Hello, net. I'm setupping file server for WindowsXP/SP3 clients, based on FreeBSD 7.0-Stable nad latest samba port. First of all, Is et these kernel variables: kern.ipc.maxsockbuf=16777216 net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.recvbuf_max=16777216 net.inet.tcp.sendspace=131072 net.i

Re: network keep droping

2008-06-04 Thread Peter Jeremy
On 2008-Jun-05 02:37:14 +0800, Izwan Mohd <[EMAIL PROTECTED]> wrote: >I have being encountering a weird problem on my freebsd 6 , one of my remote >machine being down frequently lately for no particular reason, when I go to >the remote site to check then machine it was in good running condition but

network keep droping

2008-06-04 Thread Izwan Mohd
Hi, I have being encountering a weird problem on my freebsd 6 , one of my remote machine being down frequently lately for no particular reason, when I go to the remote site to check then machine it was in good running condition but no network, it even can't ping the server on the same subnet, the

Re: Understanding the interplay of ipfw, vlan, and carp

2008-06-04 Thread Peter Jeremy
On 2008-Mar-04 23:20:26 +0100, Max Laier <[EMAIL PROTECTED]> wrote: >You could try the attached patch. It adds carpdev support. You'll have >to recompile ifconfig to make use of it. I have just tried it and found that it does precisely the opposite of what I want :-( My situation: At work, I ha