Click to See Complete Forum and Search --> : IP Addresses


Asia
07-24-2001, 11:38 PM
Hello,

When I got a dedicated server, I got 30 IP addresses. Now, my IPs are running out, and I got 30 more.

For my first 30, I put in the network ip, gateway ip, netmask ip, and broadcast ip.

The next 30 IPs I just got have different network ip, gateway ip, and broadcast ip.

How do I add another network ip, gateway ip, and broadcast ip, so it can recognize my 30 new IPs?

The OS of the server: RH 7.1

Pakrat
07-25-2001, 04:31 PM
You could add another network card or setup an 'alias' for the one you have.

Asia
07-25-2001, 09:36 PM
You know when I installed RH 7.1, I put in a Network IP, Broadcast IP, Netmask IP, and Gateway IP. ( They are the default IPs for the server now).

Now I got another block of IPs with different Network, Broadcast, and Gateway.
For the new block of IPs, I did an alias to eth0, and it worked.

The question is...do I need to add the new Network IP, Broadcast IP, and Gateway IP to my one and only network card (eth0)?
I think my new block of IPs ( those with different network IP, Broadcast IP, and Gateway IP) use the default Broadcast IP, Network IP, and Gateway IP that I setted when I installed RH 7.1.

Matt G
07-25-2001, 11:31 PM
in order for networks and other sets of IP's to "see" each other, you need to have the same netmask. ie: 255.255.0.0 or what ever you so may choose, i know that ther eare limited netmasks that are vaid to use, but i did that on my network and it works fine.

Asia
07-26-2001, 10:10 PM
The netmask IP for the first & second block of IPs are the same. They both are 255.255.255.224

Will there be a problem if I don't put the Network IP, Gateway IP, and Broadcast IP of the second block of IPs in "netcfg".

I aliased the second block of IPs to eth0 and it worked fine. The second block of IPs uses the default Network, Gateway, and Broadcast of the first block of IPs. Will this be a problem?