Help - Search - Members - Calendar
Full Version: Ubuntu Bridge
Invision Power Services > Community Forums > Community Technical Chat
Michael P
Hi!

In a few weeks im off to university, where the rooms have one single network point, to use the point I have to register my computers MAC address using an internal web page. The point is locked to only respond to that address, any other mac addresses which are plugged in will lock out the point. So, the solution for multi-machines, is a router with a MAC address, OR, I hope a network bridge.

Iv spent all afternoon bridging my internet at home so it plugs into ubuntu which then plugs into a hub to other machines, my question is will it only log the mac address of the ubuntu machine?

For reference if anyone tries this, here is how I did it:

You need 2 network cards in computer
Root Terminal
sudo gedit /etc/network/interface

add to the end:

iface br0 inet dhcp
bridge_ports eth0 eth1
auto br0

SAVE

and in root terminal
ifup br0

original.gif
Peter C
actually it didnt work for me sad.gif
is it "sudo gedit /etc/network/interface" or "sudo gedit /etc/network/interfaces" <--- With an S in the end..
i did add "iface br0 inet dhcp
bridge_ports eth0 eth1
auto br0" to the end in "/etc/network/interfaces"
and that was working fine, but when the command "ifup br0" comes upp , then i get
"ubuntu@ubuntu:~$ sudo ifup br0
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

wifi0: unknown hardware address type 801
SIOCSIFADDR: No such device
br0: ERROR while getting interface flags: No such device
br0: ERROR while getting interface flags: No such device
wifi0: unknown hardware address type 801
Bind socket to interface: No such device
Failed to bring up br0. "

and the wifi0, does it have something to do with the bridge ? I tested to activate it and deactivate it , the results was the same! PLEASE Help me original.gif \\Peter
Kyanar
QUOTE(Think Systems @ Sep 9 2005, 11:19 AM) *
Iv spent all afternoon bridging my internet at home so it plugs into ubuntu which then plugs into a hub to other machines, my question is will it only log the mac address of the ubuntu machine?


Yes. The standard requires that the MAC address of all communications be the MAC address of the last router in the chain.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.