Networking Forums

Networking Forums > Computer Networking > Linux Networking > Two PCs on different networks, another PC on both networks

Reply
Thread Tools Display Modes

Two PCs on different networks, another PC on both networks

 
 
S.K.R. de Jong
Guest
Posts: n/a

 
      10-15-2011, 06:37 PM
I have a box A on network N1, a box B on network N2, and a box C
with two NICs, one connected to N1 and the other to N2. How do I have to
configure networking in A, B and C so that A will be directly reachable
from B, and vice-versa?

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      10-16-2011, 03:48 AM
On 2011-10-15, S.K.R. de Jong <(E-Mail Removed)> wrote:
> I have a box A on network N1, a box B on network N2, and a box C
> with two NICs, one connected to N1 and the other to N2. How do I have to
> configure networking in A, B and C so that A will be directly reachable
> from B, and vice-versa?
>

Assuming the two networks have different, non-overlapping addresses:
Enable ip forwarding in box C, and for the other boxes you execute
a command like
route add net [other network] netmask [whatever] gateway [C's ip in this
network]
Put that in a script in /etc/network/ip-up.d or /etc/sysconfig/network
depending on the distro.


--
There's a lot to be said for not saying a lot.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WE BUY used, new and refurbed Sun, Cisco, Lucent, Nortel, Alcatel,3com, IBM, HP, Compaq, Dell, Madge, Cabletron, Juniper Networks, Bintec,Siemens, Foundry, Networks, Extreme Networks, Fore/Marconi, TellabsLucent/Avaya/Ascend, Xylogics, Brocade, Int Mike Linux Networking 0 02-16-2008 08:35 PM
WE BUY used, new and refurbed Sun, Cisco, Lucent, Nortel, Alcatel,3com, IBM, HP, Compaq, Dell, Madge, Cabletron, Juniper Networks, Bintec,Siemens, Foundry, Networks, Extreme Networks, Fore/Marconi, TellabsLucent/Avaya/Ascend, Xylogics, Brocade, Int Mike Broadband 0 02-16-2008 01:48 AM
WE BUY used, new and refurbed Sun, Cisco, Lucent, Nortel, Alcatel,3com, IBM, HP, Compaq, Dell, Madge, Cabletron, Juniper Networks, Bintec,Siemens, Foundry, Networks, Extreme Networks, Fore/Marconi, TellabsLucent/Avaya/Ascend, Xylogics, Brocade, Int Mike Broadband 0 01-12-2008 09:35 AM
WE BUY used, new and refurbed Sun, Cisco, Lucent, Nortel, Alcatel,3com, IBM, HP, Compaq, Dell, Madge, Cabletron, Juniper Networks, Bintec,Siemens, Foundry, Networks, Extreme Networks, Fore/Marconi, TellabsLucent/Avaya/Ascend, Xylogics, Brocade, Int buyonet@hotmail.com Broadband 0 11-18-2007 10:58 AM
Availble wireless networks in Windows XP shows no networks but works on other wireless networks Fasterface Wireless Internet 1 10-19-2003 08:23 PM



1 2 3 4 5 6 7 8 9 10 11