[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wireless/cat5 bridge



I've set my bridge with wireless and wired interfaces just as you are
doing. In my setup, the bridge retrieves its IP via DHCP.
Mike has correctly pointed out the settings if only wired interfaces are
used, but one further step was necessary for wireless (using
linux-wlan-ng drivers).
My /etc/network/interfaces also contains the wireless arguments as
follows: 

auto br0
iface br0 inet dhcp
	hostname bridge
#       address 192.168.0.2
#       network 192.168.0.0
#       netmask 255.255.255.0
#       broadcast 192.168.0.255
       bridge_ports wlan0 eth0  #can just say 'all'
       up \
       /sbin/iwconfig wlan0 essid partyshack && \
       /sbin/iwconfig wlan0 channel 6 && \
       /sbin/iwconfig wlan0 mode ad-hoc


On Wed, 2003-07-16 at 23:20, Todd Pytel wrote:
> On Wed, 16 Jul 2003 16:04:29 -0700
> Mike Fedyk <mfedyk@matchmail.com> wrote:
>  
> > # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> > 
> > #auto br0
> > iface br0 inet static
> >     address 10.0.0.122
> >     netmask 255.255.255.0
> >     broadcast 10.0.0.0
> >     gateway 10.0.0.1
> >     bridge_ports all
> 
> OK, cool... bridges can be configured through interfaces, which saves me
> the fuss of writing an init script.  But a few more details would be
> helpful - mainly, do I really need an IP address for the bridge?  Also,
> I have the wireless configured in interfaces already in order to
> specify the ESSID and WEP key - it also uses DHCP to get an address. 
> When I switch to bridging, do I switch that to static or will
> removing the "auto" directive be enough?
> 
> Thanks,
> Todd
-- 



Reply to: