Click to See Complete Forum and Search --> : Network question
powergod
11-30-2000, 08:57 PM
I have a windows me machine with 2 network cards. ! is for a cable modem the other is for my internal network. My 2nd machine is using linux mandrake 7.2. I set the ip address and subnet mask correctly, and I set the default gateway to the internal ip address of t he windows card. I still cannot get out from the linux machine. The windws machine is hooked up to the cable modem and the linux is hooked into the windows machine through a hub. I am running lanbridge on the windows machine -- a weak proxy server. What else am I missing?
powergod
11-30-2000, 08:59 PM
bump
FoBoT
11-30-2000, 09:02 PM
more details please
how did pinging go? can you hit the wme cards?
lights on the hub? sure good cables?
you can't ping the isp dns servers?
can you ping back to the linux box from the wme box?
[This message has been edited by FoBoT (edited 30 November 2000).]
compunuts
11-30-2000, 09:04 PM
Did you enable IP forwarding on Win ME machine? I'm not sure how to do it since I have never use ME myself but on Win 2K, network connection area have advanced window where I can tell Win2K to share the connection. I take it as your IP is dynamic so make the NIC hooked to Cable modem to use DHCP ,or whatever, and give the second one to use Static IP, such as 192.168.0.1.
Then set up your Linux box to use internal IP, such as 192.168.0.2, netmask, such as 255.255.255.0 and point to gateway IP, such as 192.168.0.1. That should do it.
FoBoT
11-30-2000, 09:22 PM
Originally posted by compunuts:
...and give the second one to use Static IP, such as 192.168.0.1.
Then set up your Linux box to use internal IP, such as 192.168.0.2, netmask, such as 255.255.255.0 and point to gateway IP, such as 192.168.0.1. That should do it.
actually to use ICS you have to use DHCP on the internal LAN. ICS sets the shared NIC to 192.168.0.1 (see http://support.microsoft.com/support/windows/inproducthelpme/ics_dhcp.asp?LN=EN-US&SD=gn&FR=0&qry=ics&rnk=16&src=DHCS_MSPSS_gn_SRCH&SPR=WINME)
and will assign dynamic ip's in the 192.168.0.2-254 range to any dhcp clients on the LAN, so just setup the linux box for dhcp and there you go
FoBoT
11-30-2000, 09:25 PM
Originally posted by powergod:
I am running lanbridge on the windows machine -- a weak proxy server. What else am I missing?
i don't know about lanbridge, but ICS is built into wme and it works fine, although it can be tricky to setup. see the other post
powergod
11-30-2000, 09:47 PM
I can ping from both machines to the other. The network is setup as suggested, however, I can't setup a dhcp server on my internal network. That requires NT or win2k. I use standard class c addresses on my internal network. Also, yes the cable modem works on dhcp. I went ahead and disbled lanbridge. the linux machine is setup with removable harddrives. When use w98 harddrive I have no problem. I could always hook the cable modem into my hub and just get 2 seperate ip's form my isp. I am trying to avoind that.
compunuts
11-30-2000, 09:50 PM
Originally posted by FoBoT:
actually to use ICS you have to use DHCP on the internal LAN. ICS sets the shared NIC to 192.168.0.1 (see http://support.microsoft.com/sup port/windows/inproducthelpme/ics_dhcp.asp?LN=EN-US&SD=gn&FR=0&qry=ics&rnk=16&src=DHCS_MSPSS_gn_SRCH&SPR=WINME) (http://support.microsoft.com/support/windows/inproducthelpme/ics_dhcp.asp?LN=EN-US&SD=gn&FR=0&qry=ics&rnk=16&src=DHCS_MSPSS_gn_SRCH&SPR=WINME))
and will assign dynamic ip's in the 192.168.0.2-254 range to any dhcp clients on the LAN, so just setup the linux box for dhcp and there you go
Thanks for the info.. I've never use Winbox as my gateway so it's good to know. I just tested it to see what it's and assigned one IP manually and it also worked well. So I reformat it to install some other OSes. :-) good to know though.... Thanks.
compunuts
11-30-2000, 09:55 PM
Originally posted by powergod:
I can ping from both machines to the other. The network is setup as suggested, however, I can't setup a dhcp server on my internal network. That requires NT or win2k.
It sounds like that Win 2K pro and Win Me have built in DHCP server if you use its ICS (internet connection sharing). You do not need Win 2K or NT server to run.
Did you set up your Linux to use DHCP as well? What it says when you issue "ipconfig /all" command? It sounded like your Linux is not seeing your NIC card?
It would also be helpful if you run "ipconfig /all" command at Windows box and check whether both cards are recongnized. Other than that I don't see the problem.
FoBoT
11-30-2000, 10:08 PM
Originally posted by powergod:
..however, I can't setup a dhcp server on my internal network. That requires NT or win2k...
uh, no see the link, ICS includes a very basic dhcp server
powergod
11-30-2000, 10:19 PM
Thanks, I didn't realize ICS had a dhcp server built in. That's good info. when I ran ipconfig /all both nic's were present. I'll work on the ICS thingy tomorrow.
powergod
12-01-2000, 02:00 PM
bump
FoBoT
12-01-2000, 02:26 PM
it really comes down to this
do you want to use ICS or the lanbridge thingy you mentioned.
i have never used the lanbridge thingy, so can't help with that, but if you get stuck setting up ICS, i can point you to some more web sites and there is lots of info in the microsoft knowledge base
[This message has been edited by FoBoT (edited 01 December 2000).]
atl2ptown
12-01-2000, 03:53 PM
you dont need to pay for two ip addresses. Just hook the cable line into the hub's uplink port. you should have gotten a paper that stated the default gateway address and the ip address that was statically given to you. Simply give the same ip address to both machines and dial the same gateway. you will share the bandwidth, but you will not have to pay for 2 ips.
nathan
atl2ptown
12-01-2000, 03:58 PM
you dont need to pay for two ip addresses. Just hook the cable line into the hub's uplink port. you should have gotten a paper that stated the default gateway address and the ip address that was statically given to you. Simply give the same ip address to both machines and dial the same gateway. you will share the bandwidth, but you will not have to pay for 2 ips.
nathan
SolarFlux
12-01-2000, 04:04 PM
You should be using linux for your gateway and not the Win ME machine, ME is waaay too flaky and M$ TCP/IP stack sucks.
Even better would be to get a cheap box and make an OpenBSD firewall/NAT/gateway. JMO.
If you do want to proceed with the ME box as the gateway, specify the default gateway on the linux box as the internal IP of the ME box.
<edit>Oh, I see you've already done that... Well, try the ICS thing if you must, I understand some cable companies won't let you run a LAN or any OS other than 'doze.
Precisely the reason why I dumped cable and bought a business ADSL line, so I can run servers and use any OS I want, and have as many nodes on my LAN as I desire.</edit>
Good Luck...
[This message has been edited by SolarFlux (edited 01 December 2000).]