cisco 2509 to FreeBSD PPP

2001-10-10 Thread Radoslav Vasilev
Hello, Recently I got the chance of playing with Cisco 2509 access server. The bad thing is it has only 1 Ethernet port, so if I want to play with routing..etc I need establishing connection through some other port, the AUX for example. I was told I could try connecting AUX on cisco with null

Re: Trying to find out which interface an IP packet is coming from inip_output() routine

2001-10-10 Thread Archie Cobbs
John Polstra writes: > >Can anybody help me find a way to find out which interface an IP > > packet is coming from in ip_output()/ip_input() routine? > > The mb->m_pkthdr.rcvif field of the mbuf points to the interface on > which the packet was received. ...if any. In ip_input(), mb->m_pkthd

[no subject]

2001-10-10 Thread [EMAIL PROTECTED]
but *not* connected to Internet (yet) I am intending to mount a ipsec or vtun vpn, but in a practical sense, I am intending to emulate the internet at home, instead to real connections to the internet, as the real conn will be far away (1,400 km apart) from the other. I am speculating in somethi

Re: VLAN speed

2001-10-10 Thread Garrett Wollman
< said: > On Tue, Oct 09, 2001 at 10:19:09PM -0700, Bill Fenner wrote: >> (ifSpeed says "For a sub-layer which has no concept of bandwidth, this >> object should be zero." I'd argue that this describes VLAN interfaces.) > not that the vendor is always right or anything, but at least one > imple

Re: VLAN speed

2001-10-10 Thread Bill Fumerola
On Tue, Oct 09, 2001 at 10:19:09PM -0700, Bill Fenner wrote: > (ifSpeed says "For a sub-layer which has no concept of bandwidth, this > object should be zero." I'd argue that this describes VLAN interfaces.) not that the vendor is always right or anything, but at least one implementation (junip

Re: VLAN speed

2001-10-10 Thread Daniel C. Sobral
Bill Fenner wrote: >>Why does vlans announce themselves as being 10 Mbits/s? I'm getting this >> >>from snmp on vlans that are attached to 100 Mbits/s cards. > > I know that real experts can communicate in very few words, but I'd appreciate a few more words. :-) Zero is a bit too little for

Re: Connect(2) problem

2001-10-10 Thread Mike Silbersack
On Wed, 10 Oct 2001, Nguyen-Tuong Long Le wrote: > Hello Alex, > > Thanks very much for your reply! > > Just our of curiosity, what is the use of > net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast ? > > Thanks, > Long hifirst and hilast represent the range of ports that we should

Re: Connect(2) problem

2001-10-10 Thread Alex Rousskov
On Wed, 10 Oct 2001, Nguyen-Tuong Long Le wrote: > Just our of curiosity, what is the use of > net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast ? Even FreeBSD gurus/committers are unsure :-) http://people.freebsd.org/~adrian/sysctl.descriptions The answer is in "man ip".

Re: Connect(2) problem

2001-10-10 Thread Nguyen-Tuong Long Le
Hello Alex, Thanks very much for your reply! Just our of curiosity, what is the use of net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast ? Thanks, Long On Tue, 9 Oct 2001, Alex Rousskov wrote: > > Are you running out of ephemeral ports? See net.inet.ip.portrange > sysctl or do yo

Re: Getting link level addr using SIOCGIFADDR

2001-10-10 Thread Ruslan Ermilov
On Wed, Oct 10, 2001 at 11:40:39PM +0900, Kim Kyung-hwan wrote: > Hello, > > In most case of printing (ethernet) link level address, > program does a SIOCGIFCONF ioctl, gets a ifconf structure(the whole > interface list), finds the very interface and prints the address. > What I want to is to us

Re: Trying to find out which interface an IP packet is coming from in ip_output() routine

2001-10-10 Thread John Polstra
In article <[EMAIL PROTECTED]>, Aihua Guo <[EMAIL PROTECTED]> wrote: >Can anybody help me find a way to find out which interface an IP > packet is coming from in ip_output()/ip_input() routine? The mb->m_pkthdr.rcvif field of the mbuf points to the interface on which the packet was received.

Trying to find out which interface an IP packet is coming from in ip_output() routine

2001-10-10 Thread Aihua Guo
Hi,       Can anybody help me find a way to find out which interface an IP packet is coming from in ip_output()/ip_input() routine?  You help is greatly appreciated. Thks a lot!    Aihua Guo

Re: Connect(2) problem

2001-10-10 Thread John Polstra
In article <[EMAIL PROTECTED]>, Nguyen-Tuong Long Le <[EMAIL PROTECTED]> wrote: > > I have a software that simulates web clients and servers to create > network congestion (for the purpose of doing research in network > congestion). In our experiment, a client opens an HTTP connection > to a ser

Re: Some thoughts on if_ioctl()

2001-10-10 Thread Yar Tikhiy
On Mon, Oct 08, 2001 at 02:53:32PM -0400, Garrett Wollman wrote: > < said: > > > Second, let's look at the handling of SIOCADDMULTI/SIOCDELMULTI. > > There is code obviously taken from if_loop.c and used in some > > drivers, which tries to do something with the third argument "data" > > of the if

Getting link level addr using SIOCGIFADDR

2001-10-10 Thread Kim Kyung-hwan
Hello, In most case of printing (ethernet) link level address, program does a SIOCGIFCONF ioctl, gets a ifconf structure(the whole interface list), finds the very interface and prints the address. What I want to is to use SIOCGIFADDR so that program finds the address. My program does 1) get a

Link re-negotiation on tl0 after Cisco 35xx reboot

2001-10-10 Thread Milon Papezik
Hi all, I just came accross and interesting problem - with autnegotiation (re-negotiation?). I have Compaq 1850R with 'tl' interface (FreeBSD 4.4R) and Sun Netra connected to Cisco switch 35xx. I use link auto-negotiation on both sides for both hosts. Ater reset of Cisco switch and also after po

Re: kern/31130: ipfw tee functionality causes malfunction and security hole

2001-10-10 Thread Crist J. Clark
On Tue, Oct 09, 2001 at 02:20:02AM -0700, Crist J. Clark wrote: [snip] > On the wire and the packets never get routed to the "real" 172.16.0.1. > Trying to figure out if, > >a) This is the expected behavior, but is poorly documented, or >b) Something is broken. > > I'm thinking (b