Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 1997 12:42:09 +0200 (CEST)
From:      Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
To:        dwhite@resnet.uoregon.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: running routed: Is my printer a router ?
Message-ID:  <199710251042.MAA22309@curry.mchp.siemens.de>
In-Reply-To: <Pine.BSF.3.96.971024230607.7229N-100000@gdi.uoregon.edu> from Doug White at "Oct 24, 97 11:08:39 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > ignore RTM_GET: 192.168.21.92/32
> > > > -- 21:49:01 --
> > > > RTM_ADD from pid 8022: 192.168.21.92/32
> > > > routed: ignore RTM_ADD without gateway
> > > > 
> > > > The timestamps are axactly the same as in syslog, so it's really
> > > > 192.168.21.92 who has to do with it. But: The address
> > > > 192.168.21.92 belongs to a networked printer ?!?
> > > 
> > > The system is trying to create a host route for that box, which is normal,
> > > but routed will have nothing of it.  If you don't need routed, disable it
> > > and it will shut up.
> > 
> > By system you mean the machine routed is running on, right? As far as
> > I interpret the log, there is something sent from the printer (which is
> > 192.168.21.92) to the system, which makes it complain.
> > I have about 70 machine on three NICs on the system running routed (PCs,
> > MACs, HPs, SGIs, Suns, HP-Printers, and of course, FreeBSD machines),
> > but 192.168.21.92 is the only Kyocera Printer. Is it possible that just
> > the Kyocera is doing something strange about what routed complains?
> 
> Your computer is probably trying to contact the printer and the routing is
> wrong.  What does ifconfig -a and netstat -rn report?

Don't think so. Everything works great, even the communication between
the printer and all the other hosts. I still got the impression
that the printers send something crazy to routed. To be correct, in the
meanwhile I found out that both FreeBSD machines complain:

Oct 25 12:30:30 server daemon.err routed[131]: ignore RTM_ADD without gateway
Oct 25 12:30:30 printfix daemon.err routed[85]: ignore RTM_ADD without gateway

printfix is a machine with one NIC, server it the router with 3 NICs:

andre@server:~>ifconfig -a

de0: flags=c943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK2,MULTICAST> mtu 1500
	inet 192.168.20.33 netmask 0xffffff00 broadcast 192.168.20.255
	ether 00:00:c0:ba:73:e0 
de1: flags=c943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK2,MULTICAST> mtu 1500
	inet 192.168.21.33 netmask 0xffffff00 broadcast 192.168.21.255
	atalk 65280.171 range 0-65534 phase 2 broadcast 0.255
	ether 00:00:c0:81:78:e0 
ed0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.16.33 netmask 0xffffff00 broadcast 192.168.16.255
	ether 00:00:c0:0f:aa:dd 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
	atalk 0.0 range 0-0 phase 2

andre@server:~>netstat -rn

Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
127.0.0.1          127.0.0.1          UH          2     3674       lo0
192.168.1          192.168.16.30      UGc         1        1       ed0
192.168.16         link#3             UC          0        0 
192.168.16.30      0:0:c0:8d:69:ab    UHLW        6   101116       ed0    332
192.168.16.33      0:0:c0:f:aa:dd     UHLW        3   376419       lo0
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       0     1550       ed0
192.168.20         link#1             UC          0        0 
192.168.20.2       8:0:69:1:8:ee      UHLW        0      730 
192.168.20.3       8:0:69:6:c8:b3     UHLW        0       61       de0    902
192.168.20.4       8:0:69:7:66:74     UHLW        3  3628537       de0    472
192.168.20.5       8:0:69:8:5d:46     UHLW        1      241       de0    145
192.168.20.10      8:0:20:10:79:39    UHLW        0      724       de0     59
192.168.20.33      0:0:c0:ba:73:e0    UHLW       17  1171965       lo0
192.168.20.120     0:20:af:f5:ee:24   UHLW        0    15942       de0    789
192.168.20.121     0:60:97:81:95:c4   UHLW        0      315       de0    829
192.168.20.255     ff:ff:ff:ff:ff:ff  UHLWb       1     1550       de0
192.168.21         link#2             UC          0        0 
192.168.21.20      8:0:9:3d:8d:a      UHLW        0     5980       de1    655
192.168.21.21      0:60:b0:1:76:57    UHLW        0   700929       de1    655
192.168.21.31      0:0:c0:4f:53:c3    UHLW        1    94238       de1    355
192.168.21.32      0:0:c0:3f:6e:ab    UHLW        0    19475       de1    851
192.168.21.33      0:0:c0:81:78:e0    UHLW        0        1       lo0
192.168.21.92      0:c0:eb:0:91:7e    UHLS        0        0       de1    401
192.168.21.100     0:0:c0:ee:24:d3    UHLW        2  1379432       de1   1020
192.168.21.102     0:a0:24:88:e2:f6   UHLW        2      885       de1   1027
192.168.21.107     0:0:c0:b9:4e:e9    UHLW        0   805736       de1   1023
192.168.21.113     0:0:c0:4c:5b:d3    UHLW        0   715779       de1   1148
192.168.21.114     link#2             UHLW        1    21941 
192.168.21.255     ff:ff:ff:ff:ff:ff  UHLWb       0     1550       de1
192.168.32         192.168.16.30      UGc         0      376       ed0
192.168.48         192.168.16.30      UGc         2     6053       ed0
224/4              link#3             UCS         0        0 
224.0.0.9          1:0:5e:0:0:9       UHLW        1        6       ed0


On the same wire are also two HP-UX machines running gated without complains,
but since almost half of HP-UX is broken they are no reference.

The crazy thing is, I can't see anything on the network coming from
the printer (192.168.21.92). Or I am doing something wrong with tcpdump...

	-Andre



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