|
|||||
| | |||||
|
There are two types of networking on a windows machine: client for microsoft windows (also called NETBIOS) and TCP/IP.
be sure to know the difference between "Client for Microsoft Networks" and "TCP/IP" which has the property of the ip address. The easiest to configure is the microsoft one, where your computer has a name, domain, and workgroup.
the other one depends on the TCP/IP properties of the ethernet adapter in question.
It is difficult to separate questions of protocols from those of name resolution , especially concerning dns, so it's all in the protocol section.
You can set the computer name and the workgroup by doing: my computer -> right-click -> properties.
make sure that in your properties box for "my computer" that you logon as "Client for Microsoft Networks"
Note that so long as your machine is not connected to the internet (not registerd with the NIC in any case) you can be really cool by using some of the addresses which have been set aside for your machine. For example, 192.168.0.x is the address to use as this address is reserved for intranets not accessible over the internet. So my machines that are not connected to the internet are: 192.168.0.1 (hostname = hp) and 192.168.0.2 (hostname = laptop) etc.
make sure that the tcp/ip connection allows the binding (accessed via selecting Network Neighborhood -> right-click on Network Neighborhood -> properties -> select "tcp/ip -> ethernet" -> click the "properties" button -> select the "bindings" tab (there are 8 tabs) -> ensure that "File and printer sharing for Microsoft Networks" is selected with a checkmark.
hosts file: used to list every other host you might want to communicate with outside your local network
this is for name resolution only: all else is handled by routing
The hosts file is found in winnt\system32\drivers\etc\hoststhe following details changes in the above for a win2k OS.
Accessing with the above bold items still leaves the issue of a password; whenever I try to access the share on the win2k machine (yes, sharing was set up because it is being held out by a hand in Explorer) I get the following problems:
the following section was copied from above and modified while trying to fix that problem.
will apply to logging onto the machine, will not change settings on the share.
remember, the default is to give "Full Control" to all users. So, after logging onto machine as guest, in theory, one should be able to manipulate the share same as the Administrator.
Because all this did not solve the problem, I suspect the problem is that
independent of being on a win98 or win2k machine, the process of creating a share is similar though the properties and the set-up of the sharing of that share differ.
to create a share you must be logged on as a member of the Administrators, Server Operators, or Power Users group. The Server Operators group does not exist on Windows 2000 Professional, only on 2000 Server.
a hidden share is created automatically. They are visible as a $directory_name (that's dollar sign followed by the directory name).
You can connect to a hidden share, but only if you provide a user account with administrative privileges along with the appropriate password for the user account.
for internet sharing, see configuration.htm under IIS directory
implementing DHCP on a network will require implementing a dynamic DNS server as well.
Install the dhcp server from rpm dhcp-2.ob1p16-6.i386.rpm. Then edit it's conf file. Change the "server-identifier" to the server name. The following is an example of how to configure another part of dhcpd.conf:
subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.64 192.168.1.126; option broadcast address 192.168.1.255; }then execute
touch /etc/dhcpd.leases. And, to start and stop the service, /etc/rc.d/init.d/dhcp start.
Then it is possible to use the dhcp on all network configurations for the windows and linux machines, both, if the changes talked about are made to smb.conf
See static routing for a brief HOWTO.
This presents a windows GUI .... be used, presumably, that statment
references ... there is room for adding ip addresses in the advanced button for the
properties (right-click) on your connection which is-to-be-edited....
perhaps this is adding entries to the routing table??
how do we associate a connection with the ethernet card? for example, in linux, this
step is performed with /sbin/route add -net 192.168.0.4 netmask 255.255.255.0 dev eth0
and in windows the corresponding code is right-clicking 'network neighborhood' and selecting properties (win2k) or somewhere else in the control panel for other guis.
route command:
route add -net default gw 192.168.0.2
route del default
route add 192.168.4.0 mask 255.255.255.0 192.168.1.1
note that by default in the LocalAreaConnection box the ethernet adapter was selected. The problem of having two ethernet adapters we will leave until we have them. However, it is believable that another LocalAreaConnection will be created and MS will rename it LocalAreaConnection(2).
%telnet localhost.localdomain 80 Trying 127.0.0.1.. Connected to localhost.localdomain(127.0.0.1). Escape character is '^]' GET /www/hp3/book.htm HTTP/1.1 Host: localhost ...prints out document with HTTP headers
requires a ppp client and server
command to check pppd client configuation:
| Leave a Reply |