Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NETWORKING: 2 boxes 1 reaches the other doesn't

Status
Not open for further replies.

themoe

MIS
Jul 27, 2002
20
0
0
US
Ok. I have two linux 7.3 RH boxes.

Both are on an internal network protected by a firewall.

Both have the exact same route table.

[root@kong root]#
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.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 10.1.1.2 0.0.0.0 UG 0 0 0 eth0

[root@frogger root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.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 10.1.1.2 0.0.0.0 UG 0 0 0 eth0


Now...kong...has been given an outside address by the provider...BUT. Kong cannot reach the external network via the shell. Kong can browse the web but it cannot ping the address it was given.

frogger...CAN ping outside. But was not given an outside address.

These seem squared up...
/etc/host.conf
/etc/hosts
/etc/resolv.conf
 
For browsing are you using a proxy server?

Is your internet firewall/router doing NAT? It probably is.
You probably have to give the internet firewall/router the external IP address of that Kong box (as well as it's current IP, can the router have two IPs???) and get it to forward all traffic incoming on that IP to Kong.

This is more a network issue than a Linux issue. I'm not an expert, it's just a guess. You should probably post this in a network forum.
 
How is the firewall configured?

You say that kong has been given an IP address by your ISP but looking at the routing tables my guess is that you have it on a private IP address (10.0.0.0). If it does have a public IP address, then what are the public IP addresses of the two firewall NICs (as the internal network interface of the firewall will need to be on the same subnet)?


So.... What are the IP addresses of frogger and kong? What is the IP address of the internal NIC on the firewall and what is te IP address of it's external NIC? What is the IP addresses assigned by your ISP?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top