Network (1 win, 1 Linux) w/ 1 card per box?

Network (1 win, 1 Linux) w/ 1 card per box?

Post by Ryan Michael » Wed, 06 Oct 1999 04:00:00



I'm trying to network my windows machine to my linux machine that's online
via cable modem. Some people tell me that I need 2 cards in my linux box
while others say I need only one.

It was explained to me that 1 card need to connect the linux machine to the
internet while the other provides the local IP. I read a previous post about
putting 2 IPs on a card by using IP aliasing.

I was wondering if I could do IP aliasing so I only need 1 card in the linux
box. I don't really know how to do it (so I'll read the how to), but is it
possible?

Thanks in advance!

 
 
 

Network (1 win, 1 Linux) w/ 1 card per box?

Post by Curt » Wed, 06 Oct 1999 04:00:00


IP aliasing is possilbe, but in this case you probably need to get a second
card.
This will allow your linux box to ack as a firewall, and with IP
masquerading or IP chains
you can have a private network behind it, on the second card.   Trying to
accomplish a
firewall with only 1 card would be rather pointless.

Now if you can get 2 IP addresses from your ISP, then no 2nd card is
required.  But then
both your systems are equally at risk.


>I'm trying to network my windows machine to my linux machine that's online
>via cable modem. Some people tell me that I need 2 cards in my linux box
>while others say I need only one.

>It was explained to me that 1 card need to connect the linux machine to the
>internet while the other provides the local IP. I read a previous post
about
>putting 2 IPs on a card by using IP aliasing.

>I was wondering if I could do IP aliasing so I only need 1 card in the
linux
>box. I don't really know how to do it (so I'll read the how to), but is it
>possible?

>Thanks in advance!


 
 
 

Network (1 win, 1 Linux) w/ 1 card per box?

Post by Random Chao » Thu, 07 Oct 1999 04:00:00


Ok, to make a long story short, you can use 1 OR 2 network cards.

The difference is like this:

If you have one network card, you have to have a hub. What will happen is
that every request for the internet from either machine will be sent to the
hub, and the hub will broadcast the packets to the originating machine, the
cable modem, and the linux box. For this reason, most people prefer to go
with the 2 card setup. With this, every request for the internet will be
routed through the linux machine first.

If you have two network cards and only the two machines, then you can get
by without a hub, and can even run the cards in full duplex mode if they
support it. You have to run a "crossover" cable between the linux machine
and the dos box if you choose this method though. This allows each machine
to think that the other is the hub.

The client end is very easy to set up. You just have to set your linux
machine up as your gateway, (using the linux machines normal ip... usually
a 192.168.X.X address). The linux setup can be done using the
ip-masqerading howto, or a very easy to follow web page that i stumbled
across while setting up my system.

 http://jgo.local.net/LinuxGuide/linux-ip-masq.html

I hope this has helped. If i can be of further assistence, you can contact
me via e-mail, and i will help you to the extent that i am able.

Chaos

------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com

 
 
 

1. Networking Linux box to Win 98 box

I'm so green to Linux I think it's spring!

I have been doing a lot of reading but haven't found asnwers to the
questions I have.

Both of my boxes have NE2000 PCI compatible cards and a 4 station 10Mbyte
hub.

I have Win98 on one machine and have installed Linux Mandrake v6.1 on my
Linux box.

I'm currently running KDE as my desktop.

It is my understanding that I can assign any address I want to my cards.
Is this true?

Do I need a Netmask address?

Do I need a gateway address for a two box system?

Do I need to setup DNS or NIS?

Do I need to configure routing?

What is WINS?  Do I need it configured?

What is NETBIOS?  Do I need it configured?

What are Bindings?

And finally after I get the whole thing running, how do I recognize and
access the Win98 box from my Linux box.

I'm at the bottom of the learning curve here and need some help.

Maybe if this is too much to ask here you all could direct me to a book or
two that would help me understand the language, syntax and commands of
Linux, remembering, of course how it was when you started to learn and
enter this facsinating world of Linux.

My sincere thanks to those of you who choose to respond.

John

--
Posted via CNET Help.com
http://www.help.com/

2. I wish someone knew something about qpopper the server

3. Linuxppc or Mandrake ? That is a good question

4. Linux Box, Win98 box, Two Network cards, Now What?

5. Problems with Samba2.0.3 and Solaris2.6

6. Networking Linux Box to Win95 Box using ethernet connection and Combo card

7. Porting from Mach to IRIX?

8. Trying to setup firewall on linux box with two network cards, cards are not configuring correctly

9. Using linux as a network switch (multiple ARP addresses per card)

10. How do you see your Win Network puters from linux box?

11. Networking linux server with Win me box

12. Networking Win 3.11 to Linux box ???