Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Simple bridge?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Guest

Simple bridge?

#1 Post by Guest »

I currently have two interfaces in /etc/network/interfaces:
iface wlan0 inet static
wireless-essid WLAN
address 192.168.1.152
netmask 255.255.255.0
gateway 192.168.1.1
auto wlan0

iface eth0 inet static
address 192.168.7.152
netmask 255.255.255.0
auto eth0
Can someone tell me what to add/change in order to get a working bridge br0 between the two? Thanks.

Guest

#2 Post by Guest »


odin
Posts: 12
Joined: 2005-08-05 07:45

#3 Post by odin »

Has anyone tried the encrypted bridge in bridge.sourceforge.net?

I patched the kernel and everything but I cant install the modified bridge-utils.When I do "make" I get some errors,this is what i get:

gcc -Wall -g -c libbridge_devif.c
libbridge_devif.c:200: warning: 'struct __ftdb_entry' declared inside parameter list
libbridge_devif.c:200: warning: its scope is only this definition or declaration, which is probably not what you want
libbridge_devif.c: In function '__copy_ftdb':
libbridge_devif.c:202: error: dereferencing pointer to incomplete type
libbridge_devif.c: In function 'br_read_ftdb':
libbridge_devif.c:207: error: array type has incomplete element type
libbridge_devif.c:211: error: 'BRCTL_GET_DISABLED_MACS' undeclared (first use in this function)
libbridge_devif.c:211: error: (Each undeclared identifier is reported only once
libbridge_devif.c:211: error: for each function it appears in.)
libbridge_devif.c:207: warning: unused variable 'f'
libbridge_devif.c: In function 'br_set_mac_disabled':
libbridge_devif.c:224: error: 'BRCTL_SET_MAC_DISABLED' undeclared (first use in this function)
libbridge_devif.c: In function 'br_set_mac_enabled':
libbridge_devif.c:232: error: 'BRCTL_SET_MAC_ENABLED' undeclared (first use in this function)
libbridge_devif.c: In function 'br_set_mac_encrypt':
libbridge_devif.c:246: error: 'BRCTL_SET_MAC_CRYPT' undeclared (first use in this function)
libbridge_devif.c:246: error: 'BR_ENCRYPT_FLAG' undeclared (first use in this function)
libbridge_devif.c: In function 'br_set_mac_decrypt':
libbridge_devif.c:254: error: 'BRCTL_SET_MAC_CRYPT' undeclared (first use in this function)
libbridge_devif.c:254: error: 'BR_DECRYPT_FLAG' undeclared (first use in this function)
libbridge_devif.c: In function 'br_set_mac_clear':
libbridge_devif.c:262: error: 'BRCTL_SET_MAC_CLEAR' undeclared (first use in this function)
libbridge_devif.c: At top level:
libbridge_devif.c:269: warning: 'struct __ftpdb_entry' declared inside parameter list
libbridge_devif.c: In function '__copy_ftpdb':
libbridge_devif.c:271: error: dereferencing pointer to incomplete type
libbridge_devif.c: In function 'br_read_ftpdb':
libbridge_devif.c:277: error: array type has incomplete element type
libbridge_devif.c:281: error: 'BRCTL_GET_FILT_PROTOCOLS' undeclared (first use in this function)
libbridge_devif.c:277: warning: unused variable 'f'
libbridge_devif.c: In function 'br_add_filt_protocol':
libbridge_devif.c:294: error: 'BRCTL_ADD_FILT_PROTOCOL' undeclared (first use in this function)
libbridge_devif.c: In function 'br_del_filt_protocol':
libbridge_devif.c:303: error: 'BRCTL_DEL_FILT_PROTOCOL' undeclared (first use in this function)
libbridge_devif.c: In function 'br_set_protocol_filter_mode':
libbridge_devif.c:312: error: 'BRCTL_SET_PROTOCOL_FILTER_MODE' undeclared (first use in this function)
libbridge_devif.c: In function 'br_get_protocol_filter_mode':
libbridge_devif.c:321: error: 'BRCTL_GET_PROTOCOL_FILTER_MODE' undeclared (first use in this function)
make[1]: *** [libbridge_devif.o] Error 1
make[1]: Leaving directory `/usr/src/kernel/bridge-utils-aes/libbridge'
make: *** [libbridge/libbridge.a] Error 2

Post Reply