rc.conf - setting interface UP without IP-address?

From: Ewald Jenisch (a_at_jenisch.at)
Date: 08/31/05

  • Next message: Hanspeter Roth: "entropy"
    Date: Wed, 31 Aug 2005 11:02:45 +0200
    To: freebsd-questions@freebsd.org
    
    

    Hi,

    I'm looking for a way to set an interface UP using /etc/rc.conf
    without giving the interface an IP-address (i.e. neither static nor
    DHCP)

    Background: The machine in question has three Ethernet-IFs - one
    connects to the LAN (and has an IP-address) the other two are used for
    monitoring traffic via ethereal only. For security reasons I don't
    want to assign IP-addresses to the two "ethereal-only" interfaces -
    but I need them "UP".

    Sure enough I can "up" these interfaces manually but I want them up at
    boot-time.

    I've tried with entries like e.g.

    ifconfig_fxp1=""
    ifconfig_fxp1="UP"

    in my /etc/rc.conf - none of these work.

    So what should I configure in /etc/rc.conf in order to get the
    interfaces UP?

    BTW - ethereal only recognizes interfaces that are in the "UP" state.

    Thanks much in advance for any clue,
    -ewald

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Hanspeter Roth: "entropy"

    Relevant Pages

    • Re: rc.conf - setting interface UP without IP-address?
      ... On 31 Srpen 2005, 11:02, Ewald Jenisch napsal: ... > without giving the interface an IP-address ... connects to the LAN the other two are used for ... to assign IP-addresses to the two "ethereal-only" interfaces - but I ...
      (freebsd-questions)
    • Re: LAN failover redundandcy?
      ... I'm looking for a way to configure failover redundancy for one of my ... The server in question has one IP-address but two LAN interfaces each ...
      (freebsd-questions)
    • Bridging
      ... I'm heavily working on a filtering bridge with FreeBSD 5.2-RELEASE... ... First I tried to configure the host with three interfaces: ... bge1) where bge0 also has an IP-address. ...
      (freebsd-net)
    • LAN failover redundandcy?
      ... I'm looking for a way to configure failover redundancy for one of my ... The server in question has one IP-address but two LAN interfaces each ...
      (freebsd-questions)
    • Re: ARP behavior in FreeBSD vs Linux
      ... >> address assigned to the interface through which the ARP request is ... Linux kernels. ... because I didn't want to have that certain IP-address accessible. ... this happens only when you have two interfaces connected to ...
      (freebsd-net)