Well, it's still probably better if you use Linux as the gateway machine, but still...
You haven't told us very much about your setup so it's difficult to tell you exactly how to configure your network... Try this though: On your linux box, as root, run "netconfig" Then, in the relevant fields type an IP address for your Linux box (it must be on the same subnet as your w2k box). So, assuming that your windows box is 192.168.1.1, make your Linux box 192.168.1.10 or something like that. For the netmask put 255.255.255.0 Default gateway: the ip address of your windows box (so in this example 192.168.1.1) And for the primary nameserver, either put 192.168.1.1 or the ip address of a public DNS server that you know. Then click "OK" then type /etc/init.d/network restart a) then try pinging your gateway: ping 192.168.1.1 b) if that works, try pinging a domain outside your network: ping google.com if a and b work, you're set. If not, type "ifconfig" and "route" and see if all the settings you have made have taken. Ian ------------ Dr Ian Firla Robert Graves Trust | "A partial count of the software available St John's College, Oxford | in just one noncommerical Linux system OX1 3JP - +44-(0)7855-310565 | would have cost about $1.9 billion to develop http://www.robertgraves.org | ... the way Microsoft does it" Bruce Perens On Sun, 12 Jan 2003, E&Erdem wrote: > Thank you very much Jim, > I wanna use linux for my internet connection too. But I have not been know > linux enough yet. (And the machine i installed redhat 7.1 isn't fixed in my > office.) So until i learn linux enough i must use win2000 for internet > connection. > Well, i'm looking for how-to documents on internet. I want you know that i'm > a new member of linux RedHat family. And i wanna learn linux fast as > possible as. > If you can explanation of my question, (how can i connect to internet > through win200 pro.) please tell me. I have a ethernet card, and i'm using a > hub for together link my machines. > > Thanks again. > > ----- Original Message ----- > From: "James P. Roberts" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, January 12, 2003 1:41 AM > Subject: Re: Internet connection through win2000 pro > > > > > Hello, > > > I'm just started to use Red Hat 7.1 in my office. But i don't know > > > anything about RetHat. So i need some suggestion; for example where > > can > > > i start, what should i do for fast learning, etc. > > > > > > But before that, there are two computers in my office. One of them > > which > > > i'm using as a server uses win2000 pro. And i don't know how can i > > > connect to internet using this computer's connection. There is a > > network > > > connection. > > > > > > Thanks now... > > > > Actually, Linux is so much better as a server than Windows (any > > variety), that I would strongly recommend using the Linux box as the > > server, connected to the internet. Then, all you need to do is turn on > > "IP packet forwarding." Setting up a firewall is more of an art, but > > the flexibility and control possible with Linux versus Windows, not to > > mention raw performance... well... it's well worth learning > > "iptables." Or, you can use the older, somewhat less capable > > "ipchains," or just select one of the default firewall configurations > > during RedHat installation (which is ipchains based, in RH 7.1). > > > > Then, the win2000 box can connect to the internet through your Linux > > machine. Much cleaner than the other way around, as far as I know. > > Also, more reliable, because Linux downtime (read "time spent > > re-booting") is much less. Experience the joy of installing new > > software without having to reboot!!!! > > > > Achieving just the above will teach you quite a bit about just basic > > "getting around" in Linux. I recommend it as a first exercise. > > > > Google is your friend! If you include the keywords "how-to" and "linux" > > in your query, it will often take you right to what you need. > > > > As far as wiring... whichever box is connected to the internet will > > need a spare ethernet card. You can either use a "cross-over cable" to > > connect the machines together, or use a multi-port switch or hub between > > them, with regular "CAT5" or "CAT6" patch cables connecting them all > > together. (Switches are better than hubs. CAT6 is better than CAT5, > > but is probably overkill for most situations.) > > > > Keep on asking questions, as you go. Learning can be fun! > > > > Regards, > > Jim > > > > > > > > _______________________________________________ > > Seawolf-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/seawolf-list > > > > > > _______________________________________________ > Seawolf-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/seawolf-list > _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
