linux "newbie", networking two coms...

linux "newbie", networking two coms...

Post by Anatoli » Thu, 30 Aug 2001 04:30:40



Hello All!

I have two computers, three network cards, linux 7.0, and one IP. How can I make
all this work?

I know that I connect one using given IP having two network cards inside
(incomming/outgoing), where another computer just going to be connected to the
first one. That's the idea, but no clue how to make it work.

I am researching this thing right now, but if you can help me with this, will
save lot's of my time.

Thanks guys!

Anatoliy.

 
 
 

linux "newbie", networking two coms...

Post by Andy Hibbin » Thu, 30 Aug 2001 05:08:36



> Hello All!

> I have two computers, three network cards, linux 7.0, and one IP. How can
> I make all this work?
> I know that I connect one using given IP having two network cards inside
> (incomming/outgoing), where another computer just going to be connected to
> the first one. That's the idea, but no clue how to make it work.

Ip masquerading and ip forwarding to enable two machines to share a single
ip number.
Ip masq can be setup via a firewall on the gateway machine, ip forwarding
can be set in /proc/sys/net/ipv4/ip_forward

You'll also need to add the internal interface's ip number of your gateway
machine to the other machine's /etc/sysconfig/network file, aswell as
adding the route ( route add -net 0.0.0.0 gw gatewayip )

Quote:> I am researching this thing right now, but if you can help me with this,
> will save lot's of my time.

> Thanks guys!

> Anatoliy.

--
--------------------------
Happy 10th Birthday Linux

 
 
 

linux "newbie", networking two coms...

Post by Dean Thompso » Thu, 30 Aug 2001 22:45:14


Hi!,

Quote:> I have two computers, three network cards, linux 7.0, and one IP. How can I
> make all this work?

> I know that I connect one using given IP having two network cards inside
> (incomming/outgoing), where another computer just going to be connected to
> the first one. That's the idea, but no clue how to make it work.

> I am researching this thing right now, but if you can help me with this,
> will save lot's of my time.

You might like to take a look at the IPCHAINS-HOWTO which is located at
http://www.linuxdoc.org.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

linux "newbie", networking two coms...

Post by bgee » Thu, 06 Sep 2001 00:29:55


 >I have two computers, three network cards, linux 7.0, and one IP. How can I make
 >all this work?

http://www.e-infomax.com/ipmasq/ has a lot of information.

--
<> Robert Geer & Donna Tomky |          ||||      We sure       ||||    <>


<>   Albuquerque, NM  USA    |      ||||       here!        ||||    <>

 
 
 

1. USING SENDMAIL "user@domain.com" vs. "user@host.domain.com"

I am currently running ESMTP Sendmail 8.8.7/8.8.7.

With my current configuration in order for sendmail to file incoming
messages to the correct mailbox the message must be sent to

How do I set up sendmail  to receive e-mail messages that where sent to

For example:
Right now to e-mail me you could send the message to


I do currently have an MX resource record in my DNS that sets the linux01
host to be the mail exchanger for the pcscs domain.

thanks in advance

Charles Wilkins

2. GCC 2.7.2 on NetBSD 1.1

3. GETSERVBYNAME()????????????????????"""""""""""""

4. Unknown network error

5. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

6. How can I make scroll wheel work properly?

7. "Novell-like","non-TCP/IP","networking" OS to place Unix

8. Array like access

9. Any good books on "Linux Socket prog", also on "Linux Network prog"?

10. 3-Com 3c509 setup problems...3-Com said "Well, Call Linux...."

11. menu cleanup: "Networking support" -> "Networking options"