LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-25-2004, 02:57 PM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
Internet sharing redhat and window server 2003


I have window server 2003 on my server, one of my client does have redhat 9, how can i share my internet. my modem ADSL is connected to my server.

my server does have two Eth:
one to the modem.(automatic IP)
the second to my other PC(redhat). (192.168.0.1)

on my second PC(redhat)
on my Eth i have the ip 192.168.0.5 and it active.

how can i share the internet.
on my http proxy i have my net runner proxy (proxy.logosnet.cy.net) port 8080

can any one help
 
Old 03-26-2004, 12:46 AM   #2
tr4nsfix
Member
 
Registered: Mar 2004
Location: Toronto, Ontario
Distribution: Debian
Posts: 36

Rep: Reputation: 15
this seems more like a windows question than a linux question... personally I'd have the internet connected to a linux server with two network cards.
 
Old 03-26-2004, 07:06 AM   #3
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
I don't what u meant, but I have shared on windows my INTERNET.

on one of my clients, i have both OS redhat and xp, when i logon to xp every thing is fine, the INTERNET is shared and it worked, but when i login to redhat, i cant browse the net.
 
Old 03-26-2004, 12:29 PM   #4
tr4nsfix
Member
 
Registered: Mar 2004
Location: Toronto, Ontario
Distribution: Debian
Posts: 36

Rep: Reputation: 15
Oh I see - your redhat box dual boots and when its in windows it works.

Sounds like maybe a problem with network config. What is the output for 'ifconfig -a' and 'netstat -rn' on your redhat machine?
 
Old 03-26-2004, 12:43 PM   #5
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tr4nsfix
Oh I see - your redhat box dual boots and when its in windows it works.

Sounds like maybe a problem with network config. What is the output for 'ifconfig -a' and 'netstat -rn' on your redhat machine?

any support?? is there any way that i can make redhat share the internet from my server
 
Old 03-26-2004, 01:10 PM   #6
tr4nsfix
Member
 
Registered: Mar 2004
Location: Toronto, Ontario
Distribution: Debian
Posts: 36

Rep: Reputation: 15
yes it should work...
 
Old 03-26-2004, 05:16 PM   #7
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
i will try it as soon as i go home, i hope it works,
 
Old 03-27-2004, 08:31 AM   #8
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
Hi

back to the subject:
first of all: when i boot my system this what i get:
could not lookup internet address for localhost.
this will prevent GNOME from opertaing correctly.
it may be possible to correct the probelm adding localhost to the file /etc/hosts.

second, dont i have to confirm the OS that my internet is shared from other computer.

Thanks
 
Old 03-27-2004, 08:37 AM   #9
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
when i do ifconfig thsi what i get:

link encap: local loopback
inet addr:127.0.0.1 mask 255.0.0.0
UP loopback running MTU:16346 metric:1
RX packets:357 errors:0 dropped:0 overruns:0 frame:0
TX pcakets:357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuele:0
RX bytes:23954 (23.3.Kb) TX bytes:23954 (23.3 kb)
 
Old 03-27-2004, 08:41 AM   #10
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
when i tried to ping

my server which is having tow ip when for the modem(auto) ex 10.110.78.220 i get network unreachable
when i ping 192.168.0.1 which is my second eth i also get network unreachable.

please help
 
Old 03-27-2004, 08:42 AM   #11
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
my linux is connected with my other PC through hub
 
Old 03-27-2004, 09:40 AM   #12
tr4nsfix
Member
 
Registered: Mar 2004
Location: Toronto, Ontario
Distribution: Debian
Posts: 36

Rep: Reputation: 15
It doesn't look like you have any configured network cards on your linux machine. the lo interface is your Local Loopback (you need to leave that the way it is.)

Try the command "ifconfig eth0" does it come back with any errors?

If no errors try "ifconfig eth0 192.168.0.2 netmask 255.255.255.0" and then try to ping that interface to make sure its working "ping 192.168.0.2"... if that works see if you can ping your gateway "ping 192.168.0.1" to see if you get a responce.
 
Old 03-27-2004, 09:42 AM   #13
tr4nsfix
Member
 
Registered: Mar 2004
Location: Toronto, Ontario
Distribution: Debian
Posts: 36

Rep: Reputation: 15
also the output to an "netstat -rn" may be useful here...
 
Old 03-27-2004, 10:42 AM   #14
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
as i see, i think things are getting better,
when i do the command

ifconfig eth0

this what i get:
link encap:ehternet HWaddr 00:0D:87:2A:5D:AF
up brodacast running multicast MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:- carrier:0
collisions:0 txqeueuelen:100
RX bytes:120 (120.b) TX bytes:244(244.0 b)
interrupt:11 Base address:0xd400

*when i do the command ifconfig eht0 192.168.0.2 netmask 255.255.255.0
i got nothing.

*when i ping 192.168.0.2 or /1
i got success(reply)

when i ping any thing else i got
connect: network is unreachable

i hope i am not making my problem so hard to understand.
 
Old 03-27-2004, 10:48 AM   #15
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
out put of netstat -rn
is

destination gateway genmask flags mss window irtt iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

thats it
 
  


Reply



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
SuSE 9.1 to Windows 2003 Server Internet Connection Cipherfx Linux - Newbie 2 01-12-2005 09:22 PM
Using a shared internet connection from Win 2003 Server? piraya Linux - Newbie 4 10-24-2004 11:08 AM
Redhat 9.0 with windows server 2003 and XP darrendorlando Linux - Software 1 10-15-2003 01:59 PM
RedHat 9.0 with Windows server 2003 and XP darrendorlando Linux - Games 0 10-15-2003 01:37 PM
How Can I Make Internet Connection Sharing Server With RedHat Linux 7.3? SurfTurtle Linux - Networking 6 10-20-2002 01:01 AM

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

All times are GMT -5. The time now is 11:49 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