netgraph(3) NGM_KSOCKET_BIND

2003-11-19 Thread Crist J. Clark
OK, an easy one. I am trying to do some netgraph(3) coding in userland. From how I read the documentation, this should work. Before I go learn all of the netraph(4) kernel code to understand the error message, could someone tell me how this is supposed to look? I'm sure it's something obvious that

ppp dial-up

2003-11-19 Thread lipton
Hello.Please help me in one question. I have a problem with configuring ppp. when I enter ppp -auto demand it automatically starts to dial. Logs show, that it happens when treating line add 0 0 127.2.2.2 by ICMP packet from port 135. I can block triggering by this type of packets, but if I d

Multicast stats and bridging

2003-11-19 Thread Alex Hoff
So I was doing some counter and general ifMib testing and I set up a bridge with two PCs on either side sending data through the two bridged interfaces. It was working fine until I noticed that the bridge will only count incoming broadcast and multicast pkts. ie they come in if1 and are counted cor

RE: netgraph(3) NGM_KSOCKET_BIND

2003-11-19 Thread John Polstra
On 19-Nov-2003 Crist J. Clark wrote: > OK, an easy one. I am trying to do some netgraph(3) coding in > userland. From how I read the documentation, this should work. Before > I go learn all of the netraph(4) kernel code to understand the error > message, could someone tell me how this is supposed t

RE: Multicast stats and bridging

2003-11-19 Thread Alex Hoff
well I want my stats to match, so I can follow the data. For example, lets say I send 1000 multicasts packets from pc A through bridge B to pc C. I want the stats for multicasts packets to add up - Incoming 1000 mcast pkts on A-B interface and 1000 outgoing mcasts packets on the B-C interface. (And

Re: Multicast stats and bridging

2003-11-19 Thread Bruce M Simpson
On Wed, Nov 19, 2003 at 04:03:12PM -0500, Alex Hoff wrote: > What is the desired behavior of a multicast(and broadcast) pkt traveling > through a bridge? Change it to count it going in *and* out? Or is there some > reason, that I dont know about, for the current stat counting heuristics? The bridg

Re: Multicast stats and bridging

2003-11-19 Thread William Carrel
In article <[EMAIL PROTECTED]>, Alex Hoff <[EMAIL PROTECTED]> wrote: > well I want my stats to match, so I can follow the data. For example, lets > say I send 1000 multicasts packets from pc A through bridge B to pc C. I > want the stats for multicasts packets to add up - Incoming 1000 mcast pkt

Re: netgraph(3) NGM_KSOCKET_BIND

2003-11-19 Thread Crist J. Clark
On Wed, Nov 19, 2003 at 01:14:21PM -0800, John Polstra wrote: > On 19-Nov-2003 Crist J. Clark wrote: > > OK, an easy one. I am trying to do some netgraph(3) coding in > > userland. From how I read the documentation, this should work. Before > > I go learn all of the netraph(4) kernel code to unders

Simple Routing

2003-11-19 Thread Benjamin Lauzière
I just set-up a simple router under FreeBSD 4.9, everything works fine but if I check my logs I have a lot of line similar to this: Nov 19 22:00:20 Blah /kernel: arp: 192.168.1.1 is on lnc0 but got reply from [some mac address] on lnc1 The IP 192.168.1.1 Is a gateway What is the cause of this me

Connecting subnet over PPP

2003-11-19 Thread Colin Watson
Hi, I am using the userland ppp with pppoe daemon to setup a pppoe server to authenticate incoming clients. I want to route a /29 subnet (81.19.79.24/29) to a client. Now I authenticate via a radius server, which frames the IP, Protocol, and route attributes: Framed-Protocol = PPP Framed-IP-Add

Re: Connecting subnet over PPP

2003-11-19 Thread Willie Viljoen
If you are seeing ARP requests for a subnet which is routed, it is more than likely that some router somewhere doesn't know it is routed. ARP requests are only sent when a system is trying to contact an IP address *it* believes to be on the same physical network as itself. Make sure routers on your