MAC address & rc.conf

Bob Bomar bob at ibsd.us
Mon Jun 13 19:32:24 GMT 2005


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

Peter wrote:
|    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 at day-light.com
|
|
|
| -----Original Message-----
| From: [2]owner-freebsd-questions at freebsd.org
| [[3]mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Bob Bomar
| Sent: Monday, June 13, 2005 10:42 AM
| To: Peter; [4]questions at freebsd.org
| Subject: Re: MAC address & rc.conf
|
|
| 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"
|

Just add a similar line to the laptop, and change it by
one number i.e.:

00:11:22:33:44:55 Router
00:11:22:33:44:56 Laptop

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

iD8DBQFCrd9C9Jm/aTrtdKoRAt6FAJ934JhWAEI1WbvWy5st+wwXWAE7wACggIuh
qMKwAgd+pwP6E1d6J/uaTEo=
=fGL8
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list