Internet Connection sharing using windows to linux
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Internet Connection sharing using windows to linux
Here we have got 4 machines. One Machine is directly connectd to Internet using a cable modem(DSL connection), say the server machine, havin both windows and linux installations. The server machine have 2 NIC's one is connected directly to internet via modem and the other is used to configure internal routin to other machines. Internet connection is DHCP configured using the MAC id of the server NIC. The other machines are configured using the local IP address manually(192.168.0.1 thru 0.4) 0.1 is the getway which is connectd to the internet. All machines including server have windows XP installation and linux is also installed on 3 of them including server.
Internet is configured for both Linux and Windows installation on the server. For windows its configured using ICS.
The problem is that, when the server machine is booted to windows installation, the other machines those are booted to linux are not able to access internet !!
Problem in Brief:
4 Machines.
Internet connection through DSL modem.
OS intallations: all have windows and linux excluding 1, that have only windows.
Internet configuration: when server is on windows, configured through ICS. Using proxy and iptables when server is on linux
Problem: Linux machines are not able to access internet when server is windows(ICS) and clients are on linux !!
Gateway and DNS address are always constant, so no need to update it manually everytime. The server machine has 2 nic. one for internal routing and the other for connecting the DSL modem
Yeah, resolv.conf file contains the DNS nameserver address, ie the orginal DNS servers in the ISP.
And the route command didn't show the gateway address, simply a * in the place of gw
Describe the machine that is connected to the internet. Is it running windows or linux. The easiest way would be to get a Cable/DSL NAT router. Otherwise, I believe that you want the LAN nics on a different subnet from the WAN nic on the DSL connected machine.
Inernet Connected machine has 2 NIC and both windows and linux installed. one NIC is used to connect to internal network and the other is connected to DSL cable modem.
The problem is only when the server machine is booted to windows and using ICS to share internet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.