Networking novice needs help
andrew.hodgson at blueyonder.co.uk
Sat Nov 30 20:48:19 GMT 2002
I'm slowly building up a home network, and I've just setup another box
to play around with (maybe a DNS cache, but I'm open to suggestions) on
top of my workstation (PC, 233MMX), my NAT/FW box (PC, 233MMX), and an
HP workstation (715/100XC). The 'new' box is an old 486DX2-66MHz, with a
2.1G disk and 64M ram. It has a Accton en1207tx card (de driver).
Now, I've managed to get what I have set up to actually work _despite_
my knowledge, rather than because of it! I've used various tutorials on
the net, but am still very undereducated when it comes down to the
nitty-gritty. (I _am_ using the workstation now, with my NAT box
providing me with a connection to the net, so it's not all bad!) The
reason I'm telling you all this is because I've done a net install on
the new box (using DHCP), installed the Kern-Developer dist, and then
reconfigured the box to fit into my internal network, and now I can't
telnet to it, or even ping it. I get
> ping squid
PING squid (192.168.1.2): 56 data bytes
ping: sendto: Host is down
> ping firewall
PING firewall (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.751 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.775 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.730 ms
This is the firewall's internal card, it has an external one using DHCP.
/etc/hosts (on on all machines) looks like this:
127.0.0.1 localhost localhost.logger.org
192.168.1.0 packbell packbell.logger.org #Workstation
192.168.1.1 firewall firewall.logger.org #NAT/FW
192.168.1.2 squid squid.logger.org # New box
192.168.1.3 hp hp.logger.org # HP 715/100XC
Everything is on 4.7-stable, but the new box is on 4.6.2-R, until I get
round to a make world.
I have set the netmask on all machines to be 255.255.0.0 - I don't
really know why, I need to learn more about what the netmask does. If
that's ALL I need to know, then I don't mind doing the reading. I'm
looking into this as we speak. It's just that this box and the NAT/FW
box work with this netmask, so I thought everything on the internal
network should have the same one.
So, in summary, the new box - squid - is up and running, headless, but I
cannot ping it or telnet to it. It is at 192.168.1.2, with a netmask of
255.255.0.0, running 4.6.2-R.
If anyone can help me, I'd really appreciate it. I thought that
networking would be much simpler than this!
More information about the Ukfreebsd