Re: IPv6 raw socket to send original udp
On Tue, 16 May 2006, JINMEI Tatuya / [ISO-2022-JP] ¿ÀÌÀãºÈ wrote: So, if a program needs to specify an arbitrary source IPv6 address for outgoing packets, it should use other "packet injection" interface such as BPF. One problem with using BPF for packet injection in IPv4 is that it requires the sender to provide the link layer encapsulation, make the routing decision, and perform any address resolution. Using raw sockets with the full header option allows the sender to generate a datagram from an arbitrary source yet not perform those routing and link layer activities, which require more intimate knowledge of the link type. It might be desirable to add a socket option to allow the specification of the source address in order to allow packet replay tools, etc, to work without link layer knowledge. Robert N M Watson___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /31 on 2 interfaces
I'm need a point-to-point link between 2 servers with just a crossover cable between the servers. - Original Message - From: "fooler" <[EMAIL PROTECTED]> To: "Kim Shrier" <[EMAIL PROTECTED]>; "Unix-Solutions - Steven" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, May 17, 2006 5:49 AM Subject: Re: /31 on 2 interfaces - Original Message - From: "Kim Shrier" <[EMAIL PROTECTED]> To: "Unix-Solutions - Steven" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, May 17, 2006 9:20 AM Subject: Re: /31 on 2 interfaces A /31 is not a point-to-point link. see RFC 3021 A /31 is a network with nothing but a loopback and broadcast address. not a loopback address but a network address (all zeros bit) and a broadcast address (all ones bit) fooler. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /31 on 2 interfaces
Unix-Solutions - Steven <[EMAIL PROTECTED]> wrote: > I'm need a point-to-point link between 2 servers > with just a crossover cable between the servers. That's not a point-to-point link. It's a broadcast network that happens to have only two nodes. Just make your addresses /30 instead of /31. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "In My Egoistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disable kernel driver at boot?
sfp <[EMAIL PROTECTED]> wrote: > I'd still like to find a way to suppress the driver in the kernel entirely > though :P As I said, that's simple: Remove the driver from your kernel configuration, then recompile the kernel. Easy. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
More 'resource' problems with "ath0"
The problems are occurring even with a very recently built kernel: %cat /etc/motd FreeBSD 6.1-STABLE (GENERIC) #0: Tue May 16 15:55:19 PDT 2006 May 17 07:53:22 ns dhcpd: send_packet: No buffer space available May 17 07:53:25 ns dhcpd: send_packet: No buffer space available May 17 07:53:35 ns named[382]: client 66.80.62.46#1026: error sending response: not enough free resources Note that client 66.80.62.46 is on "ath0". %netstat -m 188/337/525 mbufs in use (current/cache/total) 109/205/314/10688 mbuf clusters in use (current/cache/total/max) 109/147 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 265K/494K/759K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/87/2928 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 1904 requests for I/O initiated by sendfile 246 calls to protocol drain routines Any ideas? Has anyone else run into this problem? Is there anything else I can run (other than "netstat -m") to help diagnose this problem? Ross. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cluster solution
Hi, I need help in designing of cluster solution based on FreeBSD. I tried carp for switching IP addresses, it seems to work ok. The solution is suitable for DNS, MTA, static web pages, web proxy and reverse proxy. I didn't find anything quite suitable for dynamic web pages with PHP and MySQL backend. I found just master and slave replication and clustering in MySQL. There could be problem if master fails with automatic promotion of slave to master and with the resynchronization of database after recovery of master database. Has anybody any experience with described setup. Howtos, pointers, links about configuration and software solutions are very appreciated. Thanks in advance. Regards, lk ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [PATCH] Re: IP_MAX_MEMBERSHIPS story.
Bruce M Simpson wrote: On Sun, May 14, 2006 at 03:00:44PM +0100, Bruce M Simpson wrote: So I will be updating the patch in the next 24 hours. Given that it seems stable for values 2047 <= n <= 4095 with SOCK_DGRAM I am inclined to commit with the maximum raised to 4095 and lazy allocation in place. Committed on HEAD with some fixups, after regression testing on an SMP (dual i386) machine. The default number of multicast groups per socket available is now 31, with a final maximum of 4095. The structures are lazy-allocated. Sockets which do not use IPv4 multicast need not waste memory. Thanks, BMS ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hi Bruce, I've been running the patch since Monday and all appears well - I have 100 vpn/gre tunnels with ospf running accross all the tunnels and I see all my neighbors. Great work - FreeBSD people ROCK! Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nd6_lookup prints bogus messages with point to point devices
> On Mon, 8 May 2006 08:58:41 +0200, > Ed Schouten <[EMAIL PROTECTED]> said: > I'm seeing the messages on the machine in Eindhoven (running RELENG_6 > from a few days/weeks ago), but they also show up on my HEAD machine at > home. Below is the output of `ifconfig gif0` on my machine at home: > | gif0: flags=8051 mtu 1280 > | tunnel inet 83.181.147.170 --> 193.109.122.244 > | inet6 fe80::202:a5ff:fe58:4927%gif0 prefixlen 64 scopeid 0x7 > | inet6 2001:7b8:310::1 --> 2001:7b8:2ff:a4::1 prefixlen 128 > As far as I know, the latest FreeBSD releases show an error message when > assigning an address with a non-128 prefixlen. Sorry for not responding sooner, but I think I've figured out the problem. I'm now testing a local patch to this problem, and will report the details once I confirm the behavior. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. [EMAIL PROTECTED] ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cluster solution
You'd need to be more specific particularly with how much money you want to spend. HA Clusters are expensive to build. -Derek At 10:18 AM 5/17/2006, Ludovit Koren wrote: Hi, I need help in designing of cluster solution based on FreeBSD. I tried carp for switching IP addresses, it seems to work ok. The solution is suitable for DNS, MTA, static web pages, web proxy and reverse proxy. I didn't find anything quite suitable for dynamic web pages with PHP and MySQL backend. I found just master and slave replication and clustering in MySQL. There could be problem if master fails with automatic promotion of slave to master and with the resynchronization of database after recovery of master database. Has anybody any experience with described setup. Howtos, pointers, links about configuration and software solutions are very appreciated. Thanks in advance. Regards, lk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cluster solution
Take a look at port net/freevrrpd. http://redundancy.redundancy.org/fbsd_lb.html http://www.freebsd.org.hk/html/sgcluster/ http://pf4freebsd.love2party.net/carp.html http://blizzard.rwic.und.edu/~nordlie/miniwulf/ It uses MPICH and LAM/MPI Have a look at HUT (High Uptime Project) : http://www.bsdshell.net and http://www.aims.com.au/chris/cluster/ and http://sporner.dyndns.org/freebsdcluster/ (sometimes down ;)) http://nrez.net/~rmger/fbsdcluster/cluster-doc.html http://acme.ecn.purdue.edu/ http://www.leidinger.net/cgi-bin/search.pl?q=cluster&num=10 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Derek Ragona Sent: Wednesday, May 17, 2006 12:23 PM To: Ludovit Koren; freebsd-questions@freebsd.org Cc: freebsd-net@freebsd.org Subject: Re: Cluster solution You'd need to be more specific particularly with how much money you want to spend. HA Clusters are expensive to build. -Derek At 10:18 AM 5/17/2006, Ludovit Koren wrote: >Hi, > >I need help in designing of cluster solution based on FreeBSD. I tried >carp for switching IP addresses, it seems to work ok. The solution is >suitable for DNS, MTA, static web pages, web proxy and reverse proxy. > >I didn't find anything quite suitable for dynamic web pages with PHP >and MySQL backend. I found just master and slave replication and >clustering in MySQL. There could be problem if master fails with >automatic promotion of slave to master and with the resynchronization >of database after recovery of master database. > >Has anybody any experience with described setup. Howtos, pointers, >links about configuration and software solutions are very appreciated. > >Thanks in advance. > >Regards, > >lk >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disable kernel driver at boot?
sfp wrote this message on Tue, May 16, 2006 at 22:22 -0600: > From: "Oliver Fromme" <[EMAIL PROTECTED]> > > > sfp <[EMAIL PROTECTED]> wrote: > > > Is it possible to disable a driver compiled into a 4.10 kernel at > > > boot time by feeding a (set?) command to the loader? > > > > > > In this case I want to turf the EM(4) driver that was compiled into > > > the kernel I've inherited and substitute it with a new if_em.ko using > > > kldload. > > > > That's not possible. You might disable a driver through > > loader variables (or kernel hints, or whatever), but the > > driver will still be present in the kernel image, so you > > cannot load a module that uses the same symbols. > > I may have answered my own question. Compiled em-4.1.6, replaced if_em.ko > & loaded it from /boot/loader.conf. > > The reason I need this is 4.10 enumerates the Pro/1000 GT (PWLA8391GT, > 82541PI chipset) as unknown. Need a newer driver to support the hardware. > > I'd still like to find a way to suppress the driver in the kernel entirely > though :P Since the kernel driver it's attaching, you could always rename the em module that you compile... just a few things to change, and you have a different name, and no conflicts w/ the kernel... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: Cluster solution
> You'd need to be more specific particularly with how much money you want to > spend. HA Clusters are expensive to build. The question was about FreeBSD. Do you know any HA solutions working with it? My company would be glad to spend quite a lot if there were one. Don't top-post, please. > > -Derek > > At 10:18 AM 5/17/2006, Ludovit Koren wrote: > > > >Hi, > > > >I need help in designing of cluster solution based on FreeBSD. I tried > >carp for switching IP addresses, it seems to work ok. The solution is > >suitable for DNS, MTA, static web pages, web proxy and reverse proxy. > > > >I didn't find anything quite suitable for dynamic web pages with PHP > >and MySQL backend. I found just master and slave replication and > >clustering in MySQL. There could be problem if master fails with > >automatic promotion of slave to master and with the resynchronization > >of database after recovery of master database. We've built a setup for dynamic pages on CARP and mod_backhand (apache module). It doesn't scale to more than 50 application servers though. The shared storage is a big problem. All the well-known (?) SAN filesystems doesn't work on FreeBSD. We're testing FreeBSD NFS client for stability (see my thread on this list); NFS server doesn't seem to be ready for production use. We're going to purchase a clustered NetApp solution (now testing on Solaris as NFS server). You can apply a "circle" replication using standard MySQL features. This method is used in livejournal and officially admitted by MySQL AB; it doesn't provide scalability though. We're trying to make 2 "master + multiple slaves" hierarhies; the solution is not ready yet. If PostgreSQL is an option in your project it provides a better idea (see pgcluster). > > > >Has anybody any experience with described setup. Howtos, pointers, > >links about configuration and software solutions are very appreciated. > > > >Thanks in advance. > > > >Regards, > > > >lk > >___ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > >-- > >This message has been scanned for viruses and > >dangerous content by MailScanner, and is > >believed to be clean. > >MailScanner thanks transtec Computers for their support. > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > ___ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /31 on 2 interfaces
No love with a /31 mask & default bcast addr. Perhaps ARP reqs are failing to the subnet bcast address, didn't check. To fix, specify an all ones broadcast. Tested this against 6.0-Release & a Juniper box that was handy. As always, YMMV. Oliver has a point though, why not just use a /30 & save yourself the grief? ifconfig vlan20 10.10.20.2 netmask 255.255.255.254 broadcast 255.255.255.255 [EMAIL PROTECTED] itest1]# ifconfig vlan20 vlan20: flags=8843 mtu 1500 inet6 fe80::210:4bff:fe14:bc03%vlan20 prefixlen 64 scopeid 0x11 inet 10.10.20.2 netmask 0xfffe broadcast 255.255.255.255 ether 00:02:b3:ab:66:3c media: Ethernet 100baseTX status: active vlan: 20 parent interface: em1 set interfaces fxp1 unit 0 family inet address 10.10.20.3/31 broadcast 255.255.255.255 [EMAIL PROTECTED]> show interfaces fxp1.0 extensive Logical interface fxp1.0 (Index 66) (SNMP ifIndex 14) (Generation 3) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500, Generation: 9, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.10.20.2/31, Local: 10.10.20.3, Broadcast: Unspecified, Generation: 23 [EMAIL PROTECTED] itest1]# ping -qnc2 10.10.20.3 PING 10.10.20.3 (10.10.20.3): 56 data bytes --- 10.10.20.3 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.369/0.439/0.508/0.070 ms [EMAIL PROTECTED]> ping 10.10.20.2 count 2 PING 10.10.20.2 (10.10.20.2): 56 data bytes 64 bytes from 10.10.20.2: icmp_seq=0 ttl=64 time=0.407 ms 64 bytes from 10.10.20.2: icmp_seq=1 ttl=64 time=0.412 ms --- 10.10.20.2 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.407/0.409/0.412/0.002 ms [EMAIL PROTECTED]> monitor traffic interface fxp1 extensive Listening on fxp1, capture size 96 bytes 19:31:39.559772 In 0:2:b3:ab:66:3c > 0:2:b3:9:57:dd, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 6478, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.2 > 10.10.20.3: ICMP echo request seq 0, length 64 19:31:39.559865 Out 0:2:b3:9:57:dd > 0:2:b3:ab:66:3c, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 39612, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.3 > 10.10.20.2: ICMP echo reply seq 0, length 64 19:31:40.561499 In 0:2:b3:ab:66:3c > 0:2:b3:9:57:dd, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 6482, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.2 > 10.10.20.3: ICMP echo request seq 1, length 64 19:31:40.561579 Out 0:2:b3:9:57:dd > 0:2:b3:ab:66:3c, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 39615, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.3 > 10.10.20.2: ICMP echo reply seq 1, length 64 ^C 4 packets received by filter 0 packets dropped by kernel Quoting Unix-Solutions - Steven <[EMAIL PROTECTED]>: > I'm need a point-to-point link between 2 servers > with just a crossover cable between the servers. > > - Original Message - > From: "fooler" <[EMAIL PROTECTED]> > To: "Kim Shrier" <[EMAIL PROTECTED]>; "Unix-Solutions - Steven" > <[EMAIL PROTECTED]> > Cc: > Sent: Wednesday, May 17, 2006 5:49 AM > Subject: Re: /31 on 2 interfaces > > > > - Original Message - > > From: "Kim Shrier" <[EMAIL PROTECTED]> > > To: "Unix-Solutions - Steven" <[EMAIL PROTECTED]> > > Cc: > > Sent: Wednesday, May 17, 2006 9:20 AM > > Subject: Re: /31 on 2 interfaces > > > > > >>A /31 is not a point-to-point link. > > > > see RFC 3021 > > > >> A /31 is a network with nothing but a loopback and broadcast address. > > > > not a loopback address but a network address (all zeros bit) and a > > broadcast address (all ones bit) > > > > fooler. > > > > ___ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > ___ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disable kernel driver at boot?
> As I said, that's simple: Remove the driver from your > kernel configuration, then recompile the kernel. Easy. True. That should have read, suppress from the loader. And apologies for top posting on the /31 thread. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /31 on 2 interfaces
- Original Message - From: "Unix-Solutions - Steven" <[EMAIL PROTECTED]> To: "fooler" <[EMAIL PROTECTED]>; "Kim Shrier" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, May 17, 2006 7:33 PM Subject: Re: /31 on 2 interfaces I'm need a point-to-point link between 2 servers with just a crossover cable between the servers. unfortunately freebsd is not rfc 3021 compliant... you have to settle for /30 for your point-to-point link... fooler. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"