[ltp] Network - 2 ethernet cards instead of a hub

Brad Langhorst linux-thinkpad@linux-thinkpad.org
Fri, 26 Dec 2003 18:13:04 -0500


On Fri, 2003-12-26 at 17:55, Richard Neill wrote:

> Basically, I have 2 computers, one of which is my new thinkpad and which 
> has 2 ethernet cards. We are on a network, and I want to avoid buying an 
> extra switch/hub. I want to wire up the computers thus:

> 
>  ....network-----[eth0-NewTPad-eth1]--Xovercable--[eth0-OldTPad]
you can do this with a software bridge

auto usb0_eth0
iface usb0_eth0 inet dhcp
bridge_ports eth0
bridge_fd 0

i do this to bridge my zaurus to the world...
then your main interface is usb0_eth0
works fine even when usb0 is not conennected.

PS hubs are cheaper than ethernet cards...

brad