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.
hi,
If you want to learn any applications about how they work then you can start directly by downloading its binary as well as source package.
Read source and understand how flow is going on.Make changes as per your need and enjoy the Open source world.
Thats it all you need
As for my previous questions on reading source code, programs like iptables are really big..so many files involved..don't know where the program starts or ends..in what file does iptables code start?
I disabled on the PC on which i'm doing MAC DNAT of IP traffic using ebtables. However, when I try to ping, it doesn't work. I think the ARP request is sent before MAC DNAT happens. i.e., when the IP packet is created and the Ethernet frame header is to be added. Since ARP is disabled, no request is sent and the packet is not sent to ebtables's code for MAC DNAT.
Actually, I have 3 PCs (192.168.10.1, 192.168.10.2, 192.168.10.3) with MAC addresses E1, E2 and E3 respectively. All 3 PCs are connected to the same Cisco switch.
Ipv4 traffic from E1 to E2 is MAC DNATed to E3. Hence E1 talks to E2
via E3, and vice-versa. However, I have MAC ACLs configured on the
Cisco switch. Traffic should have E3 as destination MAC address in
order to be accepted by the switch. Otherwise it is dropped.
The problem is that ARP packets are dropped as well since they have a broadcast destination MAC address. I tried MAC DNATing ARP packets to E3 but I don't know what to do when they arrive at E3. How do I fwd these arp requests to correct destination from E3? What can I do to make this system work?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.