Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.