Host Name [was: No route to host]
Roman Neuhauser
neuhauser at bellavista.cz
Mon Nov 24 23:56:07 PST 2003
# MLandman at face2interface.com / 2003-11-10 07:47:26 -0500:
> At 07:06 AM 11/10/2003, Roman Neuhauser wrote:
> ># MLandman at face2interface.com / 2003-11-09 19:00:28 -0500:
> >>
> >> So that third node on the IP addr represents what, the switch?
> >
> > no, it's the subnet. ok, this is not a helpful answer.
>
> But your relating that to the subnet mask later makes total sense, thank
> you I feel enlightened.
glad i could help
> Right now I can only access the fbsd box on my lan via ip addr; I set up a
> hostname but that doesn't seem to be the same as a symbolic name for the
> fbsd machine on my lan.
the hostname=... asignment below is visible only on the machine
itself. suppose I have a machine with 3 network cards, 8 different
IP addresses, and a dozen names that point to those addresses
(sometimes different based on what part of internet you look at it).
what should the machine call itself? that's where you need
hostname(1).
> Here's what /etc/rc.conf looks like:
> ifconfig_ep0="inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP"
> I was surprised when after making this change to rc.conf and rebooting the
> ip addr got changed to something other than what is specified in rc.conf.
>
> $ ifconfig
> ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 192.168.0.222 netmask 0xffffff00 broadcast 192.168.0.255
that could be almost anything. hard to tell from here.
> Finally, how do I enable .history for users other than root, and how do I
> specify how large the shell history may get?
depends on what shell your users use. my commented zsh dotfiles are
available on request.
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
More information about the freebsd-questions
mailing list