Find the answer to your Linux question:
Results 1 to 3 of 3
after installation i did a ifconfig and my mask numbers are at 255.255.248.0, i was woundering if that 248 should be 255, thats the way fedora 3 set it up. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    25

    question about my mask numbers


    after installation i did a ifconfig and my mask numbers are at 255.255.248.0, i was woundering if that 248 should be 255, thats the way fedora 3 set it up.

    also was woundering... isn't there a way to type ifconfig instead of having to type /sbin/ifconfig, like something to do with makin a symbolic link or something?

    thanks for the help

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    Are you using DHCP info provided by your ISP? If so, leave the network mask alone. However, if you are using private IP addressing, this SM is subnetting and would "usually" take the form of 255.255.255.248 and not 255.255.248.0. Anyway, if you are setting up a network, I would stick with the usualy Class C SM of 255.255.255.0.

    As for entering the ifconfig command without navigating to /sbin, when you enter the su commang, add a hyphen such as su - (note the dash/hyphen). This will put you in the root path.

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    16
    Quote Originally Posted by abishere
    after installation i did a ifconfig and my mask numbers are at 255.255.248.0, i was woundering if that 248 should be 255, thats the way fedora 3 set it up.

    also was woundering... isn't there a way to type ifconfig instead of having to type /sbin/ifconfig, like something to do with makin a symbolic link or something?

    thanks for the help
    255.255.248.0 means you are using 21 bit subnet out of 32.

    for example

    10.30.40.0/255.255.248.0 has IP range of 10.30.40.1--> 10.30.43.255

    10.30.40.0/255.255.255.0 has IP range of 10.30.40.1-->10.30.40.255

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •