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
You should have an IPaddr and netmask from your dhcp server. Assign these
numbers to your br0 and things should work as you wish
----- 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
> 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= 220.127.116.11
> HostAP wlan0= ?
> DHCPserver on LAN configured to give IP= 18.104.22.168 to 22.214.171.124
> Thanking you,
> Anand S. Katti
> HostAP mailing list
> HostAP at shmoo.com
More information about the HostAP