Chris Glover wrote:
Your default gateway is on a different network to your machine. The PC will be trying to send all external data to 10.25.16.1 but it won't know how to send the data there as your pc only knows how to send data to machines in the 10.25.20.x range
You either need to change the subnet mask... (I think it should be 255.255.251.0 but check my maths) or change the ip address of your pc.
Aha, thank you. Mr C at school said that 255.255.240.0 rang a bell somewhere so I tried that and it worked! I now have 8 boxen with static IPs, yey!
David Fairey wrote:
Does the router allow pings to propagate beyond it?
I don't know, but the odd thing is I'm sure it worked when I first installed them, very odd.
Either the gateway is wrong (should be something more like 10.25.20.1?) or more likely the netmask is wrong - try 255.255.0.0. As it stands the box can't actually send packets outside of it's local network i.e. machines beyond 10.25.20.xxx.
^
If the DHCP server or the client PC that obtains the dynamic IP, updates the local DNS server (Win2K usually does this by default) then entering the DNS server IP address into /etc/resolv.conf should do the trick. This should cause the Linux box to look up PC names in the DNS server and hence you would be able to use user@hostname.
I *think* I've got my head round that, but haven't tried it yet, will have a go :) If I can't get that to work I'll just make a hosts file on each computer listing the names and IPs of the other boxes now that they have static IPs, is this a valid method?
I usually do "/sbin/ifconfig" which shows IP address per interface.
Ah, thank you. I'm suprised there isn't a more simple way, but that's easy enough. Matthew Pearson wrote:
Benjamin Hayes wrote:
Ben
In reference to the pinging problem, this is possible (but it's also not very good either - when troubleshooting).
It's a pain in the arse :P
Normally, this can be accomplished by disabling the ping on the firewall (via the icmp request & icmp reply). DNS and web browsers will grab the ip addresses of the websites but ping will always return because of a 'time out' issue.
yup
The way around this is to enable the port via the firewall (or via the acl list on your router - whichever one you are using).
eek, I don't think I can, is it possible that this is controlled from Lincoln? (see below)
Matt Pearson wrote:
Are you behind a firewall? Is your netmask right? I used to work at a school in Peterborough (using the LEA as an ISP) where the netmask was 255.255.252.0, but with a similar IP address range to you. Make sure the netmask is right first. Then if you are behind a firewall, you may not be able to get thru with ping packets anyway, as these may be blocked (by your provider).
We are behind a firewall yes and no my netmask wasn't right. A big problem is that I'm not entirely clear on how our dedicated 2 meg ADSL line works. It's provided by netlinc who provide internet for all of Lincolnshire's schools as far as I'm aware. We have a computer which acts as the proxy and the DHCP server which I assume has a static IP to the outside world...
When we log in we are faced with a netlinc login screen where everyone has their own username and password, there is a Norton logo on this page. After that point many web sites are banned for various stupid reasons like "Banned under catagory: humour". From the computers on the network I am unable to ssh to computers in the outside world, use P2P or instant messaging/IRC, access https:// sites or at the moment ping web servers! Just about the only things allowed are http on port 80 and FTP.
I've emailed two people at netlinc to ask about having a port unblocked so I can ssh to computers outside and also about the possibility of running an Apache web server from inside school but have never had a reply. This isn't that suprising considering when we emailed to ask if we could have PHP installed on our web space they replied "What's PHP?".
Thanks for the help so far!
-- Ben "tola" Francis