From owner-freebsd-questions Thu Mar 20 9:33: 8 2003 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 D940437B404 for ; Thu, 20 Mar 2003 09:33:02 -0800 (PST) Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5674043F75 for ; Thu, 20 Mar 2003 09:33:00 -0800 (PST) (envelope-from admin@swedehost.com) Received: from d1o804.telia.com (d1o804.telia.com [213.64.67.241]) by maild.telia.com (8.12.8/8.12.8) with ESMTP id h2KHWxxH025285; Thu, 20 Mar 2003 18:32:59 +0100 (CET) X-Original-Recipient: questions@FreeBSD.ORG Received: from thor.swedehost.com (h129n2fls33o804.telia.com [217.209.211.129]) by d1o804.telia.com (8.10.2/8.10.1) with ESMTP id h2KHWwM12094; Thu, 20 Mar 2003 18:32:58 +0100 (CET) From: Hasse Organization: The Valhalla Project To: Steve Bertrand Subject: Re: Routing problem ? Date: Thu, 20 Mar 2003 18:32:54 +0100 User-Agent: KMail/1.5 Cc: questions@FreeBSD.ORG References: <20030320115236.T68142-100000@diana.northnetworks.ca> In-Reply-To: <20030320115236.T68142-100000@diana.northnetworks.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303201832.54624.admin@swedehost.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 20 March 2003 17.54, Steve Bertrand wrote: SB > > Hi everybody. SB > > I have small network at home with two machines connected to the net SB > > via ADSL. That means Dynamic IP, though not changing very often. SB > > ------------- SB > > "odin.swedehost.com" running FreeBSD 4.8-RC #0 Sun Mar 16 2003 SB > > Two NICs. xl0 " DHCP " and "NAT-interface", acting as a gateway, doing NAT. SB > > > ifconfig SB > > fxp0: flags=8843 mtu 1500 SB > > inet 192.168.1.200 netmask 0xffffff00 broadcast 192.168.1.255 SB > > inet6 fe80::202:b3ff:fe8f:90fd%fxp0 prefixlen 64 scopeid 0x1 SB > > ether 00:02:b3:8f:90:fd SB > > media: Ethernet autoselect (100baseTX ) SB > > status: active SB > > xl0: flags=8843 mtu 1500 SB > > options=3 SB > > inet6 fe80::201:2ff:fef7:7de8%xl0 prefixlen 64 scopeid 0x2 SB > > inet 217.209.211.129 netmask 0xffffff00 broadcast 217.209.211.255 SB > > ether 00:01:02:f7:7d:e8 SB > > media: Ethernet autoselect (10baseT/UTP) SB > > status: active SB > > lp0: flags=8810 mtu 1500 SB > > lo0: flags=8049 mtu 16384 SB > > inet6 ::1 prefixlen 128 SB > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 SB > > inet 127.0.0.1 netmask 0xff000000 SB > > ppp0: flags=8010 mtu 1500 SB > > sl0: flags=c010 mtu 552 SB > > faith0: flags=8002 mtu 1500 SB > > ------------ SB > > "thor.swedehost.com" running FreeBSD 4.8-RC #1: Fri Mar 7 23:23:21 CET 2003 SB > > Dualboot with W2k-Server. SB > > Two NICs xl0 and fxp0 but only one of them configured. SB > > thor# ifconfig SB > > xl0: flags=8843 mtu 1500 SB > > options=3 SB > > inet 192.168.1.220 netmask 0xffffff00 broadcast 192.168.1.255 SB > > inet6 fe80::204:76ff:fe19:3b1d%xl0 prefixlen 64 scopeid 0x1 SB > > ether 00:04:76:19:3b:1d SB > > media: Ethernet autoselect (100baseTX ) SB > > status: active SB > > fxp0: flags=8843 mtu 1500 SB > > inet6 fe80::202:b3ff:fe4c:13a4%fxp0 prefixlen 64 scopeid 0x2 SB > > ether 00:02:b3:4c:13:a4 SB > > media: Ethernet autoselect (none) SB > > status: no carrier SB > > lp0: flags=8810 mtu 1500 SB > > lo0: flags=8049 mtu 16384 SB > > inet6 ::1 prefixlen 128 SB > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 SB > > inet 127.0.0.1 netmask 0xff000000 SB > > ppp0: flags=8010 mtu 1500 SB > > sl0: flags=c010 mtu 552 SB > > faith0: flags=8002 mtu 1500 SB > > ------------- SB > > At bootup I get this message: SB > > SB > > Mar 20 16:50:26 natd[88]: Aliasing to 217.209.211.129, mtu 1500 bytes SB > > route: bad address: YES SB > > SB > > Additional routing options: ignore ICMP redirect=YES log ICMP redirect=YES SB > > IP gateway=YES TCP keepalive=YES. SB > > Routing daemons:. SB > > SB > > ------------- SB > > What's worry me is the " route: bad address: YES " part. SB > > SB > > Does it mean that I have a bad address in my routingtable ? SB > > I have tried to do " route -n flush " several times and rebooting. SB > > Everything is working the way it's supposed to, I think :-) SB > > I mean routing, NAT, mailservices etc. SB > SB > I'm willing you have a mistyped entry in an rc file. Take a look in SB > /etc/rc.conf and or any other places where you may have manually SB > configured IP's and/or static routes. SB > SB > Steve SB > SB > SB > > SB > > Preciate some enlightenment on this subject. SB > > TiA SB > > Geir Svalland. SB > > SB > > SB > > To Unsubscribe: send mail to majordomo@FreeBSD.org SB > > with "unsubscribe freebsd-questions" in the body of the message SB > > SB > SB > SB > To Unsubscribe: send mail to majordomo@FreeBSD.org SB > with "unsubscribe freebsd-questions" in the body of the message SB > Hi again. And thx for the quick response to my question. As far as I know, I haven't configured any IP or routes any other places then /etc/rc.conf and here they come : First for odin ( gateway ) , then thor 2nd machine. ---------- # This file now contains just the overrides from /etc/defaults/rc.conf. blanktime="3000" gateway_enable="YES" defaultrouter="YES" hostname="odin.swedehost.com" firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="OPEN" firewall_logging="YES" ipv6_firewall_enable="YES" ipv6_firewall_type="OPEN" ipv6_firewall_script="/etc/rc.firewall6" ipv6_firewall_logging="YES" ifconfig_xl0="DHCP" ifconfig_fxp0="inet 192.168.1.200 netmask 255.255.255.0" inetd_enable="YES" ipv6_enable="YES" named_enable="YES" named_program="/usr/sbin/named" named_flags="-u bind -g bind" natd_enable="YES" natd_interface="xl0" natd_flags="-dynamic" kern_securelevel_enable="NO" keymap="swedish.iso" keyrate="fast" linux_enable="YES" lpd_enable="YES" moused_enable="YES" moused_port="/dev/psm0" ntpdate_enable="YES" ntpdate_flags="ntp.lth.se" portmap_enable="NO" enable_quotas="YES" check_quotas="NO" saver="logo" sendmail_enable="YES" sendmail_flags="-bd -q30m" sshd_enable="YES" usbd_enable="YES" syslogd_flags="-ss -m 0" icmp_drop_redirect="YES" icmp_log_redirect="YES" -------------------------------------- # This file now contains just the overrides from /etc/defaults/rc.conf. blanktime="3000" gateway_enable="NO" defaultrouter="192.168.1.200" hostname="thor.swedehost.com" firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="OPEN" firewall_logging="YES" ipv6_firewall_enable="YES" ipv6_firewall_type="OPEN" ipv6_firewall_script="/etc/rc.firewall6" ipv6_firewall_logging="YES" ifconfig_xl0="inet 192.168.1.220 netmask 255.255.255.0" ifconfig_fxp0="inet 192.168.1.230 netmask 255.255.255.0" inetd_enable="YES" ipv6_enable="YES" #named_enable="YES" #named_program="/usr/sbin/named" #named_flags="-u bind -g bind" #natd_enable="NO" #natd_interface="xl0" #natd_flags="-dynamic" kern_securelevel_enable="NO" keymap="swedish.iso" keyrate="fast" moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" linux_enable="YES" lpd_enable="YES" ntpdate_enable="YES" ntpdate_flags="ntp.lth.se" portmap_enable="NO" saver="logo" sendmail_enable="YES" sendmail_flags="-db -q30m" sshd_enable="YES" usbd_enable="YES" syslogd_flags="-ss -m 0" icmp_drop_redirect="YES" icmp_log_redirect="YES" clear_tmp_enable="YES" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message