Your mail was confusing. I read it few times to understand. See my replies inline.
On Thu, Apr 29, 2010 at 3:33 PM, vellingiri <[email protected]> wrote: > Dear Friends, > I have an reliance lease line which has the following ip address. > > Wan IP: 115.248.76.24/30 > > System IP: 115.248.76.25 > > Netmask : 255.255.255.252 > > Gateway: 115.248.76.26 > > DNS: 202.138.96.2 > > DNS: 202.138.103.100 So far so good. Assign the System IP to your machine that connects to the upstream router/gateway 115.248.76.26. Since both are in the same network you can use the machine as gateway. Remember, you can only use machines in the same network as gateway. So if 115.248.76.26 is to act as gateway for 115.248.76.25 then you have to check the netmask to see if both fall in same network. $ sipcalc 115.248.76.24/30 -[ipv4 : 115.248.76.24/30] - 0 [CIDR] Host address - 115.248.76.24 Host address (decimal) - 1945652248 Host address (hex) - 73F84C18 Network address - 115.248.76.24 Network mask - 255.255.255.252 Network mask (bits) - 30 Network mask (hex) - FFFFFFFC Broadcast address - 115.248.76.27 Cisco wildcard - 0.0.0.3 Addresses in network - 4 Network range - 115.248.76.24 - 115.248.76.27 Usable range - 115.248.76.25 - 115.248.76.26 Good. Both are in the same network. Go ahead and use it. You can also use DNS servers or run your own BIND like I do nowadays. > Lan IP: 115.248.77.48/29 > ( 49,50,51,52,53,54 ) I don't understand this at all. These are not LAN(RFC1918) IPs. LAN IPs are private IPs that are either 192.168/16 or 172.16/12 or 10/8. > I have setup the system ip which was given by them, as well as dns and > gateway. Try pinging the gateway after assigning the IP address. > They have provided extra six static ipaddress. When I do ping or ssh it has > to perform the operation from outside network to six static ip address > including system ip. What? I can see the six LAN IPs you mention. But they cannot be used since they lie on a different network. Look at this. $ sipcalc 115.248.77.48/29 -[ipv4 : 115.248.77.48/29] - 0 [CIDR] Host address - 115.248.77.48 Host address (decimal) - 1945652528 Host address (hex) - 73F84D30 Network address - 115.248.77.48 Network mask - 255.255.255.248 Network mask (bits) - 29 Network mask (hex) - FFFFFFF8 Broadcast address - 115.248.77.55 Cisco wildcard - 0.0.0.7 Addresses in network - 8 Network range - 115.248.77.48 - 115.248.77.55 Usable range - 115.248.77.49 - 115.248.77.54 Probably they meant that you use these IPs elsewhere. Then they did not give any gateway. I am lost here. Ever yours, Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
