setting up a LAN - need help!
If you have a router or cable modem or something from your ISP, that router or cable modem will automatically assign IP addresses to the devices using DHCP
In your first post, you're listing an IP address 169.254. ... that's an Internet / public IP address, not a local network / private address. That computer should have a local IP address as well.
If you connect that pc to the router or cable modem or whatever the ISP gives you, that means the device you have from ISP doesn't have any DHCP functions and just gives an Internet IP to the first network card connected to it, so that PC only gets an internet address.
In this case, you would want a router instead of a switch, so that the router will receive the Internet IP from the ISP device, and then give local network / private IPs to each device through DHCP.
As for those private IP addresses, if you have less than around 250 computers in a local network, you can use subnet mask 255.255.255.0 on all computers you want in that network, that means only the last number in your IP addresses will change, everything else must be the same.
So
10.0.0. x
172.16.0.x
192.168.0.x where x is between 1 and 254 - you can pick any number and give it to your device, just don't have two devices with same number at end
If you use subnet mask 255.255.0.0 that means you can have up to around 64k computers in the network, and you can manually configure the last two numbers in those IP addresses. So for example, you could have 10.0.99.10 on one computer and 10.0.100.25 on the other computer, and because the subnet mask is 255.255.0.0 , both devices will be treated as in a network and they'll see each other.
10. ... , 192.168. ... 176.10. ... are "special" IP ranges, local / private network IPs, the data packets don't go to the outside world.
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