Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2005 18:57:21 +0300
From:      Peter <bivol@bivol.net>
To:        john@day-light.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MAC address & rc.conf
Message-ID:  <42ADACE1.8070008@bivol.net>
In-Reply-To: <NHBBKEEMKJDINKDJBJHGEEIHJDAD.john@day-light.com>
References:  <NHBBKEEMKJDINKDJBJHGEEIHJDAD.john@day-light.com>

next in thread | previous in thread | raw e-mail | index | archive | help

   I am also curios and I will found out :)
   Peter
   John Brooks wrote:

just curious...

what happens when your 'router' and your 'laptop' both have the
same MAC address?

--
John Brooks
[1]john@day-light.com



-----Original Message-----
From: [2]owner-freebsd-questions@freebsd.org
[[3]mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Bob Bomar
Sent: Monday, June 13, 2005 10:42 AM
To: Peter; [4]questions@freebsd.org
Subject: Re: MAC address & rc.conf


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter wrote:
|    Hi,
|    My ISP have aauthorization by username, password AND mac address.
|    I currently make PPPoE connection from my laptop(win XP) to them.
|    However I want to put FreeBSD router in front of my laptop.
|    That is why I will need to make MAC address of outgoing ethernet card
|    same as my laptop.
|    I plan to make bash script(ifconfig down, ifconfig up)  for that
|    purpose.
|    However I prefer a little bit cleaner solution ...
|     is there any way I can set MAC address for the network card in
|    rc.conf ?
|    Thanks :-)))
|    Kind regards,
|    Pete
|

When the system boots, it will read rc.conf, and then
it will pass the ifconfig_inf="..." to ifconfig, so
what I do is just to add ether aa:bb:cc:dd:ee:ff to
that line:

ifconfig_fxp0="inet 1.2.3.4 netmask 255.0.0.0 ether aa:bb:cc:dd:ee:ff"



- --
Bob Bomar
[5]bob@bomar.us
[6]http://www.bomar.us/~bob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - [7]http://enigmail.mozdev.org

iD8DBQFCralK9Jm/aTrtdKoRAlFFAJ93Y0XL7OMbJcdhFvBxQP3XEtzP6QCeOHIQ
8m1uyAMjW8F1SW0E/HNYFBA=
=d5HD
-----END PGP SIGNATURE-----
_______________________________________________
[8]freebsd-questions@freebsd.org mailing list
[9]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[10]"freebsd-questions-unsubscribe@freebsd.org"



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

References

   1. mailto:john@day-light.com
   2. mailto:owner-freebsd-questions@freebsd.org
   3. mailto:owner-freebsd-questions@freebsd.org
   4. mailto:questions@freebsd.org
   5. mailto:bob@bomar.us
   6. http://www.bomar.us/~bob
   7. http://enigmail.mozdev.org/
   8. mailto:freebsd-questions@freebsd.org
   9. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  10. mailto:freebsd-questions-unsubscribe@freebsd.org
  11. mailto:freebsd-questions@freebsd.org
  12. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  13. mailto:freebsd-questions-unsubscribe@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42ADACE1.8070008>