WLAN-HostAP-Router-Ethernet LAN

Patrick Tran tptran at swissinfo.org
Sat Jan 3 11:54:49 EST 2004


you don't need IPaddr for either Ethernet Interface or Wireless Interface.
Create a bridge , add these two interfaces into, bring it up

ifconfig eth0 0.0.0.0
ifconfig wlan0 0.0.0.0
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 wlan0
ifconfig br0 up

Then request IPaddr for eth0
    dhclient eth0
You should have an IPaddr and netmask from your dhcp server. Assign these
numbers to your br0 and things should work as you wish

 Patrick Tran

----- Original Message ----- 
From: "Anand S. Katti" <askatti at ece.iisc.ernet.in>
To: <hostap at shmoo.com>
Sent: Sunday, January 04, 2004 12:11 AM
Subject: WLAN-HostAP-Router-Ethernet LAN


> Hello All,
>
> I have a strange problem, its like this.
>
>
> DHCP-SERVER Desktop_Machine+HostAP-----Laptop[DHCP CLIENT]
>    | |
> ========================================
>
>
> === = Ethernet LAN
>
> HostAP is installed on a Machine that is connected to LAN WITH PUBLIC IP.
> The idea is, on a LAN we are running one DHCP server, A desktop
> machine with hostap installed is connected to that same LAN with public
> IP.
>
> Now What should be the IP address of the wireless intercace of the hostap
> on this machine must be? I want to serve wireless CLIENTS with public IP
> address from DHCP server with hostap acting as Access Point.
>
> HostAP machine eth0= 144.16.94.102
> HostAP        wlan0= ?
> DHCPserver on LAN configured to give IP= 144.16.94.195 to 144.16.94.200
>
> Thanking you,
> Anand S. Katti
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>




More information about the HostAP mailing list