LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-12-2003, 01:04 PM   #1
tangaz
Member
 
Registered: Sep 2003
Location: India
Posts: 31

Rep: Reputation: 15
Connection Setup


Newbie alert!!!!!!!!!!
I have a Redhat 9 running well and perfectly..well almost.The thing is i cant connect to the internet and have tried all i could.
Here is the scenerio:
My box has to NICs one connects to a laptop and the other to the Internet.
I connect through cable to an ISP so its like a network so to say(obviously i dont knw beyond my computer) which i suspect i connect to some computer.
I have an IP Address assigned to my computer and the gateway too.
Here is wht it looks like in Windows:

IP Address:203.196.174.23X
Submask:>255.255.255.224
Gateway:>203.196.174.22X
DNS is the same as the Default Gateway too

The other NIC (which connects to Laptop) is as follws
Ip Address:>192.168.0.1
Subnet:>255.255.255.0
This box is supposed to be the gateway to Laptop and also be the DHCP to the laptop too.

Now comes the problem how to transfer the above to Linux and have my box as the DHCP server for the laptop and its default gateway to the net.And also to connect to the box itself to the Internet.

Here is what i have done in Linux
/etc/hosts/
127.0.0.1 local hosts>>.I added
203.196.174.225 (my gateway) Do i need to put my Ip address???
/etc/hosts.allow
is empty i din do anything
/etc/hosts.deny
is empty "i din do anythging"
/etc/resolv.conf
search hotconnect.com
Nameserver =203.196.174.225
/etc/sysconfig/network-scripts/ifcfg-eth1
appears as on the documentation so i thot not to change them.

If you have a solution please i would appreciate it if you would give me a possible step by step procedure considering the above Windows configurations that way i don confuse myself more and screw up further.
Thanks
 
  


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
How to setup a connection? Projectpat21 Mandriva 2 10-13-2005 08:56 PM
Internet Connection Setup adds2one Slackware - Installation 3 08-28-2005 12:45 PM
Setup internet connection slackr007 Fedora 1 01-03-2005 01:43 AM
Setup up DSL connection shinpadsmt Linux - Newbie 6 02-08-2004 06:44 PM
how to setup connection? c12ayon Linux - Newbie 3 10-11-2003 10:34 PM


All times are GMT -5. The time now is 02:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration