LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mac address being forwarded in redhat? (http://www.linuxquestions.org/questions/linux-networking-3/mac-address-being-forwarded-in-redhat-228359/)

meeble 09-08-2004 07:35 PM

mac address being forwarded in redhat?
 
Hello,

I have run into some odd networking behaviour while trying to do some iptables rules involving mac addresses on my RH9 & Fedora boxes. Here's the scenario:

I'm on my home OSX box (mac address: 00:11:22:33:44:55)
and I ssh into a Fedora box 1 (mac: 44:33:22:44:33:22)
while connected to Fedora box 1, I ssh to a RedHat9 box 1.

Now, when i do an "arp" on the RedHat9 box, it shows the mac address of
my home OSX box... i.e.:
"fedorabox1.domain.com ether 00:11:22:33:44:55 C eth0"

What is causing the Fedora box to forward my home OSX box mac address?

Next, I tested this scenario:

I'm on my home OSX box (mac address: 00:11:22:33:44:55)
and I ssh into another OSX box 2 (mac: 77:11:77:11:77:11)
while connected to OSX box 2, I ssh to RedHat9 box 1.

Then, when i do an "arp" on the RedHat9 box, it shows the mac address of
my OSX box 2 (which is what I would expect) i.e.:
"osxbox2.domain.com ether 77:11:77:11:77:11 C eth0"

In order to double check this, I turned on logging for iptables. Truly, the mac address
is being forwarded - I just want to know how to turn it off!

Thanks,
meeble

win32sux 09-10-2004 08:46 PM

could you post the iptables script for analysis??

meeble 09-10-2004 10:25 PM

Quote:

Originally posted by win32sux
could you post the iptables script for analysis??
There is no iptables script - i was planning on doing some iptables work
with mac addresses - which lead me to this discovery, but as of now,
iptables has no entries.

chort 09-10-2004 11:37 PM

You haven't stated how the various boxes are connected. Any box plugged into the same hub or switch will be able to see the MAC address of any other box.

meeble 09-11-2004 01:13 PM

chort,

All of the boxes at the office are on one network sharing the same C block of IPs. My home OSX box is, ahem, at home. Yet, the redhat boxes are forwarding the MAC address of my home box when ssh'ing through them, but the OSX boxes are not.

thanks,
meeble


All times are GMT -5. The time now is 11:13 PM.