Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 1998 11:54:25 -0400
From:      Murad <murad@magi.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Networking Problems
Message-ID:  <E0yVI8m-0001w3-00@mail1.toronto.istar.net>

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


I'm having networking problems and I'm stumped.  I think it's probably
something straightforward that I'm missing but I'm out of ideas.

I have a laptop that I can connect on one network without a problem so I
think the ethernet card is setup okay.

I can't seem to get it working on the other network (which is of course the
one I really want :)   I hope someone can help me out.

I'm using FreeBSD 2.2.5 with PAO installed.  ep0 driver for a 3COM589D

On both networks everything seems to boot okay but on the 172 I always get
'host is down' when I try to ping from my box.  I also can't ping my box
from others on the 172.

Here's part of my rc.conf, netstat -rn, ifconfig ep0 for the one that WORKS:
RC.CONF
##############################################################
### Important initial Boot-time options  #####################
##############################################################

swapfile="NO"           # Set to name of swapfile if aux swapfile desired.
apm_enable="YES"        # Set to YES if you want APM enabled.
pccard_enable="YES"     # Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT"    # If pccard_enable=YES, this is card memory address.
pccard_beep="2"         # 0:silent, 1:simple beep, 2: melody
pccard_ifconfig="NO"    # Specialized pccard ethernet configuration (or NO).
#pccardd=/stand/pccardd # Absolute pathname of pccard daemon
#pccardc=/stand/pccardc # Absolute pathname of pccard control utility
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.


##############################################################
###  Network configuration sub-section  ######################
##############################################################

### Basic network options: ###
hostname="myname.my.domain"     # Set this!
nisdomainname="NO"              # Set to NIS domain if using NIS (or NO).
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
firewall_quiet="NO"             # Set to YES to suppress rule display
tcp_extensions="YES"            # Allow RFC1323 & RFC1644 extensions (or NO).
network_interfaces="lo0"        # List of network interfaces (lo0 is loopback)
ifconfig_lo0="inet 127.0.0.1"   # default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entr

### Network daemon (miscellaneous) & NFS options: ###
..
### Network routing options: ###
defaultrouter="yyy.zz.157.61"   # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
gateway_enable="NO"             # Set to YES if this host will be a gateway.
router_enable="NO"              # Set to YES to enable a routing daemon.
router="routed"                 # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
mrouted_enable="NO"             # Do multicast routing (see /etc/mrouted.conf)
ipxgateway_enable="NO"          # Set to YES to enable IPX routing.
ipxrouted_enable="NO"           # Set to YES to run the IPX routing daemon.
ipxrouted_flags=""              # Flags for IPX routing daemon.
arpproxy_all=""                 # obsolete kernel option ARP_PROXY_ALL equiv.

pccard_ether="ed0 ep0 fe0 sn0"  # Pccard ethernet interfaces (or NO).
ifconfig_common="inet yyy.zz.157.137 netmask 255.255.255.0"
ifconfig_ed0=$ifconfig_common
ifconfig_ep0=$ifconfig_common
ifconfig_fe0=$ifconfig_common
ifconfig_sn0=$ifconfig_common

NETSTAT -RN
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            yyy.zz.157.61      UGSc        0        0       ep0
127.0.0.1          127.0.0.1          UH          0       16       lo0
yyy.zz.157/24      link#5             UC          0        0
yyy.zz.157.61      link#5             UHLW        1        0

IFCONFIG
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet yyy.zz.18.157.137 netmask 0xffffff00 broadcast yyy.zz.157.255
        ether 00:60:97:94:af:d2

For the network that DOES NOT work:
RC.CONF
### Important initial Boot-time options  #####################
##############################################################

swapfile="NO"           # Set to name of swapfile if aux swapfile desired.
apm_enable="YES"        # Set to YES if you want APM enabled.
pccard_enable="YES"     # Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT"    # If pccard_enable=YES, this is card memory address.
pccard_beep="2"         # 0:silent, 1:simple beep, 2: melody
pccard_ifconfig="NO"    # Specialized pccard ethernet configuration (or NO).
#pccardd=/stand/pccardd # Absolute pathname of pccard daemon
#pccardc=/stand/pccardc # Absolute pathname of pccard control utility
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.


##############################################################
###  Network configuration sub-section  ######################
##############################################################

### Basic network options: ###
hostname="myname.my.domain"     # Set this!
nisdomainname="NO"              # Set to NIS domain if using NIS (or NO).
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
firewall_quiet="NO"             # Set to YES to suppress rule display
tcp_extensions="YES"            # Allow RFC1323 & RFC1644 extensions (or NO).
network_interfaces="lo0"        # List of network interfaces (lo0 is loopback)
ifconfig_lo0="inet 127.0.0.1"   # default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entr

### Network daemon (miscellaneous) & NFS options: ###
..
### Network routing options: ###
defaultrouter="172.18.0.36"     # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
gateway_enable="YES"            # Set to YES if this host will be a gateway.
router_enable="NO"              # Set to YES to enable a routing daemon.
router="routed"                 # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
mrouted_enable="NO"             # Do multicast routing (see /etc/mrouted.conf)
ipxgateway_enable="NO"          # Set to YES to enable IPX routing.
ipxrouted_enable="NO"           # Set to YES to run the IPX routing daemon.
ipxrouted_flags=""              # Flags for IPX routing daemon.
arpproxy_all=""                 # obsolete kernel option ARP_PROXY_ALL equiv.

pccard_ether="ed0 ep0 fe0 sn0"  # Pccard ethernet interfaces (or NO).
ifconfig_common="inet 172.18.0.202 netmask 255.255.0.0"
ifconfig_ed0=$ifconfig_common
ifconfig_ep0=$ifconfig_common
ifconfig_fe0=$ifconfig_common
ifconfig_sn0=$ifconfig_common

NETSTAT -RN
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            172.18.0.36        UGSc        0        0       ep0
127.0.0.1          127.0.0.1          UH          0       16       lo0
172.18             link#5             UC          0        0
172.18.0.36        link#5             UHLW        1        0

IFCONFIG
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 172.18.0.202 netmask 0xffff0000 broadcast 172.18.255.255
        ether 00:60:97:94:af:d2


I can access the 172 with Win95 but not FreeBSD.  I tried playing with the
"gateway-enable" option because I believe the 172 network doesn't have a
'proper gateway'.

Does anyone have any ideas?
Any help would be appreciated.

A somewhat frustrated new FreeBSD user


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0yVI8m-0001w3-00>