Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a modem which used for internet broadband and I got an IP address in the 'A' class 10.x.x.x and have netmask 255.255.255.255.

  • What does 255.255.255.255 mean exactly?
  • When I try to sniff with promisc mode, will this 'netmask' never allow me to do such to try things?
  • What is the dhcpcd configuration so that each client get the subnet mask 255.255.255.255?
    (For example: By MAC Address)

Thanks in advance, guys! :-)

share|improve this question
    
Welcome to Super User! Please note, @capede, that your original question has been answered as is, the details you have added make it unclear what you are exactly trying to do. Could you please describe your overall goal instead of specific details? –  Tom Wijsman Jan 30 '11 at 18:05
1  
Addressing is no longer classful and the addresses in 10.x.x.x are in a private range. –  Dennis Williamson Jan 30 '11 at 21:49
add comment

7 Answers

It means that your phone is using a point to point link. All your outgoing traffic will be routed to the other end of your link and nothing will be sent to the local network, which is unsurprising as there is no local network.

share|improve this answer
add comment

A network with a subnet mask of 255.255.255.255 puts each device inside its own subnet, forcing them to communicate with the router before communicating with any other device.

share|improve this answer
add comment
  1. If you assign that as your subnet mask, it is no longer a network but a standalone host which could not communicate on the interface where it has been assigned 255.255.255.255.

  2. As you can not communicate, prominiscious mode will not work at all.

  3. See the man page for dhcpd.conf, you can do this by grouping hosts in a group and then assign.

share|improve this answer
add comment

An address with a 255.255.255.255 may be one end of a PTP (point to point) tunnel. Check your routing table using a command like netstat -rn. You may see a route to another address from your IP. The other address should have a route to 0.0.0.0/0.0.0.0 (the default route).

share|improve this answer
add comment

10.0.1.1 isn't an external IP, it's a LAN, VPS, etc (Hamachi is the main use of it) address. You need a non-LAN global ip address, your router should be doing this as it is your gateway, and you can have a internal IP like yours and still be on the internet, so this isn't your problem. What is your modem? What have you changed since you got it?

share|improve this answer
    
'and you can have a internal IP like yours and still be on the internet, so this isn't your problem.', how come sir ? what is my modem? do you mean the vendor sir? my modem is haier C100, i changed nothing just run 'wvdial' in order to established my internet connection on host A ( 10.0.1.1) eth0 , really looking forward for your leap of faith of answers sir :D –  capede Jan 30 '11 at 18:18
add comment

It probably means you're using PPPoE. PPP links are commonly created using 32-bit netmasks.

It doesn't affect your Internet connection in any measurable way.

share|improve this answer
add comment

That mask means host only address. It means you are on the end of a point-to-point link, and are not routed through.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.