|
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
|