Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance
Dne 8.3.2011 10:19, hadi motamedi napsal(a):> Dear All > My centos machine is connected to my MS Windows machine on the net.The > MS Windows machine is connected to Internet via valid IP address > setting and on its secondary ip address setting it can see my centos > machine on the intranet.Can you please let me know how can try for > Internet connection sharing such that my centos machine can see > internet with minor modifications done? > Thank you in advanceHi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ
On 3/8/11, Rudi Ahlers <Rudi at softdux.com> wrote:> On Tue, Mar 8, 2011 at 12:09 PM, hadi motamedi <motamedi24 at gmail.com> wrote: >> On 3/8/11, Jakub Jedelsky <jakub.jedelsky at gmail.com> wrote: >>> Dne 8.3.2011 10:19, hadi motamedi napsal(a): >>>> Dear All >>>> My centos machine is connected to my MS Windows machine on the net.The >>>> MS Windows machine is connected to Internet via valid IP address >>>> setting and on its secondary ip address setting it can see my centos >>>> machine on the intranet.Can you please let me know how can try for >>>> Internet connection sharing such that my centos machine can see >>>> internet with minor modifications done? >>>> Thank you in advance >>> >>> Hi hadi, >>> >>> this isn't centos thing, all you need is to configure network bridge on >>> your Windows machine. You didn't send info about your windows verison so >>> try to google something about it >>> (http://www.google.com/#q=windows+network+bridge) >>> >>> JJ >>> _______________________________________________ >>> CentOS mailing list >>> CentOS at centos.org >>> http://lists.centos.org/mailman/listinfo/centos >>> >> Thank you very much for your reply.I am familiar with internet >> connection sharing on MS Windows as I have a third XP client on the >> same net connected to the internet.I tried as the following on my >> centos: >> #route add -net default gw 172.18.209.1 >> Where this is the secondary ip address of the MS Windows host.But the >> centos cannot see the internet. Can you please let me know why? >> _______________________________________________ > > > Did you add any DNS resovler IP's to /etc/resolv.conf ? > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 >Yes, I did but still internet unreachable.
>My centos machine is connected to my MS Windows machine on the net. >The MS Windows machine is connected to Internet via valid IP address >setting and on its secondary ip address setting it can see my centos >machine on the intranet.Connecting any windows based computer directly to the internet is a really really bad idea...
On Tue, Mar 8, 2011 at 1:19 AM, hadi motamedi <motamedi24 at gmail.com> wrote:> Dear All > Can you please let me know how can try for > Internet connection sharing such that my centos machine can see > internet with minor modifications done?I believe Steve Barnes has the right answer -- you need to configure CentOS to obtain an IP address from the Windows machine with DHCP.
> Do you have any proof of this? OR are you making assumptions of past > experiences? We have many Windows server on the net, directly with > very few hassles.I have never had a *NIX server under my charge hacked, I have had several Windows machines (those directly connected to the internet) hacked. No, I am not a *NIX worshiper either, I happen to have 7 MS certs. With that said, each OS has stregnths and weaknesses, MS tends to function better as a user facing interface to windows desktop infrastructure, but I avoid it like the plague for public facing infrastructure.