DragonFly users List (threaded) for 2005-01
Re: Bridging two laptops
Michael Neumann wrote:
Hi,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
Maybe you can help me, as I've little experience with "advanced"
* A wireless router (acts as DHCP): 192.168.1.1
* Laptop A, which is connected wireless: ipw0, 192.168.1.101
* 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:
I also put both rl0 and ipw0 into promisc mode. rl0 does not have an
Laptop B gets IP 192.168.1.103 assigned via DHCP. But I can't ping
laptop A from B and vice versa.
Maybe someone can enlighten me? Thanks.
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
gateway. and set the default route on the client to the IP of the attached
host adapter. Hope this works for you.