From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martijn Lievaart Subject: Re: ip routing after changing mac address to a virtual one Date: Sun, 03 Dec 2006 23:03:54 +0100 Message-ID: <457349CA.9060006@rtij.nl> References: <20061130164505.99758.qmail@web50103.mail.yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061130164505.99758.qmail@web50103.mail.yahoo.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: first last Cc: netfilter@lists.netfilter.org first last wrote: >Hi Mike, > >Yes, eth1 gets its IP address from DHCP server. DHCP >server always gives me the same IP address because it >knows my MAC address. So I only can get a different IP >address by changing my MAC address. > > [ Please don't toppost ] Try to shutdown the interface, change the MAC, then bring the interface back up. Masquerading is a bit strange and I'm not completely sure what will work when. However, this way, it should definately work. HTH, M4