LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2004, 07:35 PM   #1
meeble
LQ Newbie
 
Registered: Mar 2004
Distribution: RedHat / slackware
Posts: 13

Rep: Reputation: 0
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
 
Old 09-10-2004, 08:46 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
could you post the iptables script for analysis??
 
Old 09-10-2004, 10:25 PM   #3
meeble
LQ Newbie
 
Registered: Mar 2004
Distribution: RedHat / slackware
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 09-10-2004, 11:37 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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.
 
Old 09-11-2004, 01:13 PM   #5
meeble
LQ Newbie
 
Registered: Mar 2004
Distribution: RedHat / slackware
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
How to control the bandwidth by clients' MAC address(in REdHat 7.2)? yuzuohong Linux - Networking 1 05-12-2002 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration