On Sat, 21 Jun 2003, Wolfgang Bornath wrote: > ** Bill Mullen (Samstag, 21. Juni 2003 06:25) > > I'd recommend putting them on the same subnet, using "Proxy ARP with > > Subnetting". See the HOWTO at: > > > > http://www.linux.org/docs/ldp/howto/mini/Proxy-ARP-Subnet/index.html > > > > To do this, you need to adjust the netmask of the usb0 interface, so > > that the range it covers is a *subset* of the range that eth0 uses, > > like so: > > > > Int. Network Netmask Broadcast > > > > eth0 192.168.0.0 255.255.255.0 192.168.0.255 > > usb0 192.168.0.128 255.255.255.128 192.168.0.255 > > Done. > > > The IP of usb0 should be 192.168.0.129, and the PDA's can be anything > > from 192.168.0.130 to 192.168.0.254. > > PDA is now 192.168.0.200 > > > > > In /etc/sysctl.conf, you'll probably need: > > > > net.ipv4.ip_forward = 1 > > net.ipv4.conf.default.rp_filter = 0 > > net.ipv4.conf.all.proxy_arp = 1 > > Done. > > > And in /etc/sysconfig/network: > > > > FORWARD_IPV4=true > > Done. > > # /sbin/arp > Address HWtype HWaddress Flags Mask Iface > 192.168.0.1 ether xx:xx:xx:xx:xx:xx C eth0 > 192.168.0.200 ether xx:xx:xx:xx:xx:xx C usb0 > (HWaddresses anonymised) > > route on desktop: > ----------------- > Destination Router Genmask Flags Metric Ref Use Iface > 192.168.0.128 * 255.255.255.128 U 0 0 0 usb0 > 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 > > route on PDA: > --------------- > Destination Router Genmask Flags Metric Ref Use Iface > 192.168.0.0 * 255.255.255.0 U 0 0 0 usbf > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 192.168.0.129 0.0.0.0 UG 0 0 0 usbf > > Hmm, I am as far as before. > PDA -> usb0 OK > PDA -> eth0 OK > PDA -> router FAILED ("Destination host unreachable") > > Using tcpdump on usb0 and eth0 I realized that when PDA pings eth0 only > usb0 is receiving and answering. eth0 remains silent.
As you'd expect (the kernel knows that it need go no further than that machine) - but what happens on eth0 (if anything) when you ping the router, or an address beyond it? > There anything I'm missing? All I can think of is that the PDA's netmask should be 255.255.255.128, and the PDA's network should read 192.128.0.128 (matching usb0) ... -- Bill Mullen [EMAIL PROTECTED] MA, USA RLU #270075 MDK 8.1 & 9.0 The engineer is neither optimist nor pessimist. He sees the proverbial half-full/empty glass and says, "The glass is twice as big as there is any need for it to be."
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
