ipconfig ????
Code:
|
Or do you mean Winbloze's ipconfig /all ???
|
Here is what Windows XP reports when issuing the ipconfig /all command:
Code:
|
Let us study a little about IP network to make things clear. Each computer in IP network interface has a unique address = an IP address. An IP address is a four byte long number, each byte contains maximum of three decimal numbers, every byte is separated with dot. Each byte is eight bits and can be any number between 0 and 255.
This is my IP network as an example: 10 linux computers each has 1 NIC = 192.168.1.100 ... 192.168.1.110 1 server 2 NICs 1 for grabing leased IP and 1 for the dhcp =192.168.1.1 10 windows computers 192.168.1.200 ... 192.168.210 As we can see IP address = net.work.address. + hostaddress Thus all my computers (including server/gateway/router) have this same network address: 192.168.1.x Yes, they can talk to each other, sharing files, printer, scanner, CDRW, internet access because they have same network address but have a unique host address. The entire netmask for this private class C network address is 255.255.255.0 and broadcast address to communicate with all the hosts in this network is 255.255.255.255 I have a Mac notebook, the address is 192.168.4.111 and it cannot commmunicate to any of computer in that 192.168.1.x network why? See Your linux and windows addresses are on the different network island: Linux inet addr: 208.152.6.101 -> has 208.152.6.x network address Where as other computers -> have 208.152.2.x network address: Windows IP Address: 208.152.2.199 Other windows addr: 208.152.2.121 Other windows addr e.g. as printer server: 208.152.2.250 Default Gateway or router: 208.152.2.1 Suggestion: Change your linux network adress to 208.152.2.x Goodluck ;-) And have a lot more fun :-) |
|
I got Good News and Bad News
Well I have some good news and some terrible news.
The good news is changing the Ip on the linux machine to 208.152.2.111 solves the networking problem completely! (y) :) The Bad News is by changing this IP the LAn networking is the ONLY thing I can do. I lose all online access to the internet, etc...!!! If I set the setup back to DHCP it assigns the IP 208.152.6.101 again. Van Anyone help me solve this problem once and for all? |
This is the third copy and paste from my earlier posts (next time better brows other similar threads)
OK this is some example on how to setup mixed linux-windows network. Example one is my office network with a router, the other one is using a server with 2 NICs and a switch or hub at my house. I use this command as root at my linux machine to find out the current IP address: ifconfig I use this command on my windows machine: ipconfig My office hardware setup: (-) denotes single cable (=) many cables: wall outlet - cat5 cable - outer port [router] inner ports = cat cables = NIC on each computers hooked to the router's port. All of the computers are setup using dhcp. The router is setup using one of the computer's browser to get leased internet IP from outside automatically, and to give IP numbers to any computer hooked on its ports using dhcp. These are their IP addresses: router = 192.168.1.1 (static address that gives IP addresses to those computers) - comp1 192.168.1.100 (dynamic address signed by the router) - comp2 192.168.1.101 (dynamic address signed by the router) ... - comp9 192.168.1.109 (dynamic address signed by the router) I cannot afford a personal router for my house network, instead I buy a switch or a hub and two NICs for one of the computer to make it an internet server. My home hardware setup: (-) denotes single cable (=) many cables: telephone or cable outlet - cat3 or modem cable - xDSL modem - cat5 cable- NIC1 of the [server] to get leased internet IP address using pppoe and NIC2 to give IP numbers to any computer at my house - cat5 cable - swith or hub = cat5 cables = NIC of each computers that want internet access via the switch or hub. This are their IP addresses: server = 192.168.1.1 (static address that gives IP addresses to those computers) - comp1 192.168.1.100 (dynamic address signed by the server) - comp2 192.168.1.101 (dynamic address signed by the server) ... - comp9 192.168.1.109 (dynamic address signed by the server) That's it for the hardware setup. You can try it which one to use ;-) Sould any problem appears somebody will help you with that. Don't forget to give your hardware setup and your linux ifconfig, route and windows ipconfig /all result on your post. Good luck. Have a lot of fun :-) |
It sounds like when you changed your IP on your Linux box, you forgot DNS. Can you run dig? Anyway, I think you're very close. Check out those network settings on your Linux box-default gateway, DNS. Where is your DHCP server at? Your ISP or at home?
|
aherm, you completely lost me. too much detail LOL.
bax, the DHCP is managed entirely by my ISP. As for DNS the DNS server addresses get fed in by DHCP (as in the DHCP server forces the machine to use some DNS server numbers). So I guess my problem is probably related to DNS. I will double check my settings. Thanx. |
Yeah, it sounds like when you changed your IP, DNS got fudged up. Is this a business network?
|
no this is a simple home LAN. The simplest setup you can think of really. A hub, two PCs. (actually one pc, one laptop).
|
Just add another Network Card to your PC ;-)
Have a lot more fun :-) |
shassouneh,
send me your email. i will send you a document i created to get samba and xp to work together. i have my samba machine with a 204.xxx.xxx.xxx ip address and my xp box with a 192.xxx.xxx.xxx ip. they have no problem seeing each other. you shouldnt have to change ip addresses. here is my email address. jmjr56@hotmail.com. just email me and i will send u the doc. |
thanx for the generous offer jmarsh. Check your email :)
|
i havent received an email from you......................JMJR56@HOTMAIL.COM.......................that should help you
|
All times are GMT -5. The time now is 09:37 PM. |