From: Andy Cohen <acohen () cognex ! com>
To: tru64-unix-managers
Subject: SUMMARY: network settings
Date: Tue, 13 Jun 2000 20:45:08 +0000 [thread overview]
Message-ID: <96092924821626.tru64-unix-managers.marc@archive.invalid> (raw)
Original post:
We're trying to bring a new DS20E online but we're having diffuculty getting
onto the network. When issuing "ping server_name" the server_name gets
resolved to an ip address but then ping fails. With netconfig we've set the
subnet mask to 255.255.0.0 (which our network says it should be) but I
noticed that when we issue a show (or show ew*) in single user mode there
are several settings that look like they may have something to do with
subnet and they're all set to 0. I've scoured all the manuals I've got
including the Network Administration manual for what these mean but I can't
find a definition. Can somebody help?
All of these are 0.0.0.0
ewa0_def_inietaddr
ewa0_def_ginietaddr
ewa0_def_sinietaddr
ewa0_def_subnetmask
ewa0_def_ginietaddr
I would expect to see ewa0_def_subnetmask set to 255.255.0.0. What am I
missing?
SUMMARYS:
You are basically confusing the Eprom setting (done at the >>> prompt) and
the network settings, they really have nothing to do with each other except
for the EWA0_MODE which determines the speed and duplex modes for the
interface. Normal settings for this can be:
ewao_mode = fast (this is for 100Mbit single)
ewa0_mode = fastfd (this is for 100Mbit Duplex)
ewa0_mode = twisted = 10Mbit single
set ewa0_mode = ? will give you the exact options for your interface card.
From the Net Mask you are using, your network appears to be a class B
system and you should have a Gateway, Sub Net Mask, Broadcast Mask and an IP
address assigned to the interface. Netconfig will set these items up for
you and it is critical that these items meet the specs for your network.
....
These look like console settings. If this is the case you can ignore them
for the most part. What is the output from ifconfig -a and netstat -r?
...
A couple of things - 1st - the thing you are pinging may have ping turned
off. Our network manager here has been very nasty about because that is one
of the way hackers can get at you.
Secondly, network stuff isn't called until init 2 or init 3 (double check
/etc/rc2.d links to see when the network stuff is called). So in single
user mode, none of the network stuff should be functional. (Which is why it
is called single user!)
When you come up to multi user, do a netstat -nr and double check that you
have a default route. Usually that is the "router/switch" that the network
types have. Also, try to ping yourself. If you can't, there is something
wrong much earlier than network settings.
...
How have you got routing set up? If at all possible use static routes.
Things will tend to be a bit more reliable. You can also try a couple
of local ping tests eg ping localhost and ping 0 which should get a reply
from whatever the nearest router is. Try it with a static route but flush
the routing tables first.
route flush
ruote add default <ip address of local router>
ping external test host.
...
You are confusing console firmware with single user mode. They are NOT the
same thing. Those are console variables, and in most cases, have nothing to
do with the operation of the device once you're running UNIX.
If you are trying to boot the system over the network (because you have got
a server that supports remote installations), then make sure the system has
been registered with the server and that there are no impediments to the
flow of bootp and tftp and nfs traffic between the new system and the server
that is supposed to support installation. There is a book about setting up
remote installation environments, and it documents the rules.
Otherwise, the console environment variables largely don't matter.
Thanks!
Andy
SOLUTION:
We went over every setting we could think of and still couldn't get on the
network. We asked the network guy to replace the cable, which he did, and
then we were fine.
reply other threads:[~2000-06-13 20:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox