Re: Bridging wifi to ethernet



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5 Feb 2006 at 14:19, Les Mikesell wrote:

From: Les Mikesell <lesmikesell@xxxxxxxxx>
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Date sent: Sun, 05 Feb 2006 14:19:53 -0600
Subject: Re: Bridging wifi to ethernet
Send reply to: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
<mailto:fedora-list-request@xxxxxxxxxx?subject=unsubscribe>
<mailto:fedora-list-request@xxxxxxxxxx?subject=subscribe>

On Sun, 2006-02-05 at 13:58, Douglas Phillipson wrote:

My LUG recently had to move to a Library with WIFI access only. Running
FC4 on my HP Pavilion laptop, how specifically, can I bridge my WIFI
interface (eth1) over to my eth0 interface so I can hook in all the
wired ethernet users to get access to the WIFI networks DHCP server? I
don't have to recompile a Kernel I hope... I can still use my laptop
normally while I'm bridging for everyone else I hope?


A simpler approach that is also more likely to work would be
to set up a different private address range on the wired side
and a dhcp server for it, then route and NAT to the wireless
interface. The only tricky part is that you either have
to run your own caching dns server and point the dhcp clients
to it, or you'll have to pick up the DNS server you receive
from the wireless DHCP and edit your dhcpd.conf to pass that
on to the clients.


The magic part I don't know how to do is "route and NAT". Can you
point me to an example on how to route and NAT between interfaces? Is
this a IPTables thing?

You just need to:
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

And make sure any other firewalling lets what you need through.
You should get a default route via dhcp on the wireless side
and one will be added by the netmask for your private wired
side so you don't need to add any extra routes.


You might also want to look at running a squid proxy server on the machine,
and have the clients use it. That way if you are going to the same sites, you
won't be downloading multiply copies of all the materials.




--
Les Mikesell
lesmikesell@xxxxxxxxx


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes@xxxxxxxxxxxxxxxx
mailto:msetzerii@xxxxxxxxx
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+

http://setiathome.berkeley.edu
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)


BOINC Seti@Home Total Credits 377412.601520


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBQ+XVcCzGQcr/2AKZEQKTqgCfTFD3fkRVAI2qjwxyZ9nbdTTnDcoAoLVp
Wo5augnm3Vk1U6mNIcZO2ASL
=Nmes
-----END PGP SIGNATURE-----

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Cannot get NAT to route in RRAS
    ... The basic problem is that you are using an ADSL modem on the server. ... I would suggest that you set up a demand-dial interface to act as the ... Static Route wizard, create a default route using this interface (ie put ...
    (microsoft.public.win2000.ras_routing)
  • Re: Cannot get NAT to route in RRAS
    ... ADSL Link was set as the Public interface in NAT, ... The static route also adds in fine using the ADSL Link interface, ... separate DNS server handles client’s requests, ... > Internet connection. ...
    (microsoft.public.win2000.ras_routing)
  • Re: Unable to obtain a server assigned IP address
    ... I see that I can still get an address from the DHCP server on ... What about the DHCP registry flag per question below? ... In the connections panel three adapters are listed: ... this seems to be the interface that it is ...
    (microsoft.public.pocketpc.activesync)
  • Re: Some Questions about setting up a 9.3 box as a router
    ... >>my Linksys router using DHCP. ... >>interface but how can I grab nameserver information from the external ... then no nameserver information is distributed via DHCP ... > A better way is to set up your own name server on your lan. ...
    (alt.os.linux.suse)
  • Re: Some Questions about setting up a 9.3 box as a router
    ... > my Linksys router using DHCP. ... > interface but how can I grab nameserver information from the external ... then no nameserver information is distributed via DHCP ... A better way is to set up your own name server on your lan. ...
    (alt.os.linux.suse)