 | |
10-08-2003, 04:14 AM
|
#1 (permalink)
| | Registered User
Join Date: Jun 2003 Location: Canada, New-Brunswic
Posts: 134
| » 
Static IP
What should i do to determine a static IP for a second NIC that i want to use to share files and printer with some other computer using a HUB ? Is that something that i have to find or is it any IP that i can choose myself ?
Thanks
__________________
Asus A7N8X Deluxe
Barton 2800+ @ 2.08
2 X 256 Dual Channel Mode Kingston DDR PC3200
Maxtor 2 X 120 Gig,
Audigy 2 Platinum
GeForce4 Ti4200, 128 Meg |
| |
10-08-2003, 04:31 AM
|
#2 (permalink)
| | Registered User
Join Date: Jan 2002 Location: Staten Island, NY
Posts: 633
|
Depends, if it is your own network then you choose the IP address, based on the network address.
Lets say your IP for the first NIC is 193.120.40.101 with a mask of 255.255.255.0 then your network address is 193.120.40.101 and you can assign a static address to your second NIC in the range of 1 to 254 minus the one for your first NIC.
__________________
-=Marcin=-
|
| |
10-08-2003, 04:50 AM
|
#3 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Finland
Posts: 3,838
|
You can't assign public ips to your computer just like that.
So if your first computer has ip of 193.x.y.z do NOT assign something like that.
Your first computer should have an ip of 192.168.x.y, 10.x.y.z, 172.16.0.0-172.31.255.255, from those ranges you can choose whatever ip address.
The subnet masks have to match, too.
-M
|
| |
10-08-2003, 05:16 AM
|
#4 (permalink)
| | Registered User
Join Date: Jan 2002 Location: Staten Island, NY
Posts: 633
|
I just used that as an example, I could have used any numbers to describe the main theory behind this. I do not know how his network is structured so I will not tell him to use any defenite numbers. Also if you read my post I start with "Let say" which indicates that I am stating a hypothetical situation.
But yes, you can not go around assigning non private IPs.
And you can not assign your NIC an address which ends with either a 0 or a 255, those addresses are reserved.
__________________
-=Marcin=-
Last edited by MrPurple; 10-08-2003 at 05:24 AM.
|
| |
10-08-2003, 05:18 AM
|
#5 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Finland
Posts: 3,838
|
Yes I do realize that, but I also realize that the person who posted his question might not know so much - and, if he happens to have a public ip on his first computer, would try to set the adjacent ip to his other computer.
-M
//edit:
This is probably a continuation of this thread -> http://www.techimo.com/forum/showthr...threadid=83413 |
| |
10-08-2003, 05:37 AM
|
#6 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 6,533
|
So you have a computer and you are going to put a second NIC in it? The first nic is going to the internet?
You said the second nic is going to share with another comp thru a hub? Is that second comp gonna be on the internet or just for local use?
Well the first nic has whats called a PUBLIC iP address..for the internet...that means it is supposed to be the only computer in the world with that IP address.
If the other nic is just going to your INTERNAL network then it is best to use a private ip in the range of 192.168.1.100 to 192.168.1.254 (to keep it simple). That is one of the private ranges of IP addresses that is gauranteed not to interfere with any public IP's.
Or, couldnt he just use APIPA on the second nic and also on the second comp that he wants to share with? APIPA is "automatic private ip addressing and just means that the computer will give itself an ip in the range of 169.254.0.0 -169.254.255.255 and that way it will be able to "see" other comps that have used the same range. Maybe that is the easiest way to go.
JP
apipa article http://www.duxcw.com/faq/network/autoip.htm
small networking help http://www.smallnetbuilder.com/FAQ-5...+Sharing-0.php
__________________
"Even a fool is thought to be wise if he is silent"
|
| |
10-08-2003, 05:39 AM
|
#7 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 6,533
|
or you might even consider using NetBeui protocol for the second nic and for the other comp....NetBeui is much simpler than tcp/ip and pretty much needs no configuration.
JP
__________________
"Even a fool is thought to be wise if he is silent"
|
| |
10-08-2003, 09:28 AM
|
#8 (permalink)
| | Registered User
Join Date: Jun 2003 Location: Canada, New-Brunswic
Posts: 134
|
Thanks all for the replies,
I'm going to have one computer connected to the net with Win 98 and i want to share files and printer with 3 other computers all with Win 98, this computer will have 2 NIC installed, one for the internet and the other one for file and printer sharing.
To do that i'll have a Router for the internet connection with a Firewall and i'm planning to add a HUB which will give me the files and printer sharing. Only one computer will be connected to the web so in order to achieve that i was recommended to specify a static IP on the second NIC that the main computer will use to share all files.....
I'm a little lost with this so any information that you can share on this issue will be most beneficial to me
Thanks again
__________________
Asus A7N8X Deluxe
Barton 2800+ @ 2.08
2 X 256 Dual Channel Mode Kingston DDR PC3200
Maxtor 2 X 120 Gig,
Audigy 2 Platinum
GeForce4 Ti4200, 128 Meg |
| |
10-08-2003, 11:28 AM
|
#9 (permalink)
| | Registered User
Join Date: Jun 2003 Location: NJ
Posts: 1,096
|
If you plan on using a router then there is no reason to install two nics in the one pc. The router will be the default gate way. Usually it will have the lowest IP address in the ip range. That is if you are using the range 192.168.1.1 - 192.168.1.254, the router would have ip 192.168.1.1. If you stick 2 nics in one pc then one of the the nics will act as the default gateway. IMO if you are using win98 on four pc's that you want to network together and all have internet access, its much easier to by a router then try to make one of the win98 machines act like a router. If you are trying to keep 3 of the 4 pc's off the web, there are mac and ip filters built into the router that will block those pc's from internet access. This will be the easiest way to do what you want.
|
| |
10-08-2003, 09:39 PM
|
#10 (permalink)
| | Registered User
Join Date: Aug 2003
Posts: 345
|
what does nic stand for, i realize it's the comp your talking about but the actually words are going right over my head right now, also john prophet mentioned using netbeui rather than tcp/ip, is it true that netbuei is safer to a small degree than tcp/ip sharing?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions  | | | | | Recent Discussions  | | | | | |