Ubuntu Network

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.


Why does that one number make such a differance?, I'm confused about that
 
An IP address is composed of two parts, the network (or subnet) part and the host part. The netmask tells you which part is which. So, without going into too much detail, a netmask of 255.255.255.0 says that, when you look at the IP address as a 32-bit number, the first 24 bits are the network and the last 8 bits are the host.

So the last 8 bits of the network address, in this case, have to be zeros. Conventionally the network is referred to as this number; in your case this would be 192.168.25.0. So for the host part, all zeros is reserved to refer to the network. All ones is also reserved for something called the broadcast address (a packet sent to that address will be delivered to every host in the network; in your example this is 192.168.25.255. The other 254 numbers (192.168.25.1 - 192.168.25.254) are available as addresses for hosts.

A network address doesn't necessarily end in a 0. If your netmask was 255.255.255.128 then 192.168.255.128 would be a valid network number. In this case you have subnetted the class C address into two networks (with available host addresses 192.168.25.1 - 192.168.25.126 and 192.168.25.129 - 192.168.25.254). If you think about it, a network address always has to end in a multiple of 4. So 192.168.25.1 can never be a network address.

If it all seems complicated, it's not really - once you get used to it. It may be worth your while finding a simple introduction to TCP/IP to explain these things better than I can.
 
Ok, right now I'm just trying to figure out whats wrong here, on webmin i have the subnet created, with the following information

webmin configuration
ip address range 192.168.25.50 192.168.25.58
network address 192.168.25.8
netmask 255.255.255.0
broadcast 192.168.25.255


my computer info:
address 192.168.25.0
netmask 255.255.255.0
network 192.168.25.8
broadcast 192.168.25.255

I set my vista machine with the ip address of 192.168.25.50 subnet 255.255.255.0

My vista machine saids unidentified network with it being plugged into the switch and the switch connects to the server
 
Ok, right now I'm just trying to figure out whats wrong here, on webmin i have the subnet created, with the following information

webmin configuration
ip address range 192.168.25.120 192.168.25.128
network address 192.168.25.0
netmask 255.255.255.0
broadcast 192.168.25.255


my computer info:
address 192.168.25.0
netmask 255.255.255.0
network 192.168.25.8
broadcast 192.168.25.255

I set my vista machine with the ip address of 192.168.25.50 subnet 255.255.255.0

My vista machine saids unidentified network with it being plugged into the switch and the switch connects to the server
 
Correct me if i am wrong, i haven't done a whole lot of work with networking, but wouldn't your address on vista need to fall inside the ip address range as stated in webmin (aka between .120 and .128)?
 


It is in the range of the ip address, thats what i dont understand why it still telling me unidentified network
I have it set at the .120
 
If I read your setting correctly you have the server address set as 192.168.25.0 with a netmask of 255.255.255.0. With that netmask 192.168.25.0 is a network address and is not valid as a host address. Set your network to 192.168.25.0 and your server address to, say, 192.168.25.1.



You might find it easier if you follow the link that I gave exactly, and use the addresses in that example for configuration oth eth1 and DHCP.
 


Ok I got my vista machine connected to the network, but its not getting internet access, Server has internet, final stage for my network lol.

 


On setting up the iptables on webmin, thats done under the firewall settings or on the server itself?
 
finally got the first computer connected to the internet, thanks alot for all the information and the patience with me.