RE: [expert] Routing with 2 different subnets

2003-06-23 Thread Ken Walker
what's cli command to show the following ? many thanks Ken Destination GatewayGenmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 usb0 192.168.0.0 * 255.255.255.0 U 0 0 0

Re: [expert] Routing with 2 different subnets

2003-06-23 Thread Larry Sword
On Monday 23 June 2003 04:03, Ken Walker wrote: what's cli command to show the following ? /sbin/route Ref: 1. man route many thanks Ken Destination GatewayGenmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0

RE: [expert] Routing with 2 different subnets

2003-06-23 Thread James Sparenberg
On Mon, 2003-06-23 at 04:03, Ken Walker wrote: what's cli command to show the following ? many thanks Ken route Destination GatewayGenmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 usb0

RE: [expert] Routing with 2 different subnets

2003-06-20 Thread Guy Van Sanden
Hello It doesn't work because your on a different subnet from your router. Your PDA can only reach machines on the 192.168.1 subnet. Instead, you could reconfigure the MDK machine to route between .0 and .0 subnets. So default route on the PDA should be 192.168.1.1 Kind regards Guy Hi, I

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Wolfgang Bornath
** Guy Van Sanden (Freitag, 20. Juni 2003 15:51) It doesn't work because your on a different subnet from your router. Understood so far. Your PDA can only reach machines on the 192.168.1 subnet. Right. Instead, you could reconfigure the MDK machine to route between .0 and .0 subnets.

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Jack Coates
On Fri, 2003-06-20 at 09:16, Wolfgang Bornath wrote: ... Conclusion is that eth0 and usb0 have to be in different subnets. wobo. If you want to route between two interfaces, they need to be on different networks. If you have two interfaces on the same network that need to pass traffic to/for

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Steffen Barszus
Am Freitag, 20. Juni 2003 15:17 schrieb Wolfgang Bornath: When I try to set 192.168.0.1 (Router) as gw for the pda I get a Network not reachable message. What am I missing? wobo I may be false, but I would set them all in one subnet. Of course the PDA needs a seperate route then on the

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Wolfgang Bornath
** Steffen Barszus (Freitag, 20. Juni 2003 20:05) I may be false, but I would set them all in one subnet. Of course the PDA needs a seperate route then on the mdk. (something like 'route add -host 192.168.0.100 netmask 255.255.255.255 dev usb0' ) Maybe this works ? Desktop -- router

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Wolfgang Bornath
** Wolfgang Bornath (Freitag, 20. Juni 2003 20:46) On the desktop I set route add -host 192.168.0.100 netmask 255.255.255.255 dev usb0 Not true, sorry! I wanted to enter this line but I got route complaining about setting netmask 255.255.255.255 makes no sense here. So I left it out. route

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Seth Zirin
On Fri, 2003-06-20 at 06:17, Wolfgang Bornath wrote: 1. Connection to Internet via router -- 192.168.0.1 2. MDK 9.1 with eth0 -- 192.168.0.3 usb0 -- 192.168.1.1 3. Linux PDA with usbf -- 192.168.1.2 Internet connection via

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Steffen Barszus
Am Freitag, 20. Juni 2003 20:58 schrieb Wolfgang Bornath: ** Wolfgang Bornath (Freitag, 20. Juni 2003 20:46) On the desktop I set route add -host 192.168.0.100 netmask 255.255.255.255 dev usb0 Not true, sorry! I wanted to enter this line but I got route complaining about setting netmask

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Muzza
Wobo, Try route add -host 192.168.0.100 netmask 255.255.255.0 dev usb0. You should have better luck with that. On Sat, 21 Jun 2003 02:58, Wolfgang Bornath wrote: ** Wolfgang Bornath (Freitag, 20. Juni 2003 20:46) On the desktop I set route add -host 192.168.0.100 netmask

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Wolfgang Bornath
** Wolfgang Bornath (Freitag, 20. Juni 2003 20:58) ** Wolfgang Bornath (Freitag, 20. Juni 2003 20:46) On the desktop I set route add -host 192.168.0.100 netmask 255.255.255.255 dev usb0 Not true, sorry! I wanted to enter this line but I got route complaining about setting netmask

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Muzza
Wobo, On the desktop Put usb0 back to 192.168.1.1 as it needs to be on a separate subnet. Restart the network. You should now have both eth0 and usb0. Set the pda up to use; 192.168.1.100 netmask 255.255.255.255 gateway 192.168.1.1 Back on the desktop;

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Wolfgang Bornath
** Muzza (Freitag, 20. Juni 2003 22:03) Wobo, On the desktop Put usb0 back to 192.168.1.1 as it needs to be on a separate subnet. Restart the network. You should now have both eth0 and usb0. Set the pda up to use; 192.168.1.100 netmask 255.255.255.255 gateway 192.168.1.1

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Wolfgang Bornath
** Wolfgang Bornath (Freitag, 20. Juni 2003 22:37) Oh, wait, you wrote something about setting it up on the router. I'll check. No that was Seth, sorry. I entered setup of static routes in my router and entered: Destination IP Address: 192.168.1.100 IP Subnet Mask: 255.255.255.0

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Bill Mullen
On Fri, 20 Jun 2003, Wolfgang Bornath wrote: I have a small problem with routing. 1. Connection to Internet via router -- 192.168.0.1 2. MDK 9.1 with eth0 -- 192.168.0.3 usb0 -- 192.168.1.1 3. Linux PDA with usbf --

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Muzza
Wobo, You'll also need to enable IP forwarding on the pda and NAT for the 192.168.1.0/24 network on the desktop. On Sat, 21 Jun 2003 04:37, Wolfgang Bornath wrote: ** Muzza (Freitag, 20. Juni 2003 22:03) Wobo, On the desktop Put usb0 back to 192.168.1.1 as it needs to be

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Guillaume Marcais
To understand what is going on your networks, use tcpdump on both network. Do something like: # tcpdump -i eth0 -l -n and # tcpdump -i usb0 -l -n Then send pings from your pda and follow the path of the query and response as it goes through you linux box. First ping 192.168.1.1, you should

Re: [expert] Routing with 2 different subnets

2003-06-20 Thread Wolfgang Bornath
** Guillaume Marcais (Samstag, 21. Juni 2003 01:07) To understand what is going on your networks, use tcpdump on both network. Do something like: # tcpdump -i eth0 -l -n and # tcpdump -i usb0 -l -n Then send pings from your pda and follow the path of the query and response as it goes