BigDaddy Posted November 3, 2007 Share Posted November 3, 2007 I live an a resident of hall. We students here get internet from the router using DHCP. And we even see each other's computer DNS name when online. I personally have hooked up another computer something like this:###internet line### -------> ###connects to NIC1 on my computer 1 running Win2k3### --------> with the help of routing and remote I share this internet connection with my other computer lets call it computer 2 which has WinXP.On computer 1 which is directly connected to the internet socket I can see other computers names and different workgroup's in Network Neighbourhood and even connect to them if I have the password and the username.On computer 2 which is connected to computer 1 I can only see computer 1 in network neighborhood. Although by typing in IP address I can also connect to other computers in this resident hall. But if a type the DNS name of the computer it will not resolve.Is it possible that on computer 2 I would also see other computers when I click on network neighborhood or at lest would be able to connect to them by typing in a DNS address. Link to comment Share on other sites More sharing options...
eyeball Posted November 3, 2007 Share Posted November 3, 2007 i think for this you would need a static routes in place to be able to route the traffic between the 2 subnets as it were. What are the ip address's of your 2 computers? or the ranges you are working with at least? Link to comment Share on other sites More sharing options...
BigDaddy Posted November 11, 2007 Author Share Posted November 11, 2007 (edited) they are 192.168.0.x with subnet 255.255.255.0.The subnet that connects to the router is255.255.255.128How would this static routing work? And how come I can connect to those other computer thru IP address but not from their NETBIOS name.ps. Should I set up WINS on the server' Edited November 11, 2007 by BigDaddy Link to comment Share on other sites More sharing options...
BigDaddy Posted December 4, 2007 Author Share Posted December 4, 2007 * Link to comment Share on other sites More sharing options...
eyeball Posted December 4, 2007 Share Posted December 4, 2007 what are the 2 IPs that the win2k3 box has? and what is the IP of the XP box? Link to comment Share on other sites More sharing options...
BigDaddy Posted December 4, 2007 Author Share Posted December 4, 2007 (edited) Ethernet adapter Switch: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.0.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :Ethernet adapter Internet: Connection-specific DNS Suffix . : sd.uni-lj.si IP Address. . . . . . . . . . . . : 88.200.110.x Subnet Mask . . . . . . . . . . . : 255.255.255.128 Default Gateway . . . . . . . . . : 88.200.110.129192.168.0.0 is where my WinXP machine is located and its IP is 192.168.0.2. Edited December 5, 2007 by BigDaddy Link to comment Share on other sites More sharing options...
eyeball Posted December 4, 2007 Share Posted December 4, 2007 (edited) ah, i presumed that a router would be between you and the internet. if you ping another client pc by hostname, what is the IP address that it returns? there must be some other device between you and the internet, maybe a router with fully featured NAT or something?what DNS Servers do the 2 machines have? the same? or different?do you know how to use nslookup? if so that could help track down name resolution problems too. let us know and we will go from there Edited December 4, 2007 by eyeball Link to comment Share on other sites More sharing options...
BigDaddy Posted December 5, 2007 Author Share Posted December 5, 2007 if you ping another client pc by hostname, what is the IP address that it returns?if I ping hostname 'leab' I receive:88.200.110.xthere must be some other device between you and the internet, maybe a router with fully featured NAT or something?I think so too.what DNS Servers do the 2 machines have? the same? or different?I will output the IPCONFIG /all commandWindows IP Configuration Host Name . . . . . . . . . . . . : ashrack Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : Yes WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : sd.uni-lj.siEthernet adapter Switch: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel(R) PRO/100+ Management Ada Physical Address. . . . . . . . . : 00-D0-B7-0C-2C-D4 DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.0.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :Ethernet adapter Internet: Connection-specific DNS Suffix . : sd.uni-lj.si Description . . . . . . . . . . . : CNet PRO200 PCI Fast Ethernet Ad Physical Address. . . . . . . . . : 00-11-2F-B5-BA-13 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 88.200.110.x Subnet Mask . . . . . . . . . . . : 255.255.255.128 Default Gateway . . . . . . . . . : 88.200.110.129 DHCP Server . . . . . . . . . . . : 212.235.170.162 DNS Servers . . . . . . . . . . . : 193.2.115.2 193.2.115.190 193.2.1.66 193.2.64.45 Lease Obtained. . . . . . . . . . : 5. december 2007 8:19:58 Lease Expires . . . . . . . . . . : 6. december 2007 8:19:58do you know how to use nslookup?haven't a clue about nslookup Link to comment Share on other sites More sharing options...
eyeball Posted December 5, 2007 Share Posted December 5, 2007 (edited) ok that gives me a lot more information i think we need to create a set of static routes to tell the win2k3 server what to do with traffic destined for the other subnet.you will something like...Route add 88.200.110.0 MASK 255.255.255.128 88.200.111.xxx (IF 2)Route add 192.168.0.0 MASK 255.255.255.0 192.168.0.1 (IF 1)replace XXX with your external IPfirst try the routes without the "IF part", and also excuse me if it is wrong, i havent used static routes in a long while and im in a rush to get off to work whilst typing this take careEDIT : if i telnet to the IP of your gateway it does prompt me for a password so it must be a router of some sort. i think you must be on an internet facing network, each using fully featured NAT to get an IP.how do you plug your w2k server to the internet? Do they just provide you with an Rj45 socket to plug into? Edited December 5, 2007 by eyeball Link to comment Share on other sites More sharing options...
BigDaddy Posted February 8, 2008 Author Share Posted February 8, 2008 sorry for not replying sooner had midterms.Any way your route add table worked somewhat. On the client machine I can now see some of the computers but I can't connect to them nor can I ping them because it says the host is unavailable. But I can ping them or connect to them on the server itself.So we are on a good road just something is still missing.My W2k3 server is connected to the RJ45 socket located in my room.here's the new 'route print'IPv4 Route Table===========================================================================Interface List0x1 ........................... MS TCP Loopback interface0x10003 ...00 d0 b7 0c 2c d4 ...... Intel(R) PRO/100+ Management Adapter0x10004 ...00 11 2f b5 ba 13 ...... CNet PRO200 PCI Fast Ethernet Adapter======================================================================================================================================================Active Routes:Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 88.200.110.129 88.200.110.154 20 88.200.110.0 255.255.255.128 88.200.110.154 88.200.110.154 1 88.200.110.128 255.255.255.128 88.200.110.154 88.200.110.154 20 88.200.110.154 255.255.255.255 127.0.0.1 127.0.0.1 20 88.255.255.255 255.255.255.255 88.200.110.154 88.200.110.154 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.0.0 255.255.255.0 192.168.0.1 192.168.0.1 1 192.168.0.1 255.255.255.255 127.0.0.1 127.0.0.1 20 192.168.0.255 255.255.255.255 192.168.0.1 192.168.0.1 20 224.0.0.0 240.0.0.0 88.200.110.154 88.200.110.154 20 224.0.0.0 240.0.0.0 192.168.0.1 192.168.0.1 20 255.255.255.255 255.255.255.255 88.200.110.154 88.200.110.154 1 255.255.255.255 255.255.255.255 192.168.0.1 192.168.0.1 1Default Gateway: 88.200.110.129===========================================================================Persistent Routes: Nonethank you Link to comment Share on other sites More sharing options...
eyeball Posted February 8, 2008 Share Posted February 8, 2008 what is 88.200.110.128?also do another route print but remove all static routes and everything we have added first so i can see what the default config should be i almost have this figured out i think,cheers Link to comment Share on other sites More sharing options...
BigDaddy Posted February 9, 2008 Author Share Posted February 9, 2008 (edited) I don't know what 88.200.110.128 is. And if I ping it it says the destination is invalid.And also when I deleted it from the ROUTE table there was no ill efects.Restarted the server and this is the basic ROUTE TABLE Active Routes:Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 88.200.110.129 88.200.110.154 20 88.200.110.128 255.255.255.128 88.200.110.154 88.200.110.154 20 88.200.110.154 255.255.255.255 127.0.0.1 127.0.0.1 20 88.255.255.255 255.255.255.255 88.200.110.154 88.200.110.154 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.0.0 255.255.255.0 192.168.0.1 192.168.0.1 20 192.168.0.1 255.255.255.255 127.0.0.1 127.0.0.1 20 192.168.0.255 255.255.255.255 192.168.0.1 192.168.0.1 20 224.0.0.0 240.0.0.0 88.200.110.154 88.200.110.154 20 224.0.0.0 240.0.0.0 192.168.0.1 192.168.0.1 20 255.255.255.255 255.255.255.255 88.200.110.154 88.200.110.154 1 255.255.255.255 255.255.255.255 192.168.0.1 192.168.0.1 1Default Gateway: 88.200.110.129And this is the route table when I add those 2 entries you suggested: Route add 192.168.0.0 MASK 255.255.255.0 192.168.0.1Route add 88.200.110.0 MASK 255.255.255.128 88.200.110.154 Active Routes:Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 88.200.110.129 88.200.110.154 20 88.200.110.0 255.255.255.128 88.200.110.154 88.200.110.154 1 88.200.110.128 255.255.255.128 88.200.110.154 88.200.110.154 20 88.200.110.154 255.255.255.255 127.0.0.1 127.0.0.1 20 88.255.255.255 255.255.255.255 88.200.110.154 88.200.110.154 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.0.0 255.255.255.0 192.168.0.1 192.168.0.1 20 192.168.0.1 255.255.255.255 127.0.0.1 127.0.0.1 20 192.168.0.255 255.255.255.255 192.168.0.1 192.168.0.1 20 224.0.0.0 240.0.0.0 88.200.110.154 88.200.110.154 20 224.0.0.0 240.0.0.0 192.168.0.1 192.168.0.1 20 255.255.255.255 255.255.255.255 88.200.110.154 88.200.110.154 1 255.255.255.255 255.255.255.255 192.168.0.1 192.168.0.1 1Default Gateway: 88.200.110.129And my IP is 88.200.110.154edit: Forgot to mention this but I can connect to other computer from the Windows XP machine thru their IP numbers just not by their DNS name. How come? Edited February 9, 2008 by BigDaddy Link to comment Share on other sites More sharing options...
eyeball Posted February 10, 2008 Share Posted February 10, 2008 (edited) hmm, if you can connect to them by IP not name then that would suggest that the 2 routes we put in are working. Can your w2k3 box resolve the other pc's hostnames? if so then i think that the DNS server that it has should also be the DNS server that the xp box has.Try that and lets see what happens Edited February 10, 2008 by eyeball Link to comment Share on other sites More sharing options...
BigDaddy Posted February 10, 2008 Author Share Posted February 10, 2008 (edited) hmm, if you can connect to them by IP not name then that would suggest that the 2 routes we put in are working.this has been working prior to adding those routes. I jmentioned this in my original post. That is way I put the name of the thread 'Can't resolve DNS'.Can your w2k3 box resolve the other pc's hostnames? yesif so then i think that the DNS server that it has should also be the DNS server that the xp box has.I am using DNS server service on W2k3 box. So my DNS for client machine is 192.168.0.1 (servers IP). I did try manually adding DNS servers to XP box but it doesn't help. Edited February 10, 2008 by BigDaddy Link to comment Share on other sites More sharing options...
eyeball Posted February 10, 2008 Share Posted February 10, 2008 (edited) sorry lol been a long while since this post started, ok so your w2k3 server has DNS on it, if the XP Pc is using it for DNS then as long as there is a cahced entry for the pc in question you will be able to ping by name.try pinging or connecting to a pc from the server and resolving its name, once done (with the w2k3 box as the dns server for the xp one) do the same from the XP machine and i cannot see why it would not work, providing that those routes are in place Edited February 10, 2008 by eyeball Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now