Re: Changing out network card

From: Ryan Thompson (ryan_at_sasknow.com)
Date: 08/03/03

  • Next message: Hiten Pandya: "Re: Netgraph node, first steps in kernel land and a bloody crash dump"
    Date: Sun, 3 Aug 2003 14:57:14 -0600 (CST)
    To: Chuck Swiger <cswiger@mac.com>
    
    

    Chuck Swiger wrote to Nick:

    > Nick wrote:
    > > I have a server running DHCPD, FTP, DNS (namedb), and OpenSSH. My
    > > current network card is a 3Com 10mbit. I want to change it out for
    > > another network card, but make it a 3com 100mbit. Am I going to
    > > have to reconfigure my DHCP, DNS and OpenSSH to use this new
    > > interface, or is there another way of getting around all of that?
    >
    > Services usually care about IP addresses, not interface names. You
    > will need to change the interface name in /etc/rc.conf, but that
    > should be it.

    Actually, dhcpd cares about interfaces, too.. as does natd, if you're
    running that. See dhcpd_interface in /usr/local/etc/rc.isc-dhcpd.conf,
    and the "interface" parameter for natd, which could be in /etc/rc.conf
    as natd_interface, or passed manually in /etc/rc.conf natd_flags, or
    perhaps buried in a configuration file specified with the -f parameter
    to natd.

    Also, you might want to try this as root:

        grep -IR if0 /etc /usr/local/etc

    Where if0 is the name of your current interface. For most systems, that
    should catch just about everything.. but it'd be better to maintain a
    list of places where you've had to enter your interface.

    - Ryan

    -- 
      Ryan Thompson <ryan@sasknow.com>
      SaskNow Technologies - http://www.sasknow.com
      901-1st Avenue North - Saskatoon, SK - S7K 1Y4
            Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
      Toll-Free: 877-727-5669     (877-SASKNOW)     North America
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Hiten Pandya: "Re: Netgraph node, first steps in kernel land and a bloody crash dump"

    Relevant Pages

    • Re: multiple natd + ipfw, with 2 internal ips
      ... I have a little problem with my natd or ipfw configuration. ... Well you could if you set your internal interface to be in promiscuous mode and set proxy arp for that address ... is the next hop router, it uses ARP to find the MAC address of this router. ...
      (freebsd-net)
    • RE: Routing With Two ISPs?
      ... >> on one interface, is there a way to make the outgoing packets from my ... First off, in /etc/services copy the natd line and rename it natd2, change ... the port number to 8669 as well. ... you have divert rules in place for both natd interfaces. ...
      (freebsd-net)
    • Re: Forward and NAT question
      ... Subject: Forward and NAT question ... If you're running NATD, you have at least 2 interfaces, this has to be ... access to the external interface where NATD is by default listening. ... - Packet is inbound via internal interface ...
      (freebsd-questions)
    • natd and ipfw external hangs
      ... em0 - external interface to the net 24.205.x.x ... natd seems to be doing the right thing. ... $IPFW 10 allow all from any to any via sk0 ... # Interface facing Public Internet ...
      (freebsd-questions)
    • Re: Re[6]: mpd pppoe client problems
      ... I used to use ipfw as a firewall.. ... and natd makes too heavy cpu load. ... your interface goes up. ... How can I make those applications bind to the new ...
      (freebsd-net)