Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2003 01:29:34 -0500
From:      "rob copsey" <robc@execpc.com>
To:        freebsd-newbies@freebsd.org
Subject:   Re: Starting/stopping a network interface
Message-ID:  <200311020629.hA26TZPD097617@mail0.mx.voyager.net>

next in thread | raw e-mail | index | archive | help
A few things to try:

1. Flush the routing table '#route flush'

2. Edit your /etc/rc.conf to establish agreement with the first 2
   sets of digits for the ips of the NICs in your machine. Unless
   you are bridging two networks there is no real reason to scheme
   completly different ips. Instaed of using 192.168.99.2
   and 196.15.176.2, use 192.168.99.2 and 192.168.98.2. The 196.15..
   could cause you grief as it is not an approved address for use on
   an internal network.   

3. If you are bridging, make sure the configuration is correct(see the
   handbook)

4. If you really want this machine to serve nfs you'll want to think
   about enabling the portmapper dameon for 4.x or the bind utility
   for 5.x.

5. You may want to clean house on your rc.conf file as it looks like
   there is some extra stuff in there.

Regards,
RC


> I've searched high and low, but can't find an answer to this 
problem.  Maybe 
> someone could help or point me in the right direction?  Here goes: 
> 
> I've got FreeBSD 4.7 set up with 2 netcards.  One is 192.168.99.2 and 
the 
> other 195.15.176.2 and I've got routing between them enabled.  I 
cannot ping 
> the 192.168.99.2 card even from the console.  Put I can browse the 
web from 
> the machine (I've got X with KDE set up) and also ping other machines 
on the 
> network. 
> 
> Somehow I broke something, but can't find what. 
> 
> The /etc/rc.conf file contains: 
> 
> # -- sysinstall generated deltas -- # Wed Oct 29 18:42:58 2003
> # Created: Wed Oct 29 18:42:58 2003
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides 
from /etc/defaults/rc.conf.
> # -- sysinstall generated deltas -- # Wed Oct 29 21:22:07 2003
> kern_securelevel_enable="NO"
> linux_enable="YES"
> sendmail_enable="NO"
> gateway_enable="YES"
> nfs_server_enable="YES"
> sshd_enable="YES"
> inetd_enable="NO"
> nfs_reserved_port_only="YES"
> hostname="mail.theempire.co.za"
> # -- sysinstall generated deltas -- # Fri Oct 31 21:49:43 2003
> moused_port="/dev/psm0"
> moused_type="auto"
> moused_enable="YES"
> # -- sysinstall generated deltas -- # Sat Nov  1 14:35:34 2003
> ifconfig_rl1="inet 192.168.99.2  netmask 255.255.255.0"
> ifconfig_rl0="inet 196.15.176.2  netmask 255.255.255.0"
> usbd_enable="NO"
> router_flags="-s"
> router="/sbin/routed"
> router_enable="YES"
> gateway_enable="YES"
> defaultrouter="196.15.176.1"
> amd_enable="NO" 
> 
> # -- sysinstall generated deltas -- # Sat Nov  1 18:10:09 2003
> ntpdate_flags="ntp.cs.unp.ac.za"
> ntpdate_enable="YES"
> # -- sysinstall generated deltas -- # Sat Nov  1 19:03:42 2003
> moused_flags="-3"
> moused_type="auto"
> moused_enable="YES" 
> 
> Thanks in advance 
> 
> Roland Giesler
> _______________________________________________
> freebsd-newbies@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-
unsubscribe@freebsd.org"
> 

-- 
CoreComm Webmail. 
http://home.core.com



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