interface names are hardcoded, but when it's more
complete I'd be very happy for it to be contributed to the examples. Of course
anyone is free to use my code for any purpose too.
Thanks for all your assistance! I'm happy enough with this that I will move on
to looking at my IP routing code.
On 01/01/18 21:05, Vincenzo Maffione wrote:
2018-01-01 17:14 GMT+01:00 Charlie Smurthwaite
<charlie@atech.media<mailto:charlie@atech.media>>:
Hi,
Thank you for your reply. I was able to resolve this.
1) I do indeed open one FD per NIC
2) I no longer specify nr_arg1, nr_arg2
h select/poll/epoll
ioctl(fds[n], NIOCTXSYNC);
ioctl(fds[n], NIOCRXSYNC);
rxring = rxrings[n];
while (!nm_ring_empty(rxring)) {
// Forward any packets waiting in this NIC's RX ring to the
appropriate TX ring
}
}
Thanks again,
Charlie
On 01/01/18 15
this to 1, or to 0 (which resolves to 1) works.
3) When fixing the above, the memory size is always 343019520, plenty
for my requirement.
Thanks,
Charlie
On 28/12/17 17:34, Charlie Smurthwaite wrote:
Hi,
I'm just starting to use netmap and it is my intention to do zero-copy
forwarding of frames
if I don't set arg1,arg2,arg3 in
my code (ie they will be zero), then I get varying output (it varies
between each of the following):
memsize: 4206843
nr_arg2: 0
memsize: 343019520
nr_arg2: 1
Any pointers would be appreciated. Thanks!
Charlie
Charlie Smurthwaite
Technical Director
tel. e
test message
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
that take advantage of hardware packet forwarding. A
purely software-based device simply can't keep up with large flows,
and definitely introduces latency--especially when filtering.
My $0.02 :)
-Charlie
___
freebsd-net@freebsd.org mailing list
http
Olivier Nicole wrote:
? (10.0.0.1) at 00:e0:29:ad:5a:aa on em0 [ethernet]
will do the trick, but it is a bit too heavy for the purpose, I'd
prefer a solution that only send an ARP request.
If you just want to avoid the DNS lookup, you can use arp -an.
Its much faster :)
-Charlie
to this cisco doc:
http://www.cisco.com/warp/public/473/4.html
(yes, you can do it.. with a c2900 too)
Netgraph support Cisco Fast Etherchannel, not the other way around :)
-Charlie
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman
Hi,
So with tcpdump -e it somehow magically sees vlan tags.. even if
hardware stripping of the tags is enabled. How?
More importantly, I'm trying to figure out if a bpf read will see them
as well. Any insight on this?
TIA
-Charlie
___
freebsd-net
Charles Swiger wrote:
On Mar 9, 2005, at 2:22 PM, Charlie Schluting wrote:
More importantly, I'm trying to figure out if a bpf read will see them
as well. Any insight on this?
Yes, or it will if you use promisc mode and an appropriate BPF filter:
So promisc is enabled in my case.
This seems
Charlie Schluting wrote:
Charles Swiger wrote:
On Mar 9, 2005, at 2:22 PM, Charlie Schluting wrote:
More importantly, I'm trying to figure out if a bpf read will see
them as well. Any insight on this?
Yes, or it will if you use promisc mode and an appropriate BPF filter:
So promisc is enabled
is working now :))
-Charlie
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]
Does anyone know of any statistics tools that do a good job summarizing
ALTQ queuing?
Perhaps with an rrd graph of some sort?
I just started using shaping, and its great.. but some time-based view of
the following data (or more) would be really interesting to see.
-Charlie
dmz# pfctl -s queue
internal IPs, each associated with a
different vlan.
In your diagram, you can do it.. but it won't be pretty. i.e. just assign
an alias (secondary IP) to the internal interface. Of course, both ranges
are in the same broadcast domain..
-Charlie
___
freebsd
IFCAP_VLAN_HWTAGGING and recompiling/rebooting, it worked for
about 4 hours, then stopped.
tcpdump sees nothing when it happens.. bringing the interface down; then back
up seems to fix it. We've got a cron on the job now :)
-Charlie
___
freebsd-net
On 1/20/2005 2:33 AM, Robert Watson wrote:
On Wed, 19 Jan 2005, Charlie Schluting wrote:
Now, in 5.3, the only thing I can get working is to configure the em0
int with the IP, and set the trunk to have the native vlan corresponding
to that IP. Weird.
Also, is there a way to stop em(4) from
with tcpdump. What kind of a performance hit does this involve?
Thanks :)
-Charlie
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]
Jon Simola wrote:
On Wed, 19 Jan 2005 13:01:52 -0800, Charlie Schluting
[EMAIL PROTECTED] wrote:
Now, in 5.3, the only thing I can get working is to configure the em0 int with
the IP, and set the trunk to have the native vlan corresponding to that IP.
Weird.
Sounds like you're not getting
an option.
-Charlie
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]
Ok, I've got a v6 tunnel, and to make it work I had to allow ipv6 from
endpoint in ipfw. From what I understand, I have to make a completely
different set of rules for ipv6, and load them using the -6 flag.
Correct so far?
Ok, so I want to set up an ipip v4 tunnel to another box (that runs
Size Name
12 0xc040 4678e4 kernel
21 0xc2e6 4000 if_vlan.ko
Running: 5.2.1-RELEASE-p9
TIA :)
-Charlie.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL
is passing the packets and bypassing ipfw? Or something..
So, what is the order, if I'm running ipf AND ipfw at the same time?
Will it work at all in this manner?
Thanks!
-Charlie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman
James Housley wrote:
The key was created /etc/start_if.xl0:
#!/bin/sh
Yep! Someone else also responded with a similar suggestion.
Thank you very much, everyone, problem solved.
I didn't know you could make start_if.interface ...very cool.
I also now know its in rc.conf(5)
:)
manually, then
dhcp again.
Thanks!
-Charlie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]
helo.
if if_ef.ko was loaded before ng_ether.ko or if i have device ef in
kernel and ng_ether.ko loaded as module then IPXrouted panic my kernel
for 15-30 seconds after boot.
~# kldstat
Id Refs AddressSize Name
1 37 0xc040 34c150 kernel
21 0xc074d000 5e40 vesa.ko
3
helo.
kernel panic for shutdown of mars_nwe...
bash-2.05b# gdb -k kernel /var/crash/vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it
I was asking because of this:
To make firewalling and managing traffic f lowing thru the ip tunnel
a little easier I used virtual interfaces; I added aliases to the
loopback interface(lo0) on both gateways to use as inside endpoints
for the tunnel. That way I have a chance to control the
On Wednesday 09 July 2003 08:09, Gleb Smirnoff wrote:
On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote:
E Does FreeBSD 4.8-STABLE keep per-interface summary for received
E unicast octets? More precisely, I need to know number of unicast
E octets received by my router via ep0
We have built a machine with 3 vlan parenting off an fxp. The vlan
are bridged and vlan0 has an IP. The fxp has no IP and is excluded
from the bridge group.
** root@fw ** ~ ** Sat Oct 19 18:38:08
# ifconfig
fxp0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
ether
Help ... What am I missing?
Given the attached mpd.conf mpd.links files I create
the following netgraph. There is an obvious ommission
here there is no input to the ppp node ID 003f.
I am running a netgraph frame relay interface as ng0.
The mpd files create a ng1 node OK, but ngctl
31 matches
Mail list logo