From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 19:32:24 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A4B416A41C for ; Mon, 13 Jun 2005 19:32:24 +0000 (GMT) (envelope-from bob@ibsd.us) Received: from chaos.fxp.org (chaos.fxp.org [216.155.111.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E6D43D1F for ; Mon, 13 Jun 2005 19:32:23 +0000 (GMT) (envelope-from bob@ibsd.us) Received: from localhost (localhost.fxp.org [127.0.0.1]) by chaos.fxp.org (Postfix) with ESMTP id 9ECE828421; Mon, 13 Jun 2005 15:32:23 -0400 (EDT) Received: from chaos.fxp.org ([127.0.0.1]) by localhost (chaos.fxp.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 55843-01-8; Mon, 13 Jun 2005 15:32:19 -0400 (EDT) Received: from [10.0.1.196] (ip68-101-86-100.ga.at.cox.net [68.101.86.100]) by chaos.fxp.org (Postfix) with ESMTP id 58D032841F; Mon, 13 Jun 2005 15:32:19 -0400 (EDT) Message-ID: <42ADDF43.1040002@ibsd.us> Date: Mon, 13 Jun 2005 15:32:19 -0400 From: Bob Bomar User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter , questions@freebsd.org References: <42ADACE1.8070008@bivol.net> In-Reply-To: <42ADACE1.8070008@bivol.net> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fxp.org Cc: Subject: Re: MAC address & rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 19:32:24 -0000 -----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@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 | | | 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@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-----