VLAN questions

2002-03-25 Thread jack xiao
Hi, I set up VLAN attached to some physical interface. It works fine on my own LAN. But it doesn't work on Internet. Does anybody have met this problem? Thanks! Jack To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: VLAN questions

2002-03-25 Thread Brooks Davis
On Mon, Mar 25, 2002 at 02:32:48PM -0500, jack xiao wrote: > I set up VLAN attached to some physical interface. It works fine on my own > LAN. But it doesn't work on Internet. Does anybody have met this problem? You need to give a lot more detail if you want an answer. What type of phyisical int

ip_output and ENOBUFS

2002-03-25 Thread Matthew Luckie
Hi I have written a syscall that creates a packet in kernel-space, timestamps it, and then sends it via ip_output If the user-space application uses this system call faster than the packets can be sent, ip_output will return ENOBUFS. Is there a mechanism to tell when ip_output should be called

Re: ip_output and ENOBUFS

2002-03-25 Thread Lars Eggert
Matthew Luckie wrote: > I have written a syscall that creates a packet in kernel-space, > timestamps it, and then sends it via ip_output > > If the user-space application uses this system call faster than the > packets can be sent, ip_output will return ENOBUFS. > > Is there a mechanism to tell

Re: ip_output and ENOBUFS

2002-03-25 Thread Matthew Luckie
> > Is there a mechanism to tell when ip_output should be called again? > > Ideally, I would block until such time as i could send it via ip_output > > You probably get that because the outbound interface queue gets full, so > you want to block your caller until space becomes available there. Th

Re: ip_output and ENOBUFS

2002-03-25 Thread Lars Eggert
Matthew Luckie wrote: >>>Is there a mechanism to tell when ip_output should be called again? >>>Ideally, I would block until such time as i could send it via ip_output >> >>You probably get that because the outbound interface queue gets full, so >>you want to block your caller until space becomes

Re: ip_output and ENOBUFS

2002-03-25 Thread Lars Eggert
Lars Eggert wrote: > Matthew Luckie wrote: > Is there a mechanism to tell when ip_output should be called again? Ideally, I would block until such time as i could send it via ip_output >>> >>> >>> You probably get that because the outbound interface queue gets full, >>> so you want to

Re: ip_output and ENOBUFS

2002-03-25 Thread Julian Elischer
On Mon, 25 Mar 2002, Matthew Luckie wrote: > Hi > > > Is there a mechanism to tell when ip_output should be called again? > Ideally, I would block until such time as i could send it via ip_output no, there is no such mechanism that I know of.. > > (please CC: me on any responses) > > Mat

Re: ip_output and ENOBUFS

2002-03-25 Thread Luigi Rizzo
On Mon, Mar 25, 2002 at 02:06:19PM -0800, Lars Eggert wrote: > Matthew Luckie wrote: > >>>Is there a mechanism to tell when ip_output should be called again? ... > >if you could suggest a few modifications that would be required, i'd like > >to pursue this further. > > Look at tsleep/wakeup on if

RE: VLAN questions

2002-03-25 Thread Henry Su
No, we do not have this problem. If it works on your LAN, it should work on Internet too. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of jack xiao Sent: Monday, March 25, 2002 11:33 AM To: [EMAIL PROTECTED] Subject: VLAN questions Hi, I set up VLAN

RE: Unnumbered IP Interface

2002-03-25 Thread Cambria, Mike
Thanks. I have a few follow-up questions to your answer. I'm not using netgraph (at least at the moment). Will this matter? I assume 'ifconfig lmc0 up' is all I need to do to bring the interface up prior to "route add -iface lmc0..." On FreeBSD, do I need to do anything special to run OSPF

RE: Unnumbered IP Interface

2002-03-25 Thread Julian Elischer
On Mon, 25 Mar 2002, Cambria, Mike wrote: > > Thanks. I have a few follow-up questions to your answer. > > I'm not using netgraph (at least at the moment). Will this matter? No it's a totally sepaate matter. > > I assume 'ifconfig lmc0 up' is all I need to do to bring the interface up >