In Linux, view the gateway, subnet mask, IP address, and broadcast address.
[Root @ glnode04 vm01-CentOS-5.5] # Cat/etc/sysconfig/network-scripts/ifcfg-eth0
Device = eth0
Onboot = Yes
Bootproto = none
Ipaddr = 10.10.111.4 IP Address
Netmask = 255.255.255.0.0 Subnet Mask
Gateway = 10.10.11.254 Gateway
Type = Ethernet
Userctl = No
Ipv6init = Yes
Peerdns = Yes
[root @ glnode04 vm01-CentOS-5.5] # ifconfig
eth0 link encap: Ethernet hwaddr 00: 1D: 7d: 48: 38: 7A
Inet ADDR: 10.10.111.4 bcast: 10.10.255.255 mask: 255.255.0.0 Nic eth0 IP address, broadcast address, subnet mask
inet6 ADDR: fe80: 21: 7dff: fe48: 387a/64 scope: link
up broadcast running Multicast MTU: 1500 Metric: 1
RX packets: 106320 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 86190 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 txqueuelen: 0
RX Bytes: 35816363 (34.1 MIB) TX Bytes: 118782254 (113.2 MIB)