Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 95 13:58:38 +0100
From:      Armando Ferreira <armando_ferreira@il.us.swissbank.com>
To:        questions@FreeBSD.ORG
Cc:        suresh_nalluri@il.us.swissbank.com
Subject:   Help ! Problem with FreeBSD on Ethernet 
Message-ID:  <9510111258.AA02584@ln1d278nwk>

next in thread | raw e-mail | index | archive | help
Hi,

I have got two questions:

1- Does anybody know of a (good) book on freeBSD sys admin ?

2 - I am experiencing a problem setting up a local Ethernet. One of the hosts  
(tuna) cannot ping any other host, nor can it be pinged by the others. The  
only ping commands that work from that host are

% ping localhost
% ping tuna

Could it be that I need an entry in /etc/sysconfig for ed0 ? I only have the  
following entries:

network_interfaces="lo0"
ifconfig_lo0="inet localhost"


Any help would be much appreciated.


Thanks,
Armando.

P.S. Below are some of the system files and the output of some TCP/IP related commands.



dmesg | grep ed0
================
ed0 at 0x300-0x31f irq 5 maddr 0xd0000 msize 8192 on isa
ed0: address 00:00:c0:a8:82:2c, type WD8003EP (8 bit)



ifconfig -a
===========
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 194.72.241.1 netmask 0xffffff00 broadcast 194.72.241.255
	ether 00:00:c0:a8:82:2c
lp0: flags=810<POINTOPOINT,SIMPLEX> mtu 1500
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
tun0: flags=10<POINTOPOINT> mtu 1500


hosts
=====
# hosts,v 1.5 1995/04/09 09:54:39 rgrimes Exp
#
# Host Database
# This file should contain the addresses and aliases
# for local hosts that share this file.
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/host.conf for the resolution order.
#
#
194.72.241.1		tuna tuna.dolcom.co.uk
127.0.0.1		localhost
194.72.241.2		porpoise
194.72.241.3		salmon
#
# Imaginary network.
#10.0.0.2		myname.my.domain myname
#10.0.0.3		myfriend.my.domain myfriend
#
# According to RFC 1597, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#	10.0.0.0	-   10.255.255.255
#	172.16.0.0	-   172.31.255.255
#	192.168.0.0	-   192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers.  PLEASE PLEASE PLEASE do not try
# to invent your own network numbers but instead get one from your
# network provider (if any) or from the Internet Registry (ftp to
# rs.internic.net, directory `/templates').
#


netstat -ain
============
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.a8.82.2c            0     0        4     0     0
ed0   1500  194.72.241  194.72.241.1           0     0        4     0     0
lp0*  1500  <Link>                             0     0        0     0     0
lo0   16384 <Link>                            14     0       14     0     0
lo0   16384 127         127.0.0.1             14     0       14     0     0
sl0*  552   <Link>                             0     0        0     0     0
tun0* 1500  <Link>                             0     0        0     0     0


netstat -nr
===========
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
127.0.0.1        127.0.0.1          UH          1       11       lo0
194.72.241       link#1             UC          0        0
194.72.241.1     127.0.0.1          UGHS        0        3       lo0
194.72.241.2     link#1             UHLW        0        3


/etc/networks
=============
#	@(#)networks	5.1 (Berkeley) 6/30/90
#
# Your Local Networks Database
#
#your-net	127				# your comment
#your-netmask	255.255.255			# subnet mask for your-net
#your-net	194.72.241				# your comment
#your-netmask	255.255.255			# subnet mask for your-net


#
# Your subnets
#
#subnet1		127.0.1		alias1		# comment 1
#subnet2		127.0.2		alias2		# comment 2

#
# Internet networks (from nic.ddn.mil)
#

ps -wax
========
  PID TT  STAT      TIME COMMAND
    0 ??  DLs    0:00.00  (swapper)
    1 ??  Is     0:00.01 /sbin/init --
    2 ??  DL     0:00.00  (pagedaemon)
    3 ??  DL     0:00.00  (vmdaemon)
    4 ??  DL     0:00.03  (update)
   40 ??  Ss     0:00.01 routed -q
   58 ??  Ss     0:00.09 syslogd
   64 ??  Is     0:00.00 portmap
   73 ??  Is     0:00.16 inetd
   80 ??  Ss     0:00.02 cron
   82 ??  Is     0:00.02 lpd
   85 ??  Is     0:00.01 sendmail: accepting connections (sendmail)
  139 ??  S      0:01.55 X :0 (XF86_S3)
  149 p0  Is+    0:00.06 -sh (csh)
  150 p1  Ss     0:00.14 -sh (csh)
  182 p1  R+     0:00.01 ps -wax
  151 p2  Is+    0:00.06 -sh (csh)
  126 v0  Is     0:00.14 -csh (csh)
  132 v0  I+     0:00.02 /bin/sh /usr/X11R6/bin/startx
  138 v0  I+     0:00.06 xinit /usr/X11R6/lib/X11/xinit/xinitrc --
  140 v0  I      0:00.25 xterm -geometry 80x66+0+0 -name login
  145 v0  I      0:00.16 twm
  146 v0  S      0:00.10 xclock -geometry 50x50-1+1
  147 v0  S      0:00.47 xterm -geometry 80x50+494+51
  148 v0  I      0:00.22 xterm -geometry 80x20+494-0
  127 v1  Is+    0:00.02 /usr/libexec/getty Pc ttyv1
  128 v2  Is+    0:00.02 /usr/libexec/getty Pc ttyv2


sysconfig
=========
#!/bin/sh
#

# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
#	sysconfig,v 1.14 1995/05/17 04:46:57 rgrimes Exp

######################### Start Of Syscons Section #######################

# Choose keyboard map from /usr/share/syscons/keymaps/* or NO if default.
keymap=NO

# Set keyboard rate to: slow, normal, fast or NO if default.
keyrate=NO

# Change function keys default values (or no change if NO)
# Syntax: "<funkey_number> <new_value> [<funkey_number> <new_value>]..."
keychange=NO

# Desired cursor type {normal|blink|destructive}, NO if no change
cursor=NO

# Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none)
scrnmap=NO

# Choose font 8x16 from /usr/share/syscons/fonts/* (or NO for default)
font8x16=NO

# Choose font 8x14 from /usr/share/syscons/fonts/* (or NO for default)
font8x14=NO

# Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default)
font8x8=NO

# Set blank time (in seconds) or "off" to turn it off (or NO for default)
blanktime=NO

# Set to screen saver desired: blank, green, snake, star (or NO for none)
saver=NO

# General russian setup for example:
# (koi8-r keyboard with cp866 screen font mapped to koi8-r)
#
# keymap=ru.koi8-r
# keyrate=fast
# keychange="61 "
# cursor=destructive
# scrnmap=koi8-r2cp866
# font8x16=cp866b-8x16
# font8x14=cp866-8x14
# font8x8=cp866-8x8
# blanktime=600
# saver=snake

######################### End Of Syscons Section #######################

######################### Start Of Netconfig Section #######################

# Set to the name of your host - this is pretty important!
hostname=tuna.dolcom.co.uk

# Set to the NIS domainname of your host, or NO if none
defaultdomainname=NO

#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options.  If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
#
tcp_extensions=YES

#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
#	network_interfaces="ed0 sl0 lo0"
#	ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#	ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
network_interfaces="lo0"
ifconfig_lo0="inet localhost"

#
# Set to the list of route add lines for this host.  You must have a
# route_${static_routes} line for each static route listed here.
#
static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost"

# Set to the host you'd like set as your default router, or NO for none.
defaultrouter=NO

# These are the flags you'd like to start the routing daemon with
routedflags=-q

# timed flags, or NO if you don't want to start the time daemon
timedflags=NO

# xntpd flags, or NO if you don't want to start the xntpd daemon
xntpdflags="NO"

# this is inoperative unless xntpd is enabled; NO to disable
tickadjflags="-Aq"

# Set to the site you'd like to syncronize your clock from (gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate="NO"

# Set to YES if you want to run rwhod
rwhod=NO

# Default sendmail flags.  -bd is pretty mandatory, -q<n>m sets the queue scan
# time in minutes.  If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q30m"

# Set to appropriate flags if you want to use AMD
amdflags="NO"

# Set to YES if this machine will be an NFS client
nfs_client=NO

# Set to YES if this machine will be an NFS server
nfs_server=NO

# Set to appropriate flags if you want to start NIS for a client
nis_clientflags="NO"

# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"

# Set to appropriate flags for yppasswdd, if you wish to run it.
# Typical flags might be "-m /var/yp/master.passwd -s -f"
yppasswddflags="NO"

# Set to appropriate flags for named, if you have a full-time
# connection to the Internet.
# For most hosts, flags should be "-b /etc/namedb/named.boot"
namedflags="NO"

# Set to YES if you want to run the X-10 power controller daemon
xtend=NO

# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO

# Set to YES if you want to run Kerberos authentication
kerberos_server=NO

# Set to YES if you want to run gated
gated=NO

# Set to YES if you wish to check quotas.  NOTE:  For now this probably
# doesn't work and should be left disabled.
check_quotas=NO

# Set to YES to turn on accounting.  NOTE: For now this probably
# doesn't work and should be left disabled.
accounting=NO


# This stuff needed for proper daemons tuning, comsat f.e.
# See profile and csh.login also.
# Uncomment next line if you want to setup your 8-bit locale at program
# startup automatically
# ENABLE_STARTUP_LOCALE=; export ENABLE_STARTUP_LOCALE
# Uncomment next line to activate russian locale
# LANG=ru_SU.KOI8-R; export LANG
# Uncomment next line to activate italian locale
# LANG=it_IT.ISO8859-1; export LANG
# For full list of locales, check /usr/share/locale/*

######################### End Of Netconfig Section #######################

######################### Start Of Misc Section #######################

# Set to YES if you want ibcs2 (SCO) emulation loaded at startup
ibcs2=NO



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