Network setup problems
Hello,
I have a strange problem I cant seen to understand what to do
about it.
I am running Apache as a web server and everything runs fine
when I am attached to my home LAN, using my own machine as the
gateway.
However, when I connect to the office to use the internet I have
to assign our ISDN modem as the gateway. All of the network
stuff works fine when I do this, except I cannot connect to my
Apachie web server. I get the following message:
A network error occured:
Unable to connect to server (TCP Error: No route to host)
The server may be down or unreachable.
I did a trace route, but that didnot enlighten me:
starfury: # traceroute 172.16.1.9
traceroute to 172.16.1.9 (172.16.1.9), 30 hops max, 40 byte
packets
1 172.16.0.9 (172.16.0.9) 0.168 ms !H 0.138 ms !H 0.1 ms !H
starfury: # traceroute 172.16.1.9:80
traceroute: unknown host 172.16.1.9:80
I also tried a few other things after re-reading Net-3-Howto:
starfury: # /bin/netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS
Window irtt Iface
localnet * 255.255.0.0 U 1500
0 0 eth0
127.0.0.0 * 255.0.0.0 U 3584
0 0 lo
default gateway.oa.nl 0.0.0.0 UG 1500
0 0 eth0
starfury: # /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric
Ref Use Iface
172.16.0.0 0.0.0.0 255.255.0.0 U 0
0 14 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0
0 1 lo
0.0.0.0 172.16.1.1 0.0.0.0 UG 1
0 60 eth0
As far as I can see the only thing that changes is the gateway
address. I am not using DNS at home so that doesnt change.
I am using Debian 'Hamm' kernel 2.0.34 and pcmcia modules to
match for the network.
Do I need to add a route to my web server, or change my configs
to represent it?
Do I need to have DNS services running??
Can anyone help me ??
--
John Stevenson, Objective Alliance: www.oa.nl
"Its grip'd, its sorted.."
Reply to: