I have a router that provides internet access. Connected to this router is a desktop PC that has working
eth0 (static IP address) and
wlan0. Also connected to the router is a laptop which I use to access the desktop over
eth0 via SSH:
Desktop(wlan0,eth0) ---- Router(internet) ---- Laptop(ssh to Dekstop via eth0) // wlan0 should get internet access through eth0 and act as DHCP AP
How do I have to configure (in
/etc/network/interfaces) the bridge on the desktop PC, so that I can keep
eth0 static (same IP address for SSH), but have
wlan0 act as an internet-providing DHCP access point (an access point that dynamically hands out IP addresses to connected devices)?
I know how to configure
hostapd and have
bridge-utils installed. But I did not fully understand how a bridge works. Does the bridge "replace" all bridged interfaces (as seen from "the outside")? If I bridge, what does my router "see" (
eth0 or the bridge)?