RE: Starting/stopping a network interface

From: Roland Giesler (roland_at_thegreentree.org)
Date: 11/03/03

  • Next message: Raakesh Tailor: "help i forgot my password"
    To: <freebsd-newbies@freebsd.org>
    Date: Mon, 3 Nov 2003 11:32:17 +0200
    
    

    Thanks Rob,

    I'm actually brdiging two networks, the "live" address is to my router and
    the "private" one for my network.

    Is there a command to stop the service on a specific card, or does one just
    comment out the appropriate entry en rc.conf?

    Roland

    -----Original Message-----
    From: owner-freebsd-newbies@freebsd.org
    [mailto:owner-freebsd-newbies@freebsd.org]On Behalf Of rob copsey
    Sent: 02 November 2003 08:30
    To: freebsd-newbies@freebsd.org
    Subject: Re: Starting/stopping a network interface

    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
    _______________________________________________
    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"
    _______________________________________________
    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"
    

  • Next message: Raakesh Tailor: "help i forgot my password"

    Relevant Pages

    • Re: Mshome is not accessible
      ... Windows Network, and select the workgroup I get: ... Mshome is not accessible. ... All computers are running Windows XP SP2 and are members of the MSHOME ... Computer A can ping using ping hom100fr001. ...
      (microsoft.public.windowsxp.network_web)
    • Re: Re: Frequent loss of contact with ISP
      ... >> any unusual error messages. ... > is somewhere in the network config, ... I tried to ping the IP address after the word ... To unsubscribe, ...
      (freebsd-questions)
    • Re: ubuntu-users Digest, Vol 76, Issue 173
      ... Interesting read about the future of Ubuntu ... Network problems ... When I use computer two to ping computer one I get some strange results. ... When I open the windows network icon, ...
      (Ubuntu)
    • Re: Network connection lost - Debian Lenny kernel 2.6.26-2-amd64
      ... ping onto the gateway of this server ... My server serves as a apache reverse proxy. ... network connectivity, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Networking borked on new squeeze install
      ... Can you ping a network address outside ... during installation it could not reach the repositories so ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)