Current time: 11-05-2024, 02:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
Subnetmask 255.0.0.0 and secondary IP
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #1
Question Subnetmask 255.0.0.0 and secondary IP
Hello Togehter,

i added some more IP´s to ispCP under Settings -> IP Manage.
After that ispCP created a new Alias for eth0 like
Code:
eth0:5    Link encap:Ethernet  HWaddr 00:19:db:d5:83:5e
          inet addr:91.143.8x.xx  Bcast:91.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:23 Base address:0xd800
So far so good, but why does we set here the Subnetmask 255.0.0.0 ?

The Problem is that i get everyday a new IP from my ISP at Home.
Today i have this one -> 91.22.2xx.xx and i can´t no more connect to my Server. It works perfect in the office and i asked all my friends -> no Problem.

I can´t Ping, and the Traceroute can´t also find a route to the Server.

I have an IP starting with 91.x.x.x and my new secondary IP for the Server start with 91.x.x.x and the Subnetmask is 255.0.0.0 -> CLASS A

I mean that this is the Problem and cant find a route to the Server.
Means that every Telekom Customer with an IP like 91.x.x.x cant connect to my Server ?!

Strange things happens here Rolleyes

Greez BeNe
10-14-2009 06:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: Subnetmask 255.0.0.0 and secondary IP
network maskis automatically added by ifconfig based on default ip address
Code:
netmask addr
    Set the IP network mask for this interface. This value defaults to the usual class A, B or C network mask (as derived from the interface IP address), but it can be set to any value.
> open a ticket if you want as enhancement to be able to also set network mask.
10-14-2009 09:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: Subnetmask 255.0.0.0 and secondary IP
Problem solved!
The Netmask was totaly wrong.
My eth0 IP has the Mask 255.255.255.240 and the new Alias was in a Class-a Net (255.0.0.0) Rolleyes

Here is the Ticket --> http://www.isp-control.net/ispcp/ticket/2030

Thanks & Greez BeNe
10-15-2009 07:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)