I'm trying to understand network bridging (not hardware but software implementation), but get some misunderstanding.
A network bridge connects two parts of a network together. For example my computer is connected to a local network throught eht0
and to the Internet throught wlan0
. To share the internet connection in the local network I need to connect wlan0
and eth0
by network bridge. But why my routing table is not giving the same result without network bridge? I have the internet access, hence the routing table contains entries, that all outward packets should be passed through wlan0
, hence packets that come from local network as well as generated by me should be passed through wlan0
.
- Where is my mistake?
- How does network bridge fits in routing table ideology?