Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 1997 23:19:01 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: running routed: Is my printer a router ?
Message-ID:  <Pine.BSF.3.96.971026231331.12269K-100000@gdi.uoregon.edu>
In-Reply-To: <199710251042.MAA22309@curry.mchp.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Oct 1997, Andre Albsmeier wrote:

> > > > > 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:

Hm, thanks for the info, I understand what's going on a little better now.

The printer may be sending out RIP packets and this is confusing routed.
It is killing attempts to add routes to the printer because they are
malformed -- they don't list a gateway, which implies that someone is
trying to add a default route to the printer.  

Is it possible to disconnect the printer from the net for a while and see
if the errors persist?  Can you look at the printer's settings and change
them to be less annoying about routing?  You have no traffic to the
printer so I assume it doesn't get a lot of use (by `server' at least).

> 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.

We have gated available as a port for FreeBSD if you're more comfortable
working with it.

> 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...

I'm tempted to try turning the printer off for a while and see if that
shuts up routed.  How is the printer interfaced, by TCP/IP or by Apple
EtherTalk?  I see that netatalk is built into server's kernel so it
understands AppleTalk -- it may be trying to add routes for it and routed
doesn't understand AppleTalk.

I'm tempted to point the finger of blame at the printer unless one of your
hosts is misconfigured to use it's IP and is hiding behind something so
that FreeBSD doesn't pick it up as a ARP overwrite.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971026231331.12269K-100000>