DragonFly BSD
DragonFly users List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Bridging two laptops

From: Michael Neumann <mneumann@xxxxxxxx>
Date: Sun, 16 Jan 2005 02:16:45 +0100

TIV wrote:
Michael Neumann wrote:


Maybe you can help me, as I've little experience with "advanced" networking.

My configuration:

* A wireless router (acts as DHCP):

* Laptop A, which is connected wireless: ipw0,

* Laptop B, which does not have wireless access, but is connected
  via a cross-link cable to Laptop A's rl0 network interface.
  It's network device is xi0 (DHCP). It's running NetBSD, but that
  should not matter.

On Laptop A (DragonFly), I did:

  kldload bridge
  sysctl net.link.ether.bridge=1
  sysctl net.link.ether.bridge_ctl=rl0,ipw0

I also put both rl0 and ipw0 into promisc mode. rl0 does not have an IP assigned.

Laptop B gets IP assigned via DHCP. But I can't ping laptop A from B and vice versa.

Maybe someone can enlighten me? Thanks.



Hi there Michael ----

You may want to check that laptop A is set up as a 'Gateway' (ie. sysctl -w net.inet.ip.forwarding=1). Also take a look at the routing ( netstat -r) and
set the default routes. Firewall blocking icmp?

My experience is that even though the documentation for wireless shows an
example with bridging. ---I have not needed to use it in a similar setup.
I just assign appropriate IP's to all the network cards, setup the host as a
gateway. and set the default route on the client to the IP of the attached
host adapter. Hope this works for you.

Thanks! I'll try that.



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