[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rewrite MAC-adr on outgoing packages?



On Wed, Jan 24, 2001 at 06:15:23PM +0100, Jörn Engel wrote:
> 
> > > and of incoming ones (tough).
> > 
> > Do I realy need to do this? And why in that case?
> 
> The response will be send back to the source of the original package. Since
> your linux box seems to be the source for every package, it will receive
> every response. And what do you do with unwanted letters? :)

Drop them in the bin ;-) All the pakages i want to handel is IP pakages. 
I want to make sure nothing with anything else then my MAC-address ever 
goes out, but I can just as well stop it as change it if it is not IP 
pakages.

> [good expanation removed]
>
> Every time, the IP package will receive a new ethernet header and your
> cablemodem will only see one MAC address.

My box route IP pakages between eth0 and eth1. That is working and if I 
understand You, these pakages do always get the MAC-address of the 
interface (eth-card) they leaving. Good, then IP pakages is no problem. 

> I am not very sure about arp-proxy, but a bridge will forward any package
> without touching it. 

Is linux bridging other stuff (then IP) betwen eth0 and eth1? Is that how 
ARP get thru? ARP is not IP i beleve?

If the kernel (or somthing) is bridging, is that possably to turn off?

If the kernel is nor bridging, how do wrong MAC-addresses get trhu? Is 
the MAC-adresses hiding in the data part of IP pakages? Is ARP working 
in this way?

Sorry, alot of questions ;-)

Thanks /Lars

-- 
Lars Hallberg                         Micro++  www.micropp.se/
Freeware * C/C++ * Python * Linux * Debian * HTML * Javascript



Reply to: