How to configure Linux for a LAN of NT machines + 3COM 3C891 LAN Modem

How to configure Linux for a LAN of NT machines + 3COM 3C891 LAN Modem

Post by Eric Lassaug » Thu, 23 Sep 1999 04:00:00



I have a local network of "Windoze" PCs (NT + Win98) connected to the
internet via a
3COM 3C891 Lan Modem (and an ISP !!!).
Each PC is assigned a static IP address and connects "with a click" to the
internet.

The question is, how do I configure the Linux (Redhat 6.0 with a 2.2.12
kernel) machine
to access the internet (this machine has a dual boot with NT 4) ?

I allready did that:
==============
Configure my static IP address in /etc/hosts :

127.0.0.1       localhost               localhost.localdomain
192.10.1.5      Lanmodem.MYDOMAIN    lanmodem Lanmodem
192.10.1.4      Dev01.MYDOMAIN    dev01 Dev01
192.10.1.3      Dev02.MYDOMAIN     Dev02 dev02
192.10.1.2      Dev03.MYDOMAIN    Dev03 dev03
192.10.1.1      Dev04.MYDOMAIN     Dev04 dev04

Put the IP address of the lan modem as the Gateway (in
/etc/sysconfig/network) :
NETWORKING=yes
FORWARD_IPV4="yes"
HOSTNAME="Dev01.MYDOMAIN"
GATEWAY="190.10.1.5"
GATEWAYDEV=""

/etc/HOSTNAME :
Dev01.MYDOMAIN

/etc/resolv.conf:
domain MYDOMAIN
search MYDOMAIN
nameserver 192.10.1.5

I can access the httpd / ftp servers on my Linux machine from the rest of
the network
(I can "telnet connect" too)

BTW I have the same question to configure samba (I was not able to share the
linux disk
with the windows WS) ....
/etc/smb.conf:
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = MYDOMAIN

# server string is the equivalent of the NT Description field
   server string = Samba Server on Linux

# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

When I try to "connect a network drive" with NT I see the server running on
the linux box but I
can't connect (even with a valide username/password) ....


 
 
 

1. My linux server behin a 3Com 3c891 Lan Modem

Hi,
I was running wy linux server fine until i got the 3com 3c981 LAN Modem, an
ISDN LAN Modem that acts like a router. My server is connected on LAN Modem
and has local IP 192.168.1.4, my other PC (a Winodws 98 "games" machine" is
on 192.168.1.2, and the LAN Modem, that acts as default gateway and DNS
server, is on 192.168.1.1. This LAN Modem acts as an internet - ethernet
router.
But i've got 2 problems:
First, I can't request DCCs any more on IRC because the other part i send
the request to asks for my IP and the LANModem tells it's 192.168.1.4, that
makes connection to my PC impossible.
Second, the Lan Modem seems to act like a firewall since nobody can connect
to my linux server. The router has only por 80 and 21 opened to the public
and those ports lead to his internal configuration programs.
Does anyone know how to solve this VERY annoying problem?
Err pleeaaase, don't tell me to throw it in the trashcan, this stupid
machine is lts of money! ;-)
Thanks in advance

2. Telnet sessions locking up over ppp?

3. Configuring a linux router on LAN-LAN

4. Sockets references.

5. IP-Forwarding PPP-LAN but not LAN-LAN

6. OnBoard Vga

7. Can Samba let my Linux machine act as a workstation/client in NT LAN?

8. Packages for Accessability Features?

9. LAN to LAN connection over modems

10. 3Com Officeconnect LAN Modem / Linux

11. Connecting a Linux machine to a Windows NT LAN

12. linux on LAN with NT/98 Machines

13. Linux and 3Com ISDN LAN Modem Frustrations