SUMMARY: Machine is a router message

From: Marco Pineda (mcp4@columbia.edu)
Date: Fri May 20 1994 - 05:35:29 CDT


My apologies for this late summary. Most of the respondents recommended
looking in init.inetd. I did and found where I was getting the message.
As the situation does not seem to be causing any problems and since I
don't have anything on the serial ports (yet) I have decided to leave it
for now. Some respondents remarked that having the regular ethernet port
and a SLIP line makes the machine a router by default. However the SLIP
is not active on this machine.

Thanks to all who responded a list of their names follows and their replies
are included after my .sig.

Pom Bajar
Casper Dik
Perry Hutchison
Steven Grevemeyer
David B. Brown
Glenn Satchell

*************************************************************************
* Be vague... be very vague. | mcp4@columbia.edu *
* "Carpe Cibum" | Marco Pineda *
*************************************************************************

Pom Bajar pom@netcom.com
Casper Dik <casper@fwi.uva.nl>
grevemes@vtc.tacom.army.mil
Dave Brown

--------------------------------------------------------------------------

        "machine" is a router shows up when multiple ports are
        configured - see /etc/init.d/inetinit script. - It is normally
        harmless if you know what your etheour ethernet ports are doing.

        3 motherboards, 6 serial ports - I am guessing that you have
        a VIDEO board that is attached to a console and a keyboard. If
        so, you do have 6 ports available for modem use, otherwise you
        have 5 - one for the system consol.

-- 
Pom Bajar			pom@netcom.com

---------------------------------------------------------------------------

Look in etc/init.d/inetinit.

It'll tell you that this message is generated if you don't have a default route.

>My second question has to do with the serial ports on the system boards. >I have six serial ports off of those three boards. I am wondering if I >can use them to hang a modem for dial in/out. Are there gotchas to >this? If anybody has any experience please share.

In principle, yes. You may need some patches for it too work well.

Casper ---------------------------------------------------------------------------

If the machine has both an active UTP and a SLIP link, it IS a router. It has to route traffic between the UTP and the SLIP link.

Also, are the extra UTP's totally unconfigured, or just not connected to anything? If they have active sdevice entries, the kernel may think that they will be in use even if they aren't mentioned under /etc/confnet.d (or wherever Solaris 2 keeps this stuff -- I know SunOS 3.x and 4.x, and Univel SVR4.2, but not Solaris 2.x). ---------------------------------------------------------------------------

Well, this is simple. If the machine determines that more than one network port exists it runs routed and prints the message. If you look through the startup scripts you will find the exact check.

> You shouldn't have any problems. The manual goes into explicit detail on how to add a modem. I only have modems on SunOS 4.1.3 so I can't help with this.

=============================================================================== Steven E. Grevemeyer Phone: (810)574-5106 FAX: -5008 Software Enginnering Division (AMSTA-OS) US Army Tank-Automotive RD&E Center Vetronics Technology Center Email: grevemes@vtc.tacom.army.mil Warren, MI 48397-5000 -----------------------------------------------------------------------------

Marco, For the answer on the "machine is a router", if you grep for one of those words in the /etc/rc2.d directory I believe you will see that the script looks for the presence of a /etc/defaultrouter file just like in Solaris 1.X and if it's there sets the def ault route, else it turns on in.routed. As for the serial port question I haven't done anything with a SS1000 but I have an IPC at home with Solaris 2.3 on it and am using one of the serial ports for a PPP link with no problems.

-----------------------------------------------------------------------------

This is the code in /etc/init.d/inetinit. If there is more than one active interface, eg: le0 and slip0 in your case, then it is a router and so the route discovery daemon needs to run (in.rdisc).

if [ -z "$defroute" ]; then # # Determine how many active interfaces there are and how many pt-pt # interfaces. Act as a router if there are more than 2 interfaces # (including the loopback interface) or one or more point-point # interface. Also act as a router if /etc/gateways exists. # numifs=`ifconfig -au | grep inet | wc -l` numptptifs=`ifconfig -au | grep inet | egrep -e '-->' | wc -l` if [ $numifs -gt 2 -o $numptptifs -gt 0 -o -f /etc/gateways ]; then # Machine is a router: turn on ip_forwarding, run routed, # and advertise ourselves as a router using router discovery. echo "machine is a router."

Have a look at the rest of this file to see what other things get changed.

regards, -- Glenn Satchell glenn@uniq.com.au | "This is a unix system. Uniq Professional Services Pty Ltd ACN 056 279 335 | I can do this easy." PO Box 70, Paddington, NSW 2021, (Sydney) Australia | Phone 02 360 7434 Pager 016 287 000 Fax 02 331 2572 | - Lex, Jurassic Park "Sun Accredited System Consultants" |



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:01 CDT