From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 23:28:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0497F16A4BF for ; Thu, 4 Sep 2003 23:28:54 -0700 (PDT) Received: from lilith.bellavista.cz (lilith.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6BC43FBF for ; Thu, 4 Sep 2003 23:28:48 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (unknown [10.0.0.10]) by lilith.bellavista.cz (Postfix) with ESMTP id CB00634; Fri, 5 Sep 2003 08:28:46 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 5D3B12FDA01; Fri, 5 Sep 2003 08:28:46 +0200 (CEST) Date: Fri, 5 Sep 2003 08:28:46 +0200 From: Roman Neuhauser To: "Karina Hoshiko XK (DF/TIM)" Message-ID: <20030905062846.GK68249@freepuppy.bellavista.cz> Mail-Followup-To: "Karina Hoshiko XK (DF/TIM)" , "'freebsd-questions@freebsd.org'" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: "'freebsd-questions@freebsd.org'" Subject: Re: Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 06:28:54 -0000 please use better subject lines. please keep lines at-or-shorter-than 75 characters (except computer output). # karina.xk.hoshiko@ericsson.com / 2003-09-03 10:46:03 -0500: > > Yesterday someone put me in charge of a server (it seems that is a > > Firewall) with FreeBSD 4.2-Release version, the first thing I have > > told to do is to change de IP address and the defaultrouter, so I > > edited the next files: > > > > /etc/hosts > > /etc/rc.conf > > > > And I rebooted the server so that the changes take effect. The first > > thing I did was to check if the changes were made, with the > > "ipconfig -a" command, and yes, the changes were made. I only > > changed the IP address of one of the two interfaces (xI1). I don't > > know why but I keep receiving the next errors: > > > > egw ipmon[55]:17:30:47.435327 xI1 @0:16 b 146.250.4.9 ---> 146.250.4.1 PR icmp len 20 21504 icmp 8/0 OUT > > egw ipmon[55]:17:30:47.435327 xI1 @0:16 b 146.250.4.9 ---> 146.250.17.4,53 PR udp len 20 21504 icmp 8/0 OUT because there's IPFilter running on the box, and the rules weren't updated to match the new IP. the ruleset should be located in /etc/ipf.rules. edit the file, and replace all occurences of the old IP address. then restart ipf: # ipf -Fa -FS -f /etc/ipf.rules http://www.obfuscation.org/ipf/ipf-howto.html http://www.phildev.net/ipf/ http://coombs.anu.edu.au/~avalon/ip-filter.html > > Where egw is the hostname > > 146.250.4.9 is the IP address of the interface xI1 > > 146.250.4.1 is the defaultrouter > > 192.168.200.1 is the IP address of the interface xl0 > > egw /kernel:arp:146.250.4.1 is on xI1 but got reply from on xI0 looks like you have assigned the addres to the wrong interface? -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html