IP Assignment for WAN and LAN Interface: - networking

Very Much confused about assigning IP address to WAN Interface and LAN Interface on Router/Firewall.
I know the process of assigning IP address but don't know which IP address to assign. Support My default gateway for ISP is 14.141.46.129, then what IP should I assign to my WAN Interface? And what Subnet Mask I have to assign?
Now What IP address I should assign to LAN Interface? And what Subnet Mask I have to assign?
After Assigning IP, I have to get Internet access from My LAN interface to WAN Interface.....
How to find the route to WAN Interface so that I Can ping google.com??

First, 14.141.46.129 is a valid IP address. The WAN interface needs a public IP address which should be given by your ISP provider.you can covert through cyberoam interface A port for-wan, B port for local lan & new range of 192.168.2.1 to 192.168.2.255 subnet mask 255.255.255.0 as u need you have to covert in subnetmask 192.168.2.1/32 to as per your needing (You assing your local ip for Lan The LAN interface can be in the range 192.168.2.2-254 with a mask of 255.255.255.0, )

First, 14.141.46.129 is not a valid IP address.
The WAN interface needs a public IP address which should be given by your ISP provider.
The LAN interface can be in the range 192.168.1.2-254 with a mask of 255.255.255.0

Related

Broadcast Address (in terms of subnetting)

I do not understand one thing: does each device have a broadcast address? I am subnetting a network and I am giving each subnet one broadcast address and not each host. Is this correct?
For IPv4 networks, each subnet has a broadcast address. Whatever the highest address is for that particular subnet is the broadcast address.
Suppose I had a network at 203.0.113.0 with a netmask of 255.255.255.0. With this mask, hosts on this network can have addresses 203.0.113.1 through 203.0.113.254. Hosts on this network wishing to send a broadcast message to all hosts on the network would use 203.0.113.255.

Ip Address and network

What is the exact difference between Local IP, External Ip, Static IP, Dynamic IP?
And what does it mean you should be connected on the same local network?
Local v External
static v dynamic
Every IP address has a network and host part, determined by the subnet mask.
A device has an IP and subnet mask of:
192.168.0.5;255.255.255.0 means that it has an network address of 192.168.0 and the rest of the ip address is allocated to hosts on the network (for a host to be on the same network it would need an ip in the range of 192.168.0.1 -> 192.168.0.254; 192.168.0.0 is the subnet address and 192.168.0.255 is the broadcast address)
another example:
A device has an IP and subnet mask of:
192.168.0.5;255.0.0.0 means that it has an network address of 192 and the rest of the ip address is allocated to hosts on the network (for a host to be on the same network it would need an ip in the range of 192.0.0.1 -> 192.255.255.254; 192.0.0.0 is the subnet address and 192.255.255.255 is the broadcast address)
As a final, more complicated example, A device has an IP and subnet mask of:
192.168.200.5;255.255.240.0. To find the network we convert the mask to binary
255.255.240.0
11111111.11111111.11110000.00000000
then convert the ip to binary, and apply the mask to find our ip range of the network
192.168.200.5
11000000.10101000.11001000.00000101 apply mask ->
11111111.11111111.11110000.00000000 logical AND to get our network portion:
11000000.10101000.11000000.00000000 (192.168.192.0)
to get our first and last host address on the same network, fill in the network portion plus all 0's for the first, and all 1's for the last address:
11000000.10101000.11000000.00000000(192.168.192.0 -> subnet)
11000000.10101000.11001111.11111111(192.168.207.255-> broadcast)
so to be on the same network as 192.168.200.5;255.255.240.0; a device would need an ip in the range of 192.168.192.1;255.255.240.0 -> 192.168.240.254;255.255.240.0

How can I get the subnet mask of another subnet in the same network,given that I have one of it's host IP address?

Ex: My Target IP address is 10.7.19.119
And My IP address is 10.7.1.166
and Subnet mask is 255.255.192.0
You can not simply calculate a subnet mask from just an IP address.
But you can try to get that info from your router/dhcp server.
I would try to assign your pc an IP address next to 10.7.19.119 for example: 10.7.19.120.
Afterwards check your subnet mask with ipconfig excecuted in a command shell (cmd).

Router is assigning Class A and class C IP address

The router in our office is assigning 192.168.1.x , and 10.x.x.x IP addresses automatically. How do i standardize it's assigning of ip addresses as 10.x.x.x? The workstations in our office is set to obtain ip address automatically.
Usually routers provide an HTML interface for a connected device to login. Here it might be 192.168.1.0 or 10.x.x.0.You have to login to the router, and depending upon the model of the router, you can configure the ip address range for the network.

IP address of the type 192.168.0.0/16

I was studying about IP addresses when I came Across an address of type 127.0.0.1/8. I know that127.0.0.1 is a loop-back address but what did /8 mean in the address.what /8 (in 127.0.0.1/8) specify
the /8 in your ip is the subnet mask.
It allows you to know on which subnetwork you are, find your broadcast and unicast IP.
Take a look at http://en.wikipedia.org/wiki/Subnetwork to have more informations
/8 is a subnet mask written in CIDR notation and which is used by hosts to determine if they are on the same network as some other host and can communicate directly or they need to use a router (default gateway). In your case this is a loopback address, and actually all IP addresses from 127.0.0.0/8 network (from 127.0.0.0 to 127.255.255.255) are reserved loopback addresses as defined in rfc6890: Special-Purpose Address Registries

Resources