Solved

Making the server route all non-local IP-requests to a ISDN-routers

Posted on 1998-11-26
3
239 Views
Last Modified: 2010-03-18
I've got a Red Hat 5.2 server running the standard kernel. I also have a DNS on it. I want it to route all IP-requestst that are not for our network segment to go to a ISDN-router (a 3COM OfficeConnect 511) which would call our ISP and make  an internet connection. I've got also a default route to a gateway (the router) configured.

I've tried anything I could figure out and read about all the HOWTO's on the networking (I think). I'm desperate.
0
Comment
Question by:lionmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Expert Comment

by:alexbik
ID: 1587694
What exactly is your problem? Is your default route not working?
Could you show us the output of route -n ?
Please let us know what the IP address is your router has on your network.

Alex.
0
 
LVL 2

Accepted Solution

by:
harrys earned 100 total points
ID: 1587695
for the example:
the router has ip 192.168.2.1
your subnet is 192.168.2.0

route add -net 192.168.2.0 eth0
route add default gw 192.168.2.1
0
 

Author Comment

by:lionmaster
ID: 1587696
Whenever I configure a W95 with as DNS the Linux server and Gateway the router it whatever I do, it does not find the way out. Now, I know it is supposed to find a DNS for translation (I don't know where to put the ISP's DNS's in the DNS) but when I use the IP-address directly it doesn't work either.

Route -n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.221.0   0.0.0.0         255.255.255.0   U      1500 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
0.0.0.0         192.168.221.42  0.0.0.0         UG     1500 0          0 eth0

The subnet is 192.168.221.0 .
The router has IP 192.168.221.42 (not very much according to standards) Does it have to be 1?

0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question