Mailinglist Archive: opensuse (5100 mails)

< Previous Next >
Re: [SLE] routing between subnets
  • From: Henry Harpending <harpend@xxxxxxxxxxxx>
  • Date: Mon, 21 Jun 2004 11:19:15 -0600
  • Message-id: <20040621171915.GA21500@xxxxxxxxxxxx>
On Mon, Jun 21, 2004 at 02:18:51AM +0000, Jorge Manuel B. S. Vicetto wrote:
Quoting Henry Harpending <harpend@xxxxxxxxxxxx>:

Here are the results of what you suggest, from the server 192.168.0.2:;

#cat /proc/sys/net/ipv4/ip_forward
1

So the server is forwarding packets.

#netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.0.0 10.0.0.1 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
#traceroute 10.0.0.5
traceroute to 10.0.0.5 (10.0.0.5), 30 hops max, 40 byte packets
1 10.0.0.5 1.748 ms 1.779 ms 1.777 ms


Try the traceroute from one of the stations so that we can see what's going on
with the routing. If you could put a station on the switch and do a traceroute
on the other way, would also help.
BTW, did you remember to configure the default gateway of the PRINTERS as the
server? If not, that's your problem! Packets go from the stations to the
printers, but don't return!



I put a laptop on the 10.0.0.1 network card, set it up the same as the
printer with gateway 10.0.0.1, and experience the same behavior.





192.168.0.2 on wlan0, server
/ other 192.168.0. machines
DSL = 192.168.0.1
\ 10.0.0.1 on eth0
printer attached as 10.0.0.5

Perhaps I need to try to give the DSL router a second IP address?

Thanks, Henry


< Previous Next >