On Fri, 14 Sep 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <(E-Mail Removed) om>,
(E-Mail Removed) wrote:
NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.
> I have two Linux machines I want to connect to the net via Windows XP
>machine currently conneted to the net via DSL. This is not my W-XP
>machine or my DSL line and I am not allowed to change this. I am
>allowed to connect via Windows XP ICS.
I can't help you on the XP setup - I got rid of windoze before they
discovered the concept of networking.
>I have installed a 2nd NIC in Windows, down loaded drivers and
>installed it.
>W-XP assures me the NIC is working. I have set up the bridge and it is
>up and running and enabled.
I'll take your word for it
>Ipconfig /all gets me:
>
>Hostname Cowputer (Yes. it's a Dell)
You know, we shoot people for puns like that ;-)
>IP Routing Enabled (No)
That might need to be 'Yes'
>Autoconfiguration Enabled yes
Hopefully it knows what's going on. Can it talk to the world?
>IP Address 69.151.200.34
>Subnet Mask 255.255.255.0
That may be reasonable for the Internet side
>Default Gateway 192.168.0.1
>DHCP Server 192.168.0.1
>DNS Servers 192.168.0.1
I don't do windoze, but this doesn't sound exactly correct. The default
should be some host on the same network as 69.151.200.34 (the Internet)
and the DNS server should be something outside as well. When I ask my
name server about 69.151.200.34, it refers me to ns1.swbell.net at
151.164.1.1, and ns2.swbell.net at 151.164.11.218. They may or may not
be the DNS server you need to use.
>Now my linux boxes.
>
>All are set up to a ethernet hub. All have their hosts files set and
>I can ping each other. I have a cable from the hub to the Windows Box.
>I have tested the cable and it works
>
>I added "192.168.0.1 Cowputer": to each Linux machine's hosts file,
>but I get "network unreachable" if I try to ping Cowputer.
What does '/sbin/ifconfig -a' and '/sbin/route -n' show on the Linux boxes?
Let's assume they are on 192.168.10.0/24 with addresses 192.168.10.2 and
192.168.10.3. Let's further assume the windoze box has the second NIC as
192.168.10.1. 'ifconfig' should show "my" address, right mask, network
and broadcast, and little or no error counts. Perhaps something like
eth0 Link encap:10Mbps Ethernet HWaddr 02:60:8C:57:C0:F7
inet addr:192.168.10.3 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100907 errors:0 dropped:0 overruns:0 frame:0
TX packets:92050 errors:0 dropped:0 overruns:0 carrier:0
collisions:154
Interrupt:10 Base address:0x300
The routing table should show the local route AND a route to the world,
using the windoze second NIC as gateway - perhaps
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 89948 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 388 lo
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 2673 eth0
The windoze data (ipconfig is one, 'route print' for the other) is going
to have to show similar concepts - except that the 'default route' to
the world will be pointing out the DSL interface at some outside box.
>I need to add route tables but here I am stuck. What do I need to do
>to get my Linux machines Itchy and Scratchy to connect to the net via
>Cowputer?
What do you need to talk to the windoze box? OK - it's in the first line,
so send things directly. What do you need to talk to the world? Well,
the world isn't connected to this wire, so send the packets to the
windoze box for forwarding.
>Do I need Cowputer's IP Routing enabled?
My guess - yes
>A big, fat, live DSL line to use and I can't get to it. I tried
>figuring it out and did several route add attempts but I just cannot
>find enough info on doing this to get it done.
Have you looked at the HOWTOs? You haven't told us what the Linux
distribution is, so we can't tell you what files to stroke, or what
GUI icon to click on - that would help.
>Where do I go from here?
-rw-rw-r-- 1 gferg ldp 40490 Jun 22 2000 Home-Network-mini-HOWTO
-rw-rw-r-- 1 gferg ldp 203891 Sep 29 2004 NET3-4-HOWTO
-rw-rw-r-- 1 gferg ldp 45604 Apr 18 2006 Networking-Overview-HOWTO
-rw-rw-r-- 1 gferg ldp 71626 Apr 4 2004 Unix-and-Internet-Fundamentals-HOWTO
Old guy