Date: Fri, 5 Sep 2003 08:28:46 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: "Karina Hoshiko XK (DF/TIM)" <karina.xk.hoshiko@ericsson.com> Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: Re: Question Message-ID: <20030905062846.GK68249@freepuppy.bellavista.cz> In-Reply-To: <EEE97D1F43096442A2CFB0EA1A1A1C95013E4E2C@eamrcnt749.exu.ericsson.se> References: <EEE97D1F43096442A2CFB0EA1A1A1C95013E4E2C@eamrcnt749.exu.ericsson.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ethernet address of interface xI0> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905062846.GK68249>