Solved

force ip to use nic, VPN

Posted on 2004-09-10
1
263 Views
Last Modified: 2008-03-06
I have 2 nics in a computer running Fedora Core 1.
nic 1     10.10.20.124
nic 2     192.168.0.1

LOCAL NETWORK
(10.10.20.62, 10.10.20.63)   (10.10.20.72 through 10.10.20.123)  are connected to the 10.10.20.124 nic
REMOTE NETWORK
(10.10.20.64 through 10.10.20.71) are at the remote location

I am using 2 routers to make a VPN to the remote location.
My understanding is the subnets on both ends must be different.
How can I connect 192.168.0.1 to the VPN and telnet to the remote machines through the VPN?
(Telnet 10.10.20.64) wants to go out 10.10.20.124, not 192.168.0.1.
 
The local and remote lans must not be connected and I cannot change the addresses.
0
Comment
Question by:Ted22
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 12032227
> My understanding is the subnets on both ends must be different.

That would be correct and it isn't what you have now.  The only thing that you could do would be to use an arraingement like:

  Local Network----Linux Box--------------------Linux Box----Remote Network
                                                       Glue Network
                                                      192.168.0.0/24

Since each Linux Box would have an IP in the "Glue Network" you could telnet to the remote Linux boxes IP on that network. In that session you could then telnet to the 10.10.20.64 machine.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

896 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now