LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-09-2003, 03:38 AM   #1
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
routing problem


I have a machine connected to the local network via eth0 as 192.168.1.39. This machine also has an ISDN connection for dialling remote machines. The ISDN connection uses RawIP, and assigns a static IP to the dialled machine (192.168.1.5)
I'm wondering how to go about making the dialled machine visible on the internal network.
The routing I have tried is as follows:

On 192.168.1.39
host 192.168.1.5 -> isdn0
network 192.168.1.0 -> eth0
default via 192.168.1.1 (GW) -> eth0

I have two gateways set up on the other machines on the internal net. 192.168.1.1 (DSL router) and 192.168.1.39 (ISDN machine)

This, however, doesn't allow me to see the 192.168.1.5 machine from anything other than 192.168.1.39.

Any suggestions?
 
Old 10-09-2003, 04:51 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
You need to make your server a gateway. By default it won't route other servers, just because you have multiple interfaces set up.

Try
echo 1 > /proc/sys/net/ipv4/ip_forward

Iain.
 
Old 10-09-2003, 07:59 AM   #3
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Original Poster
Rep: Reputation: 48
thanks Iain, I already have IP forwarding set on.
Also, should I have a different IP address for each interface (eth & isdn).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
routing problem DRagonRage Debian 8 09-21-2005 03:29 PM
routing problem DRagonRage Linux - Networking 1 09-21-2005 01:02 PM
Routing problem Infernal211283 Linux - Networking 3 02-28-2005 02:59 AM
Another Routing problem Bambi Linux - Networking 2 06-03-2004 03:13 PM
routing problem freelinuxcpp Linux - Networking 4 03-20-2004 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration