There's also the autoconfiguration address range of 169.254.x.x
168.254.x.x is what gets used if no DHCP server is available and is used if for example you connect two or more systems together without a router. They'll work out a unique address for each computer amongst themselves so that you can set up an isolated network. I've tried this with Windows, Linux and OS X in a standalone network and it works.
The 192.168.x.x range is not recommended if you are setting up Virtual Private Networks (VPNs), purely because everyone and their dog (internet cafes etc) uses them and this makes conflicts more likely.
Having said that, if you ever need to get telephone support from your ISP, they might just ask you to set them to one in the 192.168.x.x range, especially if they supplied the router as part of a package. Fortunately Windows nowadays doesn't need a reboot when you change addresses.
The router address ending in .1 is merely a convention, but it's a handy one.
Many routers also allow you to specify a fixed address via DHCP for a given computer, so that it always gets the same address. This is handy for dealing with older operating systems.
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Subnet Mask, Ip adresses and Primary Gateways"
Collapse
-
Hi All,
Thanks for you replies and yes clear as mud but I have learned something.
Cheers!
Leave a comment:
-
Originally posted by original PM View PostHi All,
Probably a numpty network question so if you can see your way past the insults and post some relevant info it would be most appreciated
Is there any correlation between the IP address and Primary Gateway - it would seem that if the IP address is xx.xx.xx.xx then the primary gateway is always xx.xx.xx.01
And is the subnet mask always 255.255.255.0
I am refering mainly to standard home broadband not a larger company style network
Or are these items configurable but default to the above or is it just random?
and 10.x.x.x
are reserved for private use (ie these are non-routable on the Internet).
Subnet masks are basically used to say what hosts are on the physical bit of wire, so:
255.255.255.0 means 254 hosts (and 1 broadcast and 1 network address).
255.255.255.192 means 62 hosts (and 1 broadcast and 1 network address).
Generally for simplicity in home use, the IP addresses used are either 192.168.0.x / 255.255.255.0 or 192.168.1.x / 255.255.255.0
The final piece of the puzzle is gateway, ie how do you get to other hosts which are not on the same bit of wire. In home use, this is generally your router (192.168.0.1 or 192.168.1.1), but there's no reason you can't set that to somewhere in the middle of the assigned range. Indeed that's sometimes what corporates do (security through obscurity).
Your router will have a 2nd internet routable IP address and will transfer the requests from your LAN to the Internet (hence the name router).
Clear as mud?
Leave a comment:
-
They are configurable. You do need to be careful with your choice of numbers though, there are specific ranges set aside for "private" use.
The subnet mask acts as a mask dividing an address into network and host parts. The network part corresponds to the most significant bits set to one, the host part to the least significant bits set to zero. So by changing the subnet mask you can facilitate having more or less hosts on a particular subnetwork. Any address on a network can be used for a gateway except the network address (all host bits 0) and the broadcast address (all host bits one). The "network" part will be the same for all the hosts on a network.
Have a google for CIDR.Last edited by doodab; 15 June 2011, 11:26.
Leave a comment:
-
My basic understanding is that your home router acts as a gateway to the outside world
And will typically use 192.168.0.1 or 192.168.0.254 for its gateway IP as the 192.x.x.x and 10.x.x.x. ranges are for private use.
The router will, unless configured otherwise, assign an IP address to anything that connects to it. The number range it uses will be configurable but is typically from about 192.168.0.60 to something like 192.168.0.253. You can usually set a device that you want to connect to have a static IP and it is advisable to use the 192.168.0.2 – .59 range to avoid conflicts.
Subnet mask is 255.255.255.0
Obviously these are the local settings on the router. Your ISP will be assigning your connection its own IP address which is used by the outside world.
Apologies if any of the above is bollux and needs correcting by someone who knows what they're talking about.
Leave a comment:
-
Subnet Mask, Ip adresses and Primary Gateways
Hi All,
Probably a numpty network question so if you can see your way past the insults and post some relevant info it would be most appreciated
Is there any correlation between the IP address and Primary Gateway - it would seem that if the IP address is xx.xx.xx.xx then the primary gateway is always xx.xx.xx.01
And is the subnet mask always 255.255.255.0
I am refering mainly to standard home broadband not a larger company style network
Or are these items configurable but default to the above or is it just random?Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Streamline Your Retirement with iSIPP: A Solution for Contractor Pensions Sep 1 09:13
- Making the most of pension lump sums: overview for contractors Sep 1 08:36
- Umbrella company tribunal cases are opening up; are your wages subject to unlawful deductions, too? Aug 31 08:38
- Contractors, relabelling 'labour' as 'services' to appear 'fully contracted out' won't dupe IR35 inspectors Aug 31 08:30
- How often does HMRC check tax returns? Aug 30 08:27
- Work-life balance as an IT contractor: 5 top tips from a tech recruiter Aug 30 08:20
- Autumn Statement 2023 tipped to prioritise mental health, in a boost for UK workplaces Aug 29 08:33
- Final reminder for contractors to respond to the umbrella consultation (closing today) Aug 29 08:09
- Top 5 most in demand cyber security contract roles Aug 25 08:38
- Changes to the right to request flexible working are incoming, but how will contractors be affected? Aug 24 08:25
Leave a comment: