Re: nd6_rtrequest: bad gateway value: stf0

2002-02-16 Thread Ross Finlayson
Following up on my own question... I took at look at the code (/usr/src/sys/netinet6/nd6.c line 1185) where this message is printed. From what I can tell, the message is being printed only because the interface (stf0) is an "AF_INET6" rather than a "AF_LINK". It's not clear to me whether the

Re: getifaddrs usage (bug?)

2002-02-16 Thread Alfred Perlstein
* Nuno Miguel Fernandes Sucena Almeida <[EMAIL PROTECTED]> [020216 20:29] wrote: > Hello, > i'm using getifaddrs to get the IP and HW address of an ethernet > interface but it seems that the ifap->ifa_next pointer is never NULL so I > end up with an infinite loop! If i uncomment the // print

Re: MAC Layer of TCP/IP stack

2002-02-16 Thread Jason Hunt
If you mean that you would like to change the MAC address that the card has programmed into it, then yes you can change it, but not perminatly. The MAC address is hard-coded into the card, and is restored on a reboot if you change it. You can configure the machine to use a MAC address that you sp

getifaddrs usage (bug?)

2002-02-16 Thread Nuno Miguel Fernandes Sucena Almeida
Hello, i'm using getifaddrs to get the IP and HW address of an ethernet interface but it seems that the ifap->ifa_next pointer is never NULL so I end up with an infinite loop! If i uncomment the // printf's I get the HW address correctly but after that I get the IP address repeated ad eter

Ethernet bonding/load balancing on fbsd 4-stable

2002-02-16 Thread Zviratko
Hi, is there a preferred way to do ethernet load balancing? My situation is - 2 cable modems connected to two ethernet cards on with a machine functioning as a NAT gateway for LAN. I tried netgraph (ng_ether with round robin and ng_fec). With ng_ether, I achieved packets being sent via one interfa

Re: IPv6-over-IPv4 problems since the upgrade to 4.5

2002-02-16 Thread Edwin Groothuis
On Sat, Feb 16, 2002 at 01:08:42PM +0100, Miguel Mendez wrote: > On Fri, Feb 15, 2002 at 05:14:31PM -0700, DOROVSKOY,IGOR (A-Portsmouth,ex1) wrote: > I recently installed the freenet6 port to test IPv6 and have been > experiencing similar problems, I can ping6 any host but my ftp > connections sta

dual NAT setup; physical layer question

2002-02-16 Thread TOPCAT CONSULTING
I have been assigned two static Class B IP addresses from my ISP, but I only have a single physical cable coming in. I would like to build 2 independent firewalled networks. I'm very inexperienced in NAT and would appreciate comments/suggestions/alternatives on how I have envisioned this to work.

nd6_rtrequest: bad gateway value: stf0

2002-02-16 Thread Ross Finlayson
I have tried to configure my system (FreeBSD 4.5-STABLE) for 6to4, using the "stf" interface, but am getting the error message "nd6_rtrequest: bad gateway value: stf0" in my log, whenever I try to 'ping6' a remote IPv6 address. My kernel configuration contains: options INET6

Re: kernel source for reading from divert sockets

2002-02-16 Thread Crist J. Clark
On Fri, Feb 15, 2002 at 03:29:04PM -, Tariq Rashid wrote: > > can anyone point me to the kernel source where packets are taken from the > DIVERT socket (natd puts them there) - > > i'm finding that sendto() is taking most of the CPU - so i want to have a > look at maybe taking two or three p