Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2003 18:32:54 +0100
From:      Hasse <admin@swedehost.com>
To:        Steve Bertrand <iaccounts@northnetworks.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Routing problem ?
Message-ID:  <200303201832.54624.admin@swedehost.com>
In-Reply-To: <20030320115236.T68142-100000@diana.northnetworks.ca>
References:  <20030320115236.T68142-100000@diana.northnetworks.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
SB > >         status: active
SB > > xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
SB > >         options=3<rxcsum,txcsum>
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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
SB > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<POINTOPOINT,MULTICAST> mtu 1500
SB > > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
SB > > faith0: flags=8002<BROADCAST,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
SB > >         options=3<rxcsum,txcsum>
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 <full-duplex>)
SB > >         status: active
SB > > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
SB > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<POINTOPOINT,MULTICAST> mtu 1500
SB > > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
SB > > faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
SB > > -------------
SB > > At bootup I get this message:
SB > > <Snip>
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 > > </Snip>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303201832.54624.admin>