From owner-freebsd-test Tue Jan 16 13:18:27 2001 Delivered-To: freebsd-test@freebsd.org Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.161.193]) by hub.freebsd.org (Postfix) with ESMTP id 078BC37B401 for ; Tue, 16 Jan 2001 13:18:11 -0800 (PST) Received: from mail.vt.edu (gkar.cc.vt.edu [198.82.161.190]) by lennier.cc.vt.edu (8.11.0/8.11.0) with ESMTP id f0GLIAv186735 for ; Tue, 16 Jan 2001 16:18:10 -0500 (EST) Received: from enterprise.muriel.penguinpowered.com ([198.82.100.151]) by gkar.cc.vt.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0G79002WAXU791@gkar.cc.vt.edu> for freebsd-test@freebsd.org; Tue, 16 Jan 2001 16:18:07 -0500 (EST) Date: Tue, 16 Jan 2001 16:18:07 -0500 (EST) From: Mike Heffner Subject: another test To: freebsd-test@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: XFMail 1.4.6-3 on FreeBSD Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 8bit X-Priority: 3 (Normal) Sender: owner-freebsd-test@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG another test -- Mike Heffner Blacksburg, VA ICQ# 882073 http://my.ispchannel.com/~mheffner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-test" in the body of the message From owner-freebsd-test Wed Jan 17 0: 8:35 2001 Delivered-To: freebsd-test@freebsd.org Received: from mail.simplexi.com (unknown [203.231.63.2]) by hub.freebsd.org (Postfix) with ESMTP id 48C3937B401 for ; Wed, 17 Jan 2001 00:08:15 -0800 (PST) Received: from chulwon (cwmin [203.231.63.178]) by mail.simplexi.com (8.9.3/8.9.3) with SMTP id RAA13780 for ; Wed, 17 Jan 2001 17:08:47 +0900 Message-ID: <001301c0805c$4bd0de20$b23fe7cb@chulwon> From: "¹Îö¿ø" To: Subject: test Date: Wed, 17 Jan 2001 17:05:46 +0900 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-test@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am setting up a LVS/DR cluster with 2 nodes(FreeBSD), but It doesn't work. Here is my network configuration; Internet (203.231.63.70 is Virtual IP) | | Router (203.231.63.0/24 network) | | <----- eth0 : 203.231.63.74 LVS(Linux) | <----- eth1 : 203.231.63.70 (VIP) | ------------------ | | SVR1 SVR2 <-- Real Servers are FreeBSD 4.2-RELEASE fxp0 : 203.231.63.70 203.231.63.70 (VIP) fxp1 : 203.231.63.71 203.231.63.72 (Real IP) ----] in Load Valancing Server(203.231.63.74); [root@ha1 log]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:5A:80:D7:FF inet addr:203.231.63.74 Bcast:203.231.63.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth1 Link encap:Ethernet HWaddr 00:10:5A:76:02:49 inet addr:203.231.63.70 Bcast:203.231.63.70 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 [root@LVS /]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 203.231.63.70 0.0.0.0 255.255.255.255 UH 0 0 0 eth1 203.231.63.74 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 203.231.63.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 203.231.63.254 0.0.0.0 UG 0 0 0 eth0 [root@LVS /]# sysctl -p net.ipv4.ip_forward = 1 net.ipv4.conf.all.rp_filter = 1 net.ipv4.ip_always_defrag = 0 kernel.sysrq = 0 [root@LVS /]# vi /etc/ha.d/conf/ldirectord.cf timeout=3 checkinterval=5 autoreload=no fallback=127.0.0.1:80 virtual=203.231.63.70:80 real=203.231.63.71:80 gate 1 real=203.231.63.72:80 gate 1 service=http request="index.html" receive="Test Page" scheduler=rr protocol=tcp ----] in Real Server(231.63.71,72); SVR1# ifconfig -a fxp0: flags=8843 mtu 1500 inet 203.231.63.70 netmask 0xffffffff broadcast 203.231.63.70 fxp1: flags=8843 mtu 1500 inet 203.231.63.72 netmask 0xffffff00 broadcast 203.231.63.255 SVR2 in the same way.. ******* Problem: 1. LVS dosen't forward http request packet to the real server.. 2. I don't know how FreeBSD(real server) can avoid arp request.. About first problem: Client try to connect 203.231.63.70:80, but LVS doesn't reply to that SYN packet.. There are 2 things that seems odd.. First, When I start up ldirectord, output is like this.. [root@LVS /]# /etc/rc.d/init.d/ldirectord start Starting ldirectord [ OK ] [root@LVS /]# vi /var/log/ldirectord.log ...... [Tue Jan 16 13:47:48 2001..] Starting Linux Director Daemon [Tue Jan 16 13:47:48 2001..] Adding virtual server: 203.231.63.70:80 [Tue Jan 16 13:47:48 2001..] Starting fallback server for: 203.231.63.70:80 [Tue Jan 16 13:47:49 2001..] Adding real server: 203.231.63.71:80 (1*203.231.63.70:80) [Tue Jan 16 13:47:49 2001..] Turning off fallback server for: 203.231.63.70:80 [Tue Jan 16 13:47:49 2001..] system(/sbin/ipvsadm -a -t 203.231.63.70:80 -R 203.231.63.72:80 -g -w 1) failed [Tue Jan 16 13:47:49 2001..] Adding real server: 203.231.63.72:80 (2*203.231.63.70:80) ...... system(/sbin/ipvsadm -a -t 203.231.63.70:80 -R 203.231.63.72:80 -g -w 1) failed **Why this error occured?? What should I do to eliminate this error message?? Second, Here's my ipvsadm output: [root@LVS /]# ipvsadm -L -n IP Virtual Server version 0.9.7 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 203.231.63.70:www rr -> 255.255.255.255:52199 Masq 4194304 0 0 Last output line seems wrong,, I think It should look like this.. right? TCP 203.231.63.70:www rr -> 203.231.63.71:80 route 1 0 0 -> 203.231.63.72:80 route 1 0 0 **How can I fix this thing?? Second problem: As you know.. in LVS cluster, real servers should not reply to arp request that asks VIP's MAC address.. Only LVS should reply to that arp request.. I have an idea about it.. Let the real server reply to client's arp request(for VIP) with LVS's hardware address.. then all client's packet that towards VIP go to the LVS.. That's a good idea.. so I commanded like this.. arp -s 203.231.63.70 00:10:5A:76:02:49 pub 203.231.63.70 is VIP and 00:10:5A:76:02:49 is LVS's MAC address.. I got a meessage : set: proxy entry exists for non 802 device without 'pub' flag : set: can only proxy for 203.231.63.70 ***What is this message means?? ***ARP reply with another MAC address is impossible?? ***How can I solve this arp problem?? Thanks in advance.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-test" in the body of the message From owner-freebsd-test Fri Jan 19 10:33:43 2001 Delivered-To: freebsd-test@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.prod.itd.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id 7E40F37B698 for ; Fri, 19 Jan 2001 10:33:27 -0800 (PST) Received: from stanfordalumni.org (1Cust171.tnt15.tco2.da.uu.net [63.38.134.171]) by harrier.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA11114; Fri, 19 Jan 2001 10:33:13 -0800 (PST) Message-Id: <200101191833.KAA11114@harrier.prod.itd.earthlink.net> From: Don Tyson To: tyson@alumni.stanford.org Cc: tysondr@earthlink.net, freebsd-test@freebsd.org Subject: testing new mts.conf Date: Fri, 19 Jan 2001 13:32:36 -0500 Sender: owner-freebsd-test@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG testing "draft_from:" value To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-test" in the body of the message From owner-freebsd-test Fri Jan 19 10:36:53 2001 Delivered-To: freebsd-test@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.prod.itd.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id A75A637B402 for ; Fri, 19 Jan 2001 10:36:37 -0800 (PST) Received: from stanfordalumni.org (1Cust171.tnt15.tco2.da.uu.net [63.38.134.171]) by harrier.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA24335; Fri, 19 Jan 2001 10:36:36 -0800 (PST) Message-Id: <200101191836.KAA24335@harrier.prod.itd.earthlink.net> To: freebsd-test@freebsd.org Cc: tysondr@earthlink.net Subject: mts.conf Date: Fri, 19 Jan 2001 13:36:35 -0500 From: Don Tyson Sender: owner-freebsd-test@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG masquerade "draft_from" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-test" in the body of the message From owner-freebsd-test Fri Jan 19 11:10:12 2001 Delivered-To: freebsd-test@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.prod.itd.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 54B6537B400 for ; Fri, 19 Jan 2001 11:09:55 -0800 (PST) Received: from stanfordalumni.org (1Cust171.tnt15.tco2.da.uu.net [63.38.134.171]) by albatross.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA28436; Fri, 19 Jan 2001 11:09:52 -0800 (PST) Message-Id: <200101191909.LAA28436@albatross.prod.itd.earthlink.net> From: Don Tyson Reply-To: tyson@stanfordalumni.org To: tyson@alumni.stanford.org, tyson@stanfordalumni.org Cc: tysondr@earthlink.net, freebsd-test@freebsd.org Subject: mts.conf @ 2:10PM Date: Fri, 19 Jan 2001 14:09:51 -0500 Sender: owner-freebsd-test@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG masquerade:"draft_from" "mmailid" "username_extension" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-test" in the body of the message From owner-freebsd-test Fri Jan 19 16: 0:21 2001 Delivered-To: freebsd-test@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.prod.itd.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id F13DD37B400 for ; Fri, 19 Jan 2001 16:00:04 -0800 (PST) Received: from stanfordalumni.org (2Cust114.tnt10.tco2.da.uu.net [63.39.90.114]) by avocet.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id QAA09236; Fri, 19 Jan 2001 16:00:02 -0800 (PST) Message-Id: <200101200000.QAA09236@avocet.prod.itd.earthlink.net> From: Don Tyson To: tysondr@earthlink.net Cc: freebsd-test@freebsd.org Subject: testing new replcomps Date: Fri, 19 Jan 2001 19:00:00 -0500 Sender: owner-freebsd-test@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG %(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\ %(void(width))%(putaddr To: ) %(void(width))%(putaddr From: Don Tyson \ ) %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ %(formataddr{resent-to})%(formataddr{resent-cc})\ %<(nonnull)%(void(width))%(putaddr cc: )\n%>\ cc: Fcc: chrons %<{fcc}%{fcc}%> Subject: %<{subject}Re: %{subject}%> %<{message-id}In-reply-to: %{message-id}\n%>\ %<{message-id}References: \ %<{references}%(void{references})%(trim)%(putstr) %>\ %(void{message-id})%(trim)%(putstr)\n%>\ Comments: In-reply-to \ %<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\ %(trim)%(putstr)\n\ message dated "%<(nodate{date})%{date}%|%(tws{date})%>." -------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-test" in the body of the message