Internet connect sharing
I would like to know how to share me internet connection on my Windows box with my Linux (OpenSuse) box.
I have a cable modem connected to the Windows box and the Linux box connected to the 2nd NIC in the Windows box.
Any help is appreciated.
You'll need to look into windows internet connection sharing, a topic we might not be able to help you with that much.
Windows XP Internet Connection Sharing might get you going. Then you set up your Linux box to use the windows box as a gateway.
It should be as simple as that. If you have any trouble setting up the Linux box after then post your problems here and we will see what we can do.
Let us know how you get on,
Thanks for the reply.
I have ICS setup on the XP box. One NIC is setup for the internet connection to Roadrunner and one is set to 126.96.36.199 for the LAN. It is running though a hub to the Suse box. Suse is set with a static IP of 188.8.131.52 and subnet of 255.255.255.0 also the gateway is set to 184.108.40.206 and the domain name is set to the XP workgroup name.
Waht I don't know is should I share the connection or bridge the two NIC's and what other settings do I need to look at on the Suse box.
I can ping the Suse box from XP but thats it, no other connection. I do have Zonealarm, but even with it off I still cannot connect to internet or file sharing.
ok, run the following commands on the Linux box and post the output here so we can take a look at all of your network settings and see the errors you are getting (you may need to be root for some of these).
You don't need to do any bridging or similar on the Linux box, once the basic networking parts are up you should be good to go.
Let us know how you get on,
here is the output.
eth0 Link encap:Ethernet HWaddr 00:40:2B:6A:B2:8B
inet addr:220.127.116.11 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::240:2bff:fe6a:b28b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:653 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4590 (4.4 Kb) TX bytes:81925 (80.0 Kb)
Interrupt:20 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:78 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:6172 (6.0 Kb) TX bytes:6172 (6.0 Kb)
Destination Gateway Genmask Flags Metric Ref Use Iface
18.104.22.168 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 22.214.171.124 0.0.0.0 UG 0 0 0 eth0
### BEGIN INFO
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 15956
### END INFO
search [domainname edited]
ping: unknown host Google
The "unknown host" error reported by ping points to a DNS problem and the resolv.conf file does not have a nameserver entry in it.
as root edit /etc/resolv.conf to include the following line: nameserver 192.168.0.1
Then save the file and you should be good to go. If there are any more problems then do the ping again and post the output here.
If you are using dhcp then you may have problems after a reboot, although if you are configuring everything statically then you will have done all that is required. A quick reboot should be all you need to check this keeps working.
Aside from that everything looks ok. Let us know how you get on.
Ok, I can ping the XP box from Linux now but I still can't ping outside the local network. And I cannot load any internet page.
Can you post the error you get from ping.
But on the + side I can see the files on me XP box now.:grin: We're making progress.
Can I get you to run
and post the output here. It should give us more information about what is wrong.