LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-23-2002, 01:31 AM   #1
russell
LQ Newbie
 
Registered: Mar 2001
Distribution: *Linux*
Posts: 27

Rep: Reputation: 15
Can IP from different subnet be configured on another subnet


Hi All,

I have a problem....

I want to configure an IP address of network(subnet) A on network(subnet) B.

(A and B belongs to different ISP's )

I do not have any connectivity to network A, but they provide me the IP's only.

Network B is connected to the internet.

Is it possible to do so? How do I go about it ?

(I am using Redhat 7.3 )


Thanks in advance....
Russell
 
Old 08-23-2002, 01:47 AM   #2
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
1) If you do not have a connection to the ISP that owns the IP group for network 'A' then you cannot configure a machine to use network 'A'. UNLESS - network 'A' is used as an internal only network (like 10.x.x.x) - and translated to through a NAT router. Either way, the outside world would only be able to see network 'B' where a physical connection exists.

2) If you have two physical internet connections - one from ISP a -> network a, and the other from ISP b - network b, then to "link" between them, you would either 'a' link through the internet - this is the easiest option, as each connections default gateway will point to your WAN router (through the appropriate ISP). Otherwise you can set up your linux to route between the two networks. ifcfg-eth0:1 - set to net a, ifcfg-eth0:2 - set to net b; - routing between them enabled. Then on your other machines add a physical route to the "other network" specifying the appropriate network interface as the gateway for that route.

Good luck,
Gary Allen
 
  


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
subnet jpostma Linux - Hardware 1 10-16-2005 02:11 PM
another subnet. bruse Linux - Networking 1 07-19-2005 12:35 PM
Can't ping any PC outside subnet mrpc_cambodia Red Hat 2 10-07-2004 08:48 PM
Subnet issues jfranks214 Linux - Networking 3 02-13-2004 11:26 AM
a /27 within a /24 subnet arnix Linux - Networking 1 07-16-2003 09:16 PM

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

All times are GMT -5. The time now is 10:07 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