From owner-freebsd-isp@FreeBSD.ORG Mon Nov 7 06:33:30 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9219C16A41F; Mon, 7 Nov 2005 06:33:30 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6262C43D60; Mon, 7 Nov 2005 06:33:25 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.53 (FreeBSD)) id 1EZ0cj-0006wR-K7; Mon, 07 Nov 2005 14:36:57 +0800 Message-Id: <6.2.1.2.2.20051107141043.03b34eb0@202.179.0.80> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Mon, 07 Nov 2005 14:28:21 +0800 To: freebsd-net@freebsd.org From: Ganbold Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-isp@freebsd.org Subject: pppoed vs mpd, sample config for mpd X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 06:33:30 -0000 Hi, Sorry for cross posting. I'm trying to configure PPPoE server in FreeBSD 5.x/6.0. I configured pppoed and everything seems to be working fine. I also found out that mpd can be configured as a pppoe server. However I couldn't find sample mpd configurations for PPPoe server. Can somebody share some simple mpd pppoe server configurations? It would be great if there are some links regarding mpd pppoe server configurations. Another question is, what is the difference between pppoed and mpd? Which one should I choose? What are the best practices around? Basically I would like to have PPPoE server for allowing connections from ADSL users. There are 25-500 ADSL customers. thanks in advance, Ganbold From owner-freebsd-isp@FreeBSD.ORG Mon Nov 7 17:08:32 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F3B616A420 for ; Mon, 7 Nov 2005 17:08:32 +0000 (GMT) (envelope-from leross88@iodis7.com) Received: from iodis7.com (iodis7.com [161.58.245.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B63643D66 for ; Mon, 7 Nov 2005 17:08:31 +0000 (GMT) (envelope-from leross88@iodis7.com) Received: (from leross88@localhost) by iodis7.com (8.12.11/8.12.10) id jA7H8V4n023115; Mon, 7 Nov 2005 12:08:31 -0500 (EST) Date: Mon, 7 Nov 2005 12:08:31 -0500 (EST) Message-Id: <200511071708.jA7H8V4n023115@iodis7.com> To: freebsd-isp@freebsd.org X-Request-Originator: freebsd-isp@freebsd.org X-Info1: ***************************************************************** X-Info2: This message was generated as an autoresponse to a mail request. X-Info3: Please report abuse of this autoresponder promptly to the site X-Info4: hostmaster. X-Info5: ***************************************************************** From: auto-reply@thehomeshabang.com Subject: Thank you for contacting me! X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: auto-reply@thehomeshabang.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 17:08:32 -0000 Thank you for taking the time and interest in contacting me. I received your email and will contact you shortly with the information you have requested. From owner-freebsd-isp@FreeBSD.ORG Tue Nov 8 00:00:25 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14C3716A422 for ; Tue, 8 Nov 2005 00:00:25 +0000 (GMT) (envelope-from dungkaitai@hk-cse.dyxnet.com) Received: from hk-cse.dyxnet.com (ip-35-14-104-152.rev.dyxnet.com [152.104.14.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CC8A43D48 for ; Tue, 8 Nov 2005 00:00:23 +0000 (GMT) (envelope-from dungkaitai@hk-cse.dyxnet.com) Received: from hk-cse.dyxnet.com (test [127.0.0.1]) by hk-cse.dyxnet.com (8.13.1/8.13.1) with ESMTP id jA7NxdAa029202 for ; Tue, 8 Nov 2005 07:59:39 +0800 From: "dungkaitai" To: freebsd-isp@freebsd.org Date: Tue, 8 Nov 2005 07:59:39 +0800 Message-Id: <20051107235736.M27385@hk-cse.dyxnet.com> X-Mailer: Open WebMail 2.51 20050228 X-OriginatingIP: 218.254.235.119 (dungkaitai) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-DYX-MailScanner-Information: Mail Scanned X-DYX-MailScanner: Found to be clean X-DYX-MailScanner-From: dungkaitai@hk-cse.dyxnet.com Subject: Backup/Secondary relay server (mailertable) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 00:00:25 -0000 Hi I wanted to know how should the backup/secondary relay server should be setup. DNS is like this: MX 10 mail.fbsd.org MX 20 backup.fbsd.org Suppose backup server use sendmail. Should I just leave mailertable empty or like this: fbsd.org smtp:[mail.fbsd.org] Thanks. -- This message has been scanned for viruses and dangerous content by MailScanner. From owner-freebsd-isp@FreeBSD.ORG Tue Nov 8 07:20:43 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEE7216A41F for ; Tue, 8 Nov 2005 07:20:43 +0000 (GMT) (envelope-from mgrundmann@de.orsn.org) Received: from gateway.hilcable.net (fxp0.gateway.hilcable.net [217.140.84.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1496043D45 for ; Tue, 8 Nov 2005 07:20:41 +0000 (GMT) (envelope-from mgrundmann@de.orsn.org) Received: from acer501 (dhcp-4-0-1-10.hilcable.net [10.1.0.4]) (authenticated (0 bits)) by gateway.hilcable.net (8.13.5/8.12.9) with ESMTP id jA87Kan7044540; Tue, 8 Nov 2005 08:20:38 +0100 (CET) (envelope-from mgrundmann@de.orsn.org) Posted-Date: Tue, 8 Nov 2005 08:20:36 +0100 (CET) Message-ID: <000401c5e435$1db75180$0400010a@hilcable.com> From: "Markus Grundmann/ORSN" To: "dungkaitai" References: <20051107235736.M27385@hk-cse.dyxnet.com> Date: Tue, 8 Nov 2005 08:22:00 +0100 Organization: Open Root Server Network MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (gateway.hilcable.net [217.140.84.76]); Tue, 08 Nov 2005 08:20:39 +0100 (CET) Cc: freebsd-isp@freebsd.org Subject: Re: Backup/Secondary relay server (mailertable) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 07:20:44 -0000 > Should I just leave mailertable empty or like this: Leave it empty. Your sendmail will deliver all pending mails to your primary MTA when it become available. Please check if your backup sendmail config (M4) was build with option "relay_based_on_MX" Regards, Markus From owner-freebsd-isp@FreeBSD.ORG Tue Nov 8 08:04:11 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED00716A41F for ; Tue, 8 Nov 2005 08:04:11 +0000 (GMT) (envelope-from dungkaitai@hk-cse.dyxnet.com) Received: from hk-cse.dyxnet.com (ip-35-14-104-152.rev.dyxnet.com [152.104.14.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1211F43D45 for ; Tue, 8 Nov 2005 08:04:09 +0000 (GMT) (envelope-from dungkaitai@hk-cse.dyxnet.com) Received: from [192.168.0.100] (ip-165-67-134-202.rev.dyxnet.com [202.134.67.165]) by hk-cse.dyxnet.com (8.13.1/8.13.1) with ESMTP id jA882ska013962; Tue, 8 Nov 2005 16:02:54 +0800 Message-ID: <43705BC2.4020404@hk-cse.dyxnet.com> Date: Tue, 08 Nov 2005 16:03:14 +0800 From: Patrick Dung User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en, zh-tw MIME-Version: 1.0 To: Markus Grundmann/ORSN References: <20051107235736.M27385@hk-cse.dyxnet.com> <000401c5e435$1db75180$0400010a@hilcable.com> In-Reply-To: <000401c5e435$1db75180$0400010a@hilcable.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DYX-MailScanner-Information: Mail Scanned X-DYX-MailScanner: Found to be clean X-DYX-MailScanner-From: dungkaitai@hk-cse.dyxnet.com Cc: freebsd-isp@freebsd.org Subject: Re: Backup/Secondary relay server (mailertable) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 08:04:12 -0000 OK. relay_based_on_MX + empty mailertable is okay for secondary server for many domains. But the case is the backup/relay sever is only for one or two domains, and when the lowest MX number server is down, it cause mail loop. Someone suggest maliertable to solve it. On 2005/11/08 15:22, Markus Grundmann/ORSN wrote: >>Should I just leave mailertable empty or like this: > > > Leave it empty. Your sendmail will deliver all pending mails to your primary > MTA when it become available. > > Please check if your backup sendmail config (M4) was build with option > "relay_based_on_MX" > > > Regards, > Markus > > > -- This message has been scanned for viruses and dangerous content by MailScanner. -- This message has been scanned for viruses and dangerous content by MailScanner. From owner-freebsd-isp@FreeBSD.ORG Tue Nov 8 12:23:57 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03F8516A41F for ; Tue, 8 Nov 2005 12:23:57 +0000 (GMT) (envelope-from discussion-lists@linnet.org) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9092C43D49 for ; Tue, 8 Nov 2005 12:23:56 +0000 (GMT) (envelope-from discussion-lists@linnet.org) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 90C50404F; Tue, 8 Nov 2005 07:24:40 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id 258E587; Tue, 8 Nov 2005 07:24:38 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EZSW0-000FMS-Pc; Tue, 08 Nov 2005 12:23:52 +0000 Date: Tue, 8 Nov 2005 12:23:52 +0000 From: Brian Candler To: dungkaitai Message-ID: <20051108122352.GB58984@uk.tiscali.com> References: <20051107235736.M27385@hk-cse.dyxnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051107235736.M27385@hk-cse.dyxnet.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-isp@freebsd.org Subject: Re: Backup/Secondary relay server (mailertable) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 12:23:57 -0000 On Tue, Nov 08, 2005 at 07:59:39AM +0800, dungkaitai wrote: > I wanted to know how should the backup/secondary relay server should be setup. (1) Install Exim. You won't regret it. # cd /usr/ports/mail/exim # make all install clean [/etc/mail/mailer.conf] sendmail /usr/local/sbin/exim send-mail /usr/local/sbin/exim mailq /usr/local/sbin/exim # /etc/rc.d/sendmail stop [/etc/rc.conf] sendmail_enable="NONE" exim_enable="YES" # /usr/local/etc/rc.d/exim.sh start (2) Edit /usr/local/etc/exim/configure, find this line, and list the domains you wish to allow backup MX for: domainlist relay_to_domains = foo.com : bar.com (3) # /usr/local/etc/rc.d/exim.sh restart (4) relax :-) Exim is the Swiss-army knife of MTAs. You can easily replace that configuration line with a database lookup (so you can act as backup MX for tens of thousands of domains), or set it to act as backup MX for anyone who lists your server in the DNS as a secondary MX: domainlist relay_to_domains = @mx_secondary See /usr/local/share/doc/exim/spec.txt for full details. Regards, Brian. From owner-freebsd-isp@FreeBSD.ORG Tue Nov 8 13:23:55 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39ACD16A41F for ; Tue, 8 Nov 2005 13:23:55 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABF8F43D45 for ; Tue, 8 Nov 2005 13:23:54 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from 217-13-2-82.dd.nextgentel.com ([217.13.2.82] helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1EZTRW-0004kw-Su; Tue, 08 Nov 2005 14:23:20 +0100 Date: Tue, 8 Nov 2005 14:23:44 +0100 From: Marcin Jessa To: Brian Candler Message-Id: <20051108142344.6ac9799a.lists@yazzy.org> In-Reply-To: <20051108122352.GB58984@uk.tiscali.com> References: <20051107235736.M27385@hk-cse.dyxnet.com> <20051108122352.GB58984@uk.tiscali.com> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.3 (GTK+ 2.6.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-isp@freebsd.org, dungkaitai@hk-cse.dyxnet.com Subject: Re: Backup/Secondary relay server (mailertable) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 13:23:55 -0000 On Tue, 8 Nov 2005 12:23:52 +0000 Brian Candler wrote: > On Tue, Nov 08, 2005 at 07:59:39AM +0800, dungkaitai wrote: > > I wanted to know how should the backup/secondary relay server > > should be setup. > > (1) Install Exim. You won't regret it. > > # cd /usr/ports/mail/exim > # make all install clean > > [/etc/mail/mailer.conf] > sendmail /usr/local/sbin/exim > send-mail /usr/local/sbin/exim > mailq /usr/local/sbin/exim > > # /etc/rc.d/sendmail stop > > [/etc/rc.conf] > sendmail_enable="NONE" > exim_enable="YES" > > # /usr/local/etc/rc.d/exim.sh start > > (2) Edit /usr/local/etc/exim/configure, find this line, and list the > domains you wish to allow backup MX for: > > domainlist relay_to_domains = foo.com : bar.com > > (3) > # /usr/local/etc/rc.d/exim.sh restart > > (4) relax :-) > > Exim is the Swiss-army knife of MTAs. You can easily replace that > configuration line with a database lookup (so you can act as backup > MX for tens of thousands of domains), or set it to act as backup MX > for anyone who lists your server in the DNS as a secondary MX: > > domainlist relay_to_domains = @mx_secondary > > See /usr/local/share/doc/exim/spec.txt for full details. I could not agree more. I run exim on FreeBSD and NetBSD and found it to be the moste flexible open source SMTP-server. Mostly thanks to it's ACL's. Here are some configs of mine: http://www.yazzy.org/configs/freebsd/exim/ Cheers Marcin. P.S For the postfix lovers: Yeah, it's an awsome workhorse too. From owner-freebsd-isp@FreeBSD.ORG Wed Nov 9 18:43:36 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED53916A420 for ; Wed, 9 Nov 2005 18:43:36 +0000 (GMT) (envelope-from gemini@sicilia.mv.com) Received: from mercury.mv.net (mercury.mv.net [199.125.85.40]) by mx1.FreeBSD.org (Postfix) with SMTP id D7F9043D48 for ; Wed, 9 Nov 2005 18:43:34 +0000 (GMT) (envelope-from gemini@sicilia.mv.com) Received: (qmail 5156 invoked from network); 9 Nov 2005 13:43:33 -0500 Received: from c-24-34-84-103.hsd1.nh.comcast.net (HELO localhost.localdomain) (sicilia-ge@24.34.84.103) by mercury.mv.net with SMTP; 9 Nov 2005 13:43:33 -0500 X-Peer-Info: remote-ip 24.34.84.103 local-ip 199.125.85.40 local-name mercury.mv.net X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 09 Nov 2005 13:41:38 -0500 (EST) From: gemini@sicilia.mv.com To: freebsd-isp@freebsd.org Message-Id: <20051109184334.D7F9043D48@mx1.FreeBSD.org> Subject: (4.9-stable) Outgoing ppp through Shiva Lanrover X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gemini@sicilia.mv.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 18:43:37 -0000 Mmm Hello, I'm not an ISP, but my ISP does use some variety of BSD and I seem to have a non-trivial question about connecting to them from my 4.9-stable pc. Hopefully this is an appropriate list. I'm also not an networking expert, so please be gentle. I share a broadband connection through a cable router, with my local ip address being in the 10.0.0.x range. This works properly, however I also have my own dial-up ISP which I need to connect to occasionally. I would highly prefer to handle this dial-out ppp with a shared Shiva Lanrover 8e terminal/modem server (firmware 4.54) On the lan side, the Shiva is able to handle both tcpip and ipx connections. It is able to initiate and handle an outgoing ppp modem connection using it's "lan-to-lan connect" feature. This partly works. The problems are that (1) The Shiva is not a router, it only bridges. Everything on the lan-side goes straight through with no NAT. (2) My dial-up ISP only assigns dynamic ip addresses, from two very different address pools. I can dial out and successfully connect, and the Shiva is assigned an ip address, but when I try to use the connection, my ISP see traffic with wrong ip addresses, so they won't touch the packets. The only solution I can think of, is to arrange for a connection from my PC to the Shiva which doesn't involve ip addresses, so that the Shiva just uses the address it was assigned by my ISP. Perhaps IPX? But I couldn't find anything in the handbook about setting up non-tcpip networking. Thank you. Any ideas or advice this list can provide will be much appreciated. Ps, I do realize a router would be recommended, to make this a truely sharable setup. And I do have a spare Cisco 2500, but on it's outside port it would run into the same problem connecting to the Shiva as a single pc would. The 2500's built-in serial port is inadequate for dial-out use. ---------------------------------- E-Mail: gemini@sicilia.mv.com Date: 09-Nov-2005 Time: 12:24:18 This message was sent by XFMail ---------------------------------- From owner-freebsd-isp@FreeBSD.ORG Thu Nov 10 10:12:09 2005 Return-Path: X-Original-To: freebsd-isp@FreeBSD.ORG Delivered-To: freebsd-isp@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44F0C16A420 for ; Thu, 10 Nov 2005 10:12:09 +0000 (GMT) (envelope-from info@emre.de) Received: from smtp3.netcologne.de (smtp3.netcologne.de [194.8.194.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA7D343D45 for ; Thu, 10 Nov 2005 10:12:08 +0000 (GMT) (envelope-from info@emre.de) Received: from localhost (netmail3.netcologne.de [194.8.194.23]) by smtp3.netcologne.de (Postfix) with ESMTP id E1F1A67619 for ; Thu, 10 Nov 2005 11:12:06 +0100 (CET) Received: from 81.173.203.54 ([81.173.203.54]) by netmail3.netcologne.de (IMP) with HTTP; Thu, 10 Nov 2005 11:12:04 +0100 Message-ID: <1131617524.43731cf41121f@netmail3.netcologne.de> Date: Thu, 10 Nov 2005 11:12:04 +0100 From: Emre Bastuz To: freebsd-isp@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NetCologne NetMail (IMP) 4.0-cvs Cc: Subject: Using PXE to install FreeBSD 6.0 - wrong kernel path and ip X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 10:12:09 -0000 Hi, I´m trying to set up an environment where I can install FreeBSD servers via network/PXE. For testing purposes I installed a FreeBSD 6.0 system inside VMWare and created all neccessary configurations according to the tutorials at http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml and http://people.freebsd.org/~alfred/pxe/en_US.ISO8859-1/articles/pxe/article.html. (dhcpd, nfs, etc.) I also added another virtual machine into VMWare which is supposed to be the server to be set up. When I boot the "client" machine however, the following happens: # tail /var/log/dhcpd.log Nov 10 09:54:48 install-i386 dhcpd: DHCPDISCOVER from 00:0c:29:a1:44:95 via lnc0 Nov 10 09:54:48 install-i386 dhcpd: DHCPOFFER on 192.168.2.17 to 00:0c:29:a1:44:95 via lnc0 Nov 10 09:54:49 install-i386 dhcpd: DHCPREQUEST for 192.168.2.17 (192.168.2.38) from 00:0c:29:a1:44:95 via lnc0 Nov 10 09:54:49 install-i386 dhcpd: DHCPACK on 192.168.2.17 to 00:0c:29:a1:44:95 via lnc0 ... so far so good ... the box asks for an IP address and receives the one I have configured in the dhcpd.conf for it´s particular MAC address ... Nov 10 09:54:50 install-i386 dhcpd: DHCPDISCOVER from 00:0c:29:a1:44:95 via lnc0 Nov 10 09:54:50 install-i386 dhcpd: DHCPOFFER on 192.168.2.17 to 00:0c:29:a1:44:95 via lnc0 Nov 10 09:54:50 install-i386 dhcpd: DHCPREQUEST for 192.168.1.38 (192.168.2.3) from 00:0c:29:a1:44:95 via lnc0: ignored (not authoritative). ... now this is strange: - why does the box ask *again* for an IP address? - why does it ask for 192.168.1.38 in particular? I have not configured this address anywhere On the screen of the client I see the following information: BTX Loader ... [...] PXE Version 2.1 [...] FreeBSD/i386 bootstrap loader [...] pxe_open: server addr: 192.168.2.38 -> the address of the DHCP server - that´s OK pxe_open: server root: /pxeroot -> this one ist not OK - I have configured the kernel to be in /usr/local/export/pxe (nfs export) and not in /pxeroot pxe_open: gateway ip : 192.168.1.38 -> why this address? I have not configured this address or the subnet anywhere?! Does anyone have idea what might be going wrong? Cheers, Emre -- http://www.emre.de UIN: 561260 PGP Key ID: 0xAFAC77FD I don't see why some people even HAVE cars. -- Calvin From owner-freebsd-isp@FreeBSD.ORG Thu Nov 10 12:22:03 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6392D16A41F for ; Thu, 10 Nov 2005 12:22:03 +0000 (GMT) (envelope-from artem@aws-net.org.ua) Received: from saturn.interami.com (saturn.interami.com [193.41.48.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1616443D45 for ; Thu, 10 Nov 2005 12:22:00 +0000 (GMT) (envelope-from artem@aws-net.org.ua) Received: from sigma.interami.com (sigma.interami.com [193.41.48.133]) by saturn.interami.com (8.13.1/8.12.9) with ESMTP id jAACLZvD062479; Thu, 10 Nov 2005 14:21:35 +0200 (EET) (envelope-from artem@aws-net.org.ua) Received: from 217.144.68.71 (proxying for unknown) (SquirrelMail authenticated user artem) by sigma.interami.com with HTTP; Thu, 10 Nov 2005 14:22:28 +0200 (EET) Message-ID: <64191.217.144.68.71.1131625348.squirrel@sigma.interami.com> In-Reply-To: <1131617524.43731cf41121f@netmail3.netcologne.de> References: <1131617524.43731cf41121f@netmail3.netcologne.de> Date: Thu, 10 Nov 2005 14:22:28 +0200 (EET) From: "Artyom Viklenko" To: "Emre Bastuz" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-isp@freebsd.org Subject: Re: Using PXE to install FreeBSD 6.0 - wrong kernel path and ip X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 12:22:03 -0000 Emre Bastuz wrote: > Nov 10 09:54:48 install-i386 dhcpd: DHCPDISCOVER from 00:0c:29:a1:44:95 > via lnc0 > Nov 10 09:54:48 install-i386 dhcpd: DHCPOFFER on 192.168.2.17 to > 00:0c:29:a1:44:95 via lnc0 > Nov 10 09:54:49 install-i386 dhcpd: DHCPREQUEST for 192.168.2.17 > (192.168.2.38) > from 00:0c:29:a1:44:95 via lnc0 > Nov 10 09:54:49 install-i386 dhcpd: DHCPACK on 192.168.2.17 to > 00:0c:29:a1:44:95 > via lnc0 > > ... so far so good ... the box asks for an IP address and receives the one > I > have configured in the dhcpd.conf for it´s particular MAC address ... > > Nov 10 09:54:50 install-i386 dhcpd: DHCPDISCOVER from 00:0c:29:a1:44:95 > via lnc0 > Nov 10 09:54:50 install-i386 dhcpd: DHCPOFFER on 192.168.2.17 to > 00:0c:29:a1:44:95 via lnc0 > Nov 10 09:54:50 install-i386 dhcpd: DHCPREQUEST for 192.168.1.38 > (192.168.2.3) > from 00:0c:29:a1:44:95 via lnc0: ignored (not authoritative). > > ... now this is strange: > - why does the box ask *again* for an IP address? > - why does it ask for 192.168.1.38 in particular? I have not configured > this > address anywhere Do you use dhcp server in VMWare? You can disable it. -- Sincerely yours, Artyom Viklenko. ------------------------------------------------------- artem@aws-net.org.ua | http://www.aws-net.org.ua/~artem FreeBSD: The Power to Serve - http://www.freebsd.org From owner-freebsd-isp@FreeBSD.ORG Thu Nov 10 12:43:29 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46A4F16A41F for ; Thu, 10 Nov 2005 12:43:29 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E43EB43D46 for ; Thu, 10 Nov 2005 12:43:28 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 384D6418; Thu, 10 Nov 2005 07:44:13 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id F19AA87; Thu, 10 Nov 2005 07:44:11 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EaBm1-000HSt-Kc; Thu, 10 Nov 2005 12:43:25 +0000 Date: Thu, 10 Nov 2005 12:43:25 +0000 From: Brian Candler To: gemini@sicilia.mv.com Message-ID: <20051110124325.GA67086@uk.tiscali.com> References: <20051109184334.D7F9043D48@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051109184334.D7F9043D48@mx1.FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-isp@freebsd.org Subject: Re: (4.9-stable) Outgoing ppp through Shiva Lanrover X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 12:43:29 -0000 On Wed, Nov 09, 2005 at 01:41:38PM -0500, gemini@sicilia.mv.com wrote: > I would highly prefer to handle this dial-out ppp with a shared > Shiva Lanrover 8e terminal/modem server (firmware 4.54) > On the lan side, the Shiva is able to handle both tcpip and ipx > connections. It is able to initiate and handle an outgoing ppp modem > connection using it's "lan-to-lan connect" feature. This partly works. > > The problems are that > (1) The Shiva is not a router, it only bridges. Everything on the > lan-side goes straight through with no NAT. The Shiva Lanrover I used a couple of years ago was most definitely a router. It had three LAN interfaces, plus serial PPP for backup. I don't remember the model number, but it was sold as a firewall / VPN termination device. It definitely did NAT too - the 'inside' and 'dmz' networks we had were on 10.x.x.x addresses, but the outside on public IPs. Sorry this doesn't help you much, but it might be worth looking into the documentation a bit more just to make sure. Incidentally, the difference between a bridge and a router is not to do with NAT. If your Shiva is a router (which I think it probably is), then the packets will still be forwarded to your ISP with the source IP address unchanged, unless NAT is configured. You can of course just do a direct PPP dialup from your FreeBSD box, which will solve the problem. Regards, Brian. From owner-freebsd-isp@FreeBSD.ORG Thu Nov 10 12:59:31 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF0816A41F for ; Thu, 10 Nov 2005 12:59:31 +0000 (GMT) (envelope-from info@emre.de) Received: from smtp1.netcologne.de (smtp1.netcologne.de [194.8.194.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12AE343D5C for ; Thu, 10 Nov 2005 12:59:30 +0000 (GMT) (envelope-from info@emre.de) Received: from localhost (netmail2.netcologne.de [194.8.194.22]) by smtp1.netcologne.de (Postfix) with ESMTP id 7516538847; Thu, 10 Nov 2005 13:59:28 +0100 (MET) Received: from sys-125.netcologne.de (sys-125.netcologne.de [194.8.193.125]) by netmail2.netcologne.de (IMP) with HTTP; Thu, 10 Nov 2005 13:59:25 +0100 Message-ID: <1131627565.4373442d9f442@netmail2.netcologne.de> Date: Thu, 10 Nov 2005 13:59:25 +0100 From: Emre Bastuz To: Artyom Viklenko References: <1131617524.43731cf41121f@netmail3.netcologne.de> <64191.217.144.68.71.1131625348.squirrel@sigma.interami.com> In-Reply-To: <64191.217.144.68.71.1131625348.squirrel@sigma.interami.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NetCologne NetMail (IMP) 4.0-cvs Cc: freebsd-isp@freebsd.org Subject: Re: Using PXE to install FreeBSD 6.0 - wrong kernel path and ip X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 12:59:31 -0000 Hi Artyom, Zitat von Artyom Viklenko : > Do you use dhcp server in VMWare? You can disable it. thanks for the hint. I have checked the VMWare settings and saw that the virtual adapter I use is not part of the VMWare-DHCP configuration (I use the bridged adapter which is excluded from using the WMWare´s own DHCP service). I´m pretty sure this is no vmware issue as I can see the request from the client on the FreeBSD DHCP/TFTP/NFS server. The PXE part makes a second DHCP request and does not get the expected answer and defaults to some strange value where to find the kernel ("/pxeroot"). The main question is, why does it not accept what I´ve entered in the dhcpd.conf ("option root-path "192.168.2.38:/usr/local/export/pxe") and takes "/pexroot" instead? Cheers, Emre -- http://www.emre.de UIN: 561260 PGP Key ID: 0xAFAC77FD I don't see why some people even HAVE cars. -- Calvin From owner-freebsd-isp@FreeBSD.ORG Thu Nov 10 13:32:39 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38F0E16A421 for ; Thu, 10 Nov 2005 13:32:39 +0000 (GMT) (envelope-from patrik.forsberg@dataphone.net) Received: from exhsto1.se.dataphone.com (exhsto1.se.dataphone.com [212.37.6.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E8C43D8A for ; Thu, 10 Nov 2005 13:32:24 +0000 (GMT) (envelope-from patrik.forsberg@dataphone.net) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Nov 2005 14:32:20 +0100 Message-ID: <375DD163B075E34EA3C10A6286E34A54B7CE9F@exhsto1.se.dataphone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using PXE to install FreeBSD 6.0 - wrong kernel path and ip Thread-Index: AcXl9sfFhdJa53OeR6GzGeKsRKCJ9QAAlUOA From: "Patrik Forsberg" To: Subject: RE: Using PXE to install FreeBSD 6.0 - wrong kernel path and ip X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 13:32:39 -0000 Hm.. Im wondering.. I've never done this myself but from reading the articles you refer to you seem to have done some fatal errors.. first off.. the second dhcp request you see is quite correct.. altho the ip-adress got me confuced.. according to the dhcp rfc the client should make a second request to verify that the ip-adress is actuly free aswell as doing a arp-lookup for the ip for the same purpose before it aculy binds the ipadress to itself. Second.. you refer to the root-path as 192.168.2.38:/usr/local/export/pxe <-- ether you are simply stressed out or this is wrong. The root-path should only refer to /usr/local/export/pxe. The boot server is specified by the option next-server. so.. next-server 192.168.2.38 root-path "/usr/local/export/pxe" I think would be more correct ? this would fetch, what ever default name, pxeboot file from the tftp-server on 192.168.2.38. I belive the minimum number of options you _have_ to set for this to work is Requirement 3: DHCP Server: option broadcast-address 192.168.254.255; option domain-name-servers 192.168.254.3; option domain-name "simerson.net"; option routers 192.168.254.1; option subnet-mask 255.255.255.0; server-name "pxe-gw"; server-identifier 192.168.254.3; next-server 192.168.254.3; and then the subnet and client clouse below subnet 192.168.254.0 netmask 255.255.255.0 { range 192.168.254.32 192.168.254.99; option root-path "/usr/local/export/pxe"; filename "pxeboot"; } host cm.simerson.net { hardware ethernet 00:e0:18:98:f0:cc; fixed-address 192.168.254.126; }=20 If you follow the above I belive you should be good-to-go ;) Regards, Paddy From owner-freebsd-isp@FreeBSD.ORG Thu Nov 10 15:35:41 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D360316A41F for ; Thu, 10 Nov 2005 15:35:41 +0000 (GMT) (envelope-from gemini@sicilia.mv.com) Received: from mercury.mv.net (mercury.mv.net [199.125.85.40]) by mx1.FreeBSD.org (Postfix) with SMTP id 5ABE943D45 for ; Thu, 10 Nov 2005 15:35:41 +0000 (GMT) (envelope-from gemini@sicilia.mv.com) Received: (qmail 9431 invoked from network); 10 Nov 2005 10:35:40 -0500 Received: from c-24-34-84-103.hsd1.nh.comcast.net (HELO localhost.localdomain) (sicilia-ge@24.34.84.103) by mercury.mv.net with SMTP; 10 Nov 2005 10:35:40 -0500 X-Peer-Info: remote-ip 24.34.84.103 local-ip 199.125.85.40 local-name mercury.mv.net X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20051110124325.GA67086@uk.tiscali.com> Date: Thu, 10 Nov 2005 10:33:45 -0500 (EST) From: gemini@sicilia.mv.com To: freebsd-isp@freebsd.org Message-Id: <20051110153541.5ABE943D45@mx1.FreeBSD.org> Subject: Re: (4.9-stable) Outgoing ppp through Shiva Lanrover X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gemini@sicilia.mv.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 15:35:41 -0000 Thank you very much for the information. This may just be a question of which firmware revision my Lanrover has. At v4.54 I'm not able to find any options for NAT. I've just downloaded the latest firmware, v5.7, fortunately I have the HE model which supports that revision. And hopefully it will provide that functionality. Thank you all for your patience. Addendum- This Lanrover does have three ethernet port connectors, but only one ethernet interface. There is a selector switch next to the connectors. On 10-Nov-2005 Brian Candler wrote: > On Wed, Nov 09, 2005 at 01:41:38PM -0500, gemini@sicilia.mv.com wrote: >> I would highly prefer to handle this dial-out ppp with a shared >> Shiva Lanrover 8e terminal/modem server (firmware 4.54) >> On the lan side, the Shiva is able to handle both tcpip and ipx >> connections. It is able to initiate and handle an outgoing ppp modem >> connection using it's "lan-to-lan connect" feature. This partly works. >> >> The problems are that >> (1) The Shiva is not a router, it only bridges. Everything on the >> lan-side goes straight through with no NAT. > > The Shiva Lanrover I used a couple of years ago was most definitely a > router. It had three LAN interfaces, plus serial PPP for backup. I don't > remember the model number, but it was sold as a firewall / VPN termination > device. > > It definitely did NAT too - the 'inside' and 'dmz' networks we had were on > 10.x.x.x addresses, but the outside on public IPs. > > Sorry this doesn't help you much, but it might be worth looking into the > documentation a bit more just to make sure. > > Incidentally, the difference between a bridge and a router is not to do with > NAT. If your Shiva is a router (which I think it probably is), then the > packets will still be forwarded to your ISP with the source IP address > unchanged, unless NAT is configured. > > You can of course just do a direct PPP dialup from your FreeBSD box, which > will solve the problem. > > Regards, > > Brian. ---------------------------------- E-Mail: gemini@sicilia.mv.com Date: 10-Nov-2005 Time: 10:18:54 This message was sent by XFMail ---------------------------------- From owner-freebsd-isp@FreeBSD.ORG Fri Nov 11 13:04:53 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 018C316A41F for ; Fri, 11 Nov 2005 13:04:53 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 971D543D45 for ; Fri, 11 Nov 2005 13:04:52 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id EB0CD90C; Fri, 11 Nov 2005 08:05:36 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id 9835C87; Fri, 11 Nov 2005 08:05:34 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EaYaG-000IYt-3Y; Fri, 11 Nov 2005 13:04:48 +0000 Date: Fri, 11 Nov 2005 13:04:48 +0000 From: Brian Candler To: Emre Bastuz Message-ID: <20051111130447.GA71280@uk.tiscali.com> References: <1131617524.43731cf41121f@netmail3.netcologne.de> <64191.217.144.68.71.1131625348.squirrel@sigma.interami.com> <1131627565.4373442d9f442@netmail2.netcologne.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1131627565.4373442d9f442@netmail2.netcologne.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-isp@freebsd.org, Artyom Viklenko Subject: Re: Using PXE to install FreeBSD 6.0 - wrong kernel path and ip X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 13:04:53 -0000 On Thu, Nov 10, 2005 at 01:59:25PM +0100, Emre Bastuz wrote: > The main question is, why does it not accept what I´ve entered in the dhcpd.conf > ("option root-path "192.168.2.38:/usr/local/export/pxe") and takes "/pexroot" > instead? I think it's option filename not option root-path which is used to locate the pxeboot loader itself. Assuming you're following the instructions and sample configs at http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/ you might also find this useful: http://lists.freebsd.org/mailman/htdig/freebsd-stable/2005-June/016306.html I would certainly expect to see multiple DHCP exchanges taking place: (1) the pxe bootstrap loader DHCP's for an IP and some parameters (2) it fetches pxeboot using TFTP and runs it (3) pxeboot DHCP's for an IP and some parameters (4) pxeboot fetches the kernel using NFS (or TFTP, if you rebuild pxeboot with the options outlined in the link above) (5) the kernel boots (6) the kernel DHCP's for an IP and some parameters, if you've set it to mount the root partition over NFS As to why you're getting two different IP addresses taken on DHCP, I don't know. I see you are using both 192.168.1.x and 192.168.2.x. Do you have a subnet mask big enough to cover both ranges into a single block? Regards, Brian. From owner-freebsd-isp@FreeBSD.ORG Sat Nov 12 01:03:40 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D39816A41F for ; Sat, 12 Nov 2005 01:03:40 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0301B43D45 for ; Sat, 12 Nov 2005 01:03:39 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from peregrin.orthanc.ca (d64-180-189-53.bchsia.telus.net [64.180.189.53]) (authenticated bits=0) by orthanc.ca (8.13.3/8.13.3) with ESMTP id jAC13a4t004539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Nov 2005 18:03:37 -0700 (MST) (envelope-from lyndon@orthanc.ca) Received: from [127.0.0.1] (localhost [127.0.0.1]) by peregrin.orthanc.ca (8.13.5.Beta0/8.13.5.Beta0) with ESMTP id jAC13XgF000433 for ; Fri, 11 Nov 2005 17:03:33 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <20051108122352.GB58984@uk.tiscali.com> References: <20051107235736.M27385@hk-cse.dyxnet.com> <20051108122352.GB58984@uk.tiscali.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4D7A9534-B225-4F81-A1D9-4A9F4B38827B@orthanc.ca> Content-Transfer-Encoding: 7bit From: Lyndon Nerenberg Date: Fri, 11 Nov 2005 17:03:30 -0800 To: freebsd-isp@freebsd.org X-Mailer: Apple Mail (2.746.2) X-Spam-Status: No, score=1.0 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.0 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on orthanc.ca Subject: Re: Backup/Secondary relay server (mailertable) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2005 01:03:40 -0000 >> I wanted to know how should the backup/secondary relay server >> should be setup. Just add the domains you relay for to /etc/mail/relay-domains (one per line) and restart sendmail (/etc/rc.d/sendmail restart). --lyndon