NetFilter
[Top] [All Lists]

Re: ip routing after changing mac address to a virtual one

To: "first last" <doctor_konkord@yahoo.com>
Subject: Re: ip routing after changing mac address to a virtual one
From: Mike <1100100@gmail.com>
Date: Sun, 26 Nov 2006 09:40:15 -0500
Cc: netfilter@lists.netfilter.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V7AlxZ9PG3g08leBsN+pw81EmKl9b6nljut8aDlJOhCEp6aAIjOU6VF4cQMCAVh6AlFGDKejE1fxl4E0G1xTYjdw7OyVTiHQ9Km05JIzxu7Zbb9XYy8EQI2J8KQLsQHXrrN13HySdwBdfNVS0+QfyjoiZ/oTiUMNMuDpQIQ1zhY=
In-reply-to: <853427.9340.qm@web50110.mail.yahoo.com>
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
References: <853427.9340.qm@web50110.mail.yahoo.com>
Sender: netfilter-bounces@lists.netfilter.org
trying to understand your question better -- does eth1 use dhcp to get
a connection from the ISP?

On 11/25/06, first last <doctor_konkord@yahoo.com> wrote:
Hi all.

 I have a SuSE Linux box with two network interfaces.
An ethernet which I use to connect to the ISP, and a
wireless interface to share Internet with my room
mate. The problem is when I change the MAC address of
my ethernet card (eth1) in order to get a different IP
address from ISP, iptables no longer does the
masquerading, thus my friend can't access to the
Internet anymore. I try to restart iptables but
nothing happens. Our guess is that iptables uses real
mac addresses of network interfaces to forward and NAT
ip packets, so it doesn't work with virtual MAC
address.

can anyone please suggest a solution to this issue?

Thank you very much



____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




<Prev in Thread] Current Thread [Next in Thread>