Routing Problem

Thread Tools Search this Thread
Special Forums IP Networking Routing Problem
# 1  
Old 11-26-2002
Routing Problem

I have a question concerning networking. Could any forum
members explain to me why I might be getting "no route
to host" messages when I try to connect through ftp and
http protocols?

I have went to my etc/hosts file and everything seems to be
configured properly. I can connect within my own network.
but cannot connect outside my network.

I am using Sco openserver 5.0.6.
# 2  
Old 11-26-2002
the etc/hosts files defines ip address and associates hostnames with those addresses, essentially the hosts file is like a small name server, or more correctly a name database. the first thing your computer looks at when you try to connect to a website or anything on the net with a name, the computer looks at the /etc/hosts file first. so this is not the file where you set up your routing. without that default gateway you cannot connect to the internet. now, to set that up first you must find out what your default gateway is, you have to contact your isp. if you have broadband like dsl or cable, and you are using a router, your default gateway probably is or to set this up you will need to visit the man pages for ifconfig, and route.
man ifconfig
man route
now to set your default gateway, you do that with route. the man page for route does a good job of telling you how to do that. make sure you include the GW parameter when you figure our how to use route, this parameter tells your system that the ip address you supply will be the current default gateway. after that, you should be up and running!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Routing problem : two interfaces one gateway

hi folks, i have a horstbox-router with the following configuration. it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch). this configuration results in the following... (14 Replies)
Discussion started by: gencaslan
14 Replies

2. Solaris

Routing problem

Hi, I have two physical interfaces on a servers. We have connected them to differerent subnets. 1) First interface: to newtwork, its gateway is (It is added as default gateway) It is existing set up. It works well 2) Second interface: ... (1 Reply)
Discussion started by: sri243
1 Replies

3. IP Networking

routing problem/question

Internet Gateway Server 1 gateway: VIP: VIP: Server 2 gateway: Client 1 gateway: (1 Reply)
Discussion started by: hopfensp
1 Replies

4. AIX

Aix Routing Problem

I need the following solution , please help me... Current situation ip: persistent and service ip gateway: subnet: i have added a new ip on a new nic ip: gateway: subnet: ... (1 Reply)
Discussion started by: rajibimran
1 Replies

5. Red Hat

routing missing something

hi, having an issue on a class C network with trying to get a redhat diskless setup going. I am using oracle enterprise 5, which is RHEL 5.3 i believe. here is the scenario: sun sparc m4k that i am planning on making the red hat boxes boot off after i get the network issue fixed. ... (3 Replies)
Discussion started by: caddyjoe77
3 Replies

6. Solaris

Routing problem of Solaris

Hi, I got problem of Sun Solaris 8 routing. IP of SunA is, and have routing table: U 1 19236 bge1 U 1 16534 bge0 U 1 ... (4 Replies)
Discussion started by: milo
4 Replies

7. IP Networking

Specific routing problem help needed

Hi, I am trying to set up the following : - One linux box connected to the net, static address, eth0 - No other eth interface on the box I want to set up this box in a way it can accept remote connections, like pptp tunnels (which seems the easier to set up unless you have other idea)... (2 Replies)
Discussion started by: aerostar700
2 Replies

8. IP Networking

routing problem in solaris

hi, below is the situation: my server is in network. i have a solaris computer running in a subnet. this computer got 2 nic card. 1 is , another 1 is there is a machine stick with this computer, ip is so, and... (3 Replies)
Discussion started by: kyhah
3 Replies

9. IP Networking

routing problem

following Problem. I configured my SuSE Linux 8.0 as a router. I4l, named, ip_forward, iptables (NAT/MASQUERADING) are running or are aktivatet. I just can get a internet connection about the proxy server squid, but if i want to use other protocols i need functional routing. (I had this... (1 Reply)
Discussion started by: razor
1 Replies

10. IP Networking

Routing problem

Hi I know this problem is more likely some windows problem but it has also something to do with unix. We have a windows nt environment wich uses AIX (unix) machines as file servers (samba). In our windows network environment we nicely see al the unix file servers via the 10 MB network. Last... (2 Replies)
Discussion started by: Mark Detrez
2 Replies
Login or Register to Ask a Question