LinuxQuestions.org
Help answer threads with 0 replies.
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 11-28-2005, 03:23 PM   #1
caghiebe
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
configuring lan to connect thru slackware 10.2


I have a Slackware machine running version 10.2 and a Windows XP machine. I want to set up the two to connect to the same cable modem and to share the internet connection. The linux machine has two network cards and I want to make it the server machine: aka the Windows XP machine must connect thru the linux machine in order to use the internet link. As I am a newbie and used to Windows XP only, I would like to know first of all how to configure IP addresses for the two network cards in the linux machine: one network card should be used with DHCP in order to connect to the Internet directly using the cable modem and the other one should have a static IP to connect to the XP machine (I will set up the XP machine with a static IP and with the static IP of the linux machine as gateway). I know very few linux commands and I would appreciate a succession of commands rather than a literal description. I can read the man pages for the commands I do not know; now however I don't even know what commands to use )
 
Old 11-28-2005, 05:05 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
In slackware you use the
/etc/rc.d/rc.inet1.conf
file to setup network cards
so the first step is to edit that file.
The file contains comments that explain what you need to change.

basically you will want to set your eth0 to dhcp, then set your gateway to your cable modem address.
then configure eth1 to a static IP
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 02:14 PM
configuring LAN TiCkO Linux - Networking 1 03-02-2005 04:22 PM
configuring LAN bahuguna_n Linux - Newbie 1 12-27-2003 07:50 AM
Configuring LAN To Connect to Internet on Mandrake johnleemk Linux - Networking 1 10-06-2003 11:42 AM
Help on configuring Lan browsing balam Linux - Networking 1 12-07-2002 09:02 AM

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

All times are GMT -5. The time now is 03:11 AM.

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