Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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 two machine Host A and Host B. Host A has ethernet card and Host B has ethernet card and wifi card running in ad hoc mode. i want to ping from my ethernet card the Host B's wifi card. My ethernet cards are in same subnet while the wifi card on Host B is in different subnet. how can i ping this using iptables or netfilter hooks i am using fedora 7
Thanks in advance
HI
Thanks for reply
I am giving static IPs Host A
ethernet Ip
192.168.1.1 Host B
ethernet
192.168.1.2
wifi
192.168.2.1
I am not using any router. To perform ping across subnet i give Host own Ip as the default gateway
I have successfully able to ping two systems with different subnets on ethernet
I also has successfully ping the systems using wifi cards in different subnets in the same way
Now what i want to do is to ping from 192.168.1.1, the wifi (192.168.2.1)
i think i should use iptables but i dont know how
we are using class-less routing. I have these machines connected through a switch. I want to use HOST B as a special purpose gateway between LAN and WLAN users. So i want almost all traffic coming at ethernet card of Host B to be routed on the Wi-Fi card of Host B. and similarly all the traffic coming on Wi-Fi of host B to be routed on Ethernet card of Host B. I hope IPtables can do the job for me.
Secondly I want to make some changes before forwarding these packets from one network to other (say from LAN to WLAN). I thing netfilter hooks or something similar will be benificial for me. what commands should i use from IPtables and what events should i register to alter (temper the data packets) the traffic.
Last edited by tassadaque; 09-03-2008 at 03:11 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.