View Single Post
  #3   (View Single Post)  
Old 20th May 2008
starbuck's Avatar
starbuck starbuck is offline
Port Guard
 
Join Date: Apr 2008
Location: Eugene, OR
Posts: 31
Default

Quote:
Originally Posted by phoenix View Post
Your interface is configured with a netmask of 255.255.255.0 or /24. This means that the first 24 bits (or three octets) form the network. In your case: xxx.xxx.54.0 is the network.

This means you can only see IPs from xxx.xxx.54.0 through xxx.xxx.54.255.

If you need to see IPs on the xxx.xxx.55.0 network as well, then you need to make your netmask smaller. You'll need to contact your network admin to find out what the correct subnet mask is.

(As a quick-n-dirty hack, you can make your subnet mask 255.255.0.0 or /16 and you'll see all the IPs from xxx.xxx.0.0 through xxx.xxx.255.255. But that's a bad hack, and you really should use the correct subnet mask.)
Ok, so apparently our Network Services department assigns static IP address through DHCP. So the fix was to run dhclient on my network interface and it was automagically given the correct IP address and netmask:

Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:15:17:50:a6:3a
        inet6 ...snip... 
        inet6 ...snip... 
        inet ###.###.54.106 netmask 0xfffffe00 broadcast ###.###.55.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:15:17:50:a6:3b
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
        inet 127.0.0.1 netmask 0xff000000
Thanks for the in-depth response phoenix, I talked to a coworker of mine who is more familiar with our network and apparently I need to read up on networking. I was mistaken when I said that "we've actually got servers on the .55 and .54 subnets." Apparently the subnet spans from ###.223.54.0 to ###.223.55.255. So yeah, I've got some more reading to do. Thanks again!
Reply With Quote