Starting/stopping a network interface

Roland Giesler roland at giesler.za.net
Sat Nov 1 11:27:49 PST 2003


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


More information about the freebsd-newbies mailing list