On Wednesday 06 June 2007 18:27, you wrote:
> In the hope that someone can say "YouIdiot" here are my routing woes:
> server pings logger
> 1077.886219 192.168.1.1 -> 192.168.1.102 ICMP Echo (ping) request
> 1077.914266 192.168.1.102 -> 192.168.1.1 ICMP Echo (ping) reply
> logger pings server
> 1130.823859 192.168.1.102 -> 192.168.17.254 ICMP Echo (ping) request
> 1136.326497 192.168.1.102 -> 192.168.17.254 ICMP Echo (ping) request
> 1141.833524 192.168.1.102 -> 192.168.17.254 ICMP Echo (ping) request
[I reposted this, to make it clear]
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.102 * 255.255.255.255 UH 0 0 0 ppp1
192.168.1.101 192.168.1.1 255.255.255.255 UGH 0 0 0 ppp0
192.168.1.101 * 255.255.255.255 UH 0 0 0 ppp0
202.7.144.236 * 255.255.255.252 U 0 0 0 eth0
192.168.17.0 * 255.255.255.0 U 0 0 0 br0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 202.7.144.237 0.0.0.0 UG 0 0 0 eth0
> You did not draw a network diagram so I'm guessing you are trying to use
> the box with the routes above as a gateway.
>
> The obvious thing that comes to mind is wether IP forwaridng is
> enabled.
>
> cat /proc/sys/net/ipv4/ip_forward
> this should return 1
>
> you can set it manuall by doing
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> Or more permanently using in /etc/sysctl.conf with
> net.ipv4.ip_forward = 1
>
> Any more help than that requires some ASCII art on your part :)
Sorry for too little information:
ADSL-bridge ==========[ server ]------- 192.168.17.0 network of machines
[202.7.144.237 ]
[192.168.17.254]
[ pptp server ]
logger--[CDM NextG Router]. . . . B
i
logger--[CDM NextG Router]. . . . g
P
o
n
d
Now <some hearsay> bigpond allocates a dynamic address to the nextG routers
The addresses are private and bigpond MASQs them to the internet
The loggers establish a (MS) VPN tunnel to the server
The server end is 192.168.1.1 the logger end is 192.168.1.101, 102 etc
Machines in the 192.168.17.0 network need to interact with the loggers
So we have:
[machines-on-192.168.17.0] connect to the internet via server as GW and MASQ
(Forwarding on, this works)
I must add a route for 192.168.1.0 to the DHCP from server so that the
machines can access the loggers at 192.168.1.101 etc (machines get from DHCP)
I can't see *any* reply from ..17.254 when ..1.102 pings it.
> Look at everything:
> tethereal -i any 'icmp[icmptype] == icmp-echo or icmp[icmptype] ==
>icmp-echoreply'
> 28.000237 192.168.1.102 -> 192.168.17.254 ICMP Echo (ping) request
> 33.242204 192.168.1.102 -> 192.168.17.254 ICMP Echo (ping) request
> 38.749529 192.168.1.102 -> 192.168.17.254 ICMP Echo (ping) request
So my question is what/why/how have I screwed up the routing?
I've messed with the routing, and I'm testing 2 'loggers' but 1 is the same
James
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html