Re: spoofed MAC on a dhcp interface

From: Paul Schenkeveld (fb-net_at_psconsult.nl)
Date: 07/26/04

  • Next message: Don Bowman: "RE: device polling takes more CPU hits??"
    Date: Mon, 26 Jul 2004 17:06:01 +0200
    To: freebsd-net@freebsd.org
    
    

    Hi,

    On Sun, Jul 25, 2004 at 05:52:57PM -0700, Charlie Schluting wrote:
    > Hi :)
    >
    > /etc/rc.conf:
    > ifconfig_xl0="ether 00:11:11:11:11:11"
    > ifconfig_xl0="DHCP"

    The last assignment takes precedence over the previous one.

    > The above doesn't work..
    > I'm trying to set the mac, and then dhcp.. is this the correct way?

    Set iconfig_xl0="DHCP" in rc.conf, then use a /etc/start_if.xl0 script
    to set the MAC address:

        #!/bin/sh

        ifconfig xl0 ether 00:11:11:11:11:11

    > With this config, its not getting the mac assigned to xl0, so I have to
    > stop dhclient, run "ifconfig ether 00:11:11:11:11:11" manually, then
    > dhcp again.
    >
    > Thanks!
    > -Charlie

    $0.02

    Regards,

    Paul Schenkeveld, Consultant
    PSconsult ICT Services BV
    _______________________________________________
    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: Don Bowman: "RE: device polling takes more CPU hits??"

    Relevant Pages

    • Re: Preventing DHCP from allocating IPs
      ... Each segment is physically separate with a Linux ... unknown MAC addresses firstly don't get a DHCP ... >> wants access to your network, they will have to come to you to obtain ...
      (Security-Basics)
    • Re: Secure your DHCP
      ... I can only think of allocating via dhcp reservation using network card ... Create an exclusion of your whole DHCP scope (So no IP's are free to be ... assign each mac address an Ip address from what was in your pool. ...
      (microsoft.public.windows.server.sbs)
    • Re: static IP addresses on LAN
      ... One Mac is an intel iMac, ... it is connected to the network and internet... ... If I instead configure it to use DHCP, then it gets assigned the wrong IP ... The other possibility is that you have more than 1 router. ...
      (comp.sys.mac.system)
    • Re: works on desk computer but not on wireless laptop
      ... RARP server, the DHCP server, or manually? ... So I chose that and now it wants to know the DHCP Client ID. ... And a 12 character number like a Mac ID. ... The OEM computer MAC address is the same as the DHCP ...
      (alt.internet.wireless)
    • Re: Iptables port 5353 -
      ... I would think she must have access to the DNS server provided by ... don't recall what was done and I am lost whenever I use her Mac ... ... server supplied by the DHCP server. ...
      (Fedora)