The situation:
A server with two wired Ethernet cards
rl0 to the outside (ISP)
rl1 to the local network (
The server does routing NAT and DHCP; pf is enabled (quite a normal
situation ;-)

The NEW situation (802.11-to-ethernet bridge)
I will add a wireless card to the server. This way my notebook and my
(nintendo) DS will have access to the internet.

As I understand it after reading articles, the handbook and man
if_bridge it goes like this:

NOW I have in rc.conf:
ifconfig_rl0="inet netmask"
ifconfig_rl1="inet netmask"

After adding the WiFi card this whould be:
ifconfig_rl0="inet netmask"
ifconfig_rl1="inet netmask"
ifconfig_ath0="ssid airport01 media autoselect mode 11g mediaopt \
        hostap wepmode on wepkey `cat /etc/wepkey` channel 1 up"

And than I bridge the two "internal" cards with:
ifconfig_bridge0="addm ath0 addm rl1 up"

Once the interfaces are bridged I should be golden (I'm told).
But I still have some questions:

(1) Is the above syntax OK? Did I understand it all correctly?
(2) Will the IP of the wireless card be the same as the cabled (rl1)
card ( So, a cabled workstation contacting
would reach rl1 and a wireless one ath0? Is this correct?

I know it all sounds a bit confusing, but this reflects my feelings.
It's kind of new to me and will be better in the future no doubt ;-)

Hope to get some helpfull reactions from all of you for whome these
things are "so easy"

dick -- -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to