Red Hat Docs > Manuals > EDK Manuals > |
The following discussion details how to determine your host's network configuration; the numbers as they appear are only for example purposes and not for actual use. Type route to display the Kernel IP routing table, like the following example shows.
Kernel IP routing tableGateway | Genmask | Flags | Metric | Ref | Use | Iface | |
0.0.0.0 | 255.255.255.255 | UH | 0 | 0 | 0 | eth0 | |
0.0.0.0 | 255.255.255.0 | U | 0 | 0 | 0 | eth0 | |
0.0.0.0 | 255.0.0.0 | U | 0 | 0 | 0 | lo | |
211.210.231.1 | 0.0.0.0 | UG | 0 | 0 | 0 | eth0 |
For Kernel IP routing table, the first entry of the first line is 211.210.231.141 , the host's IP address (the host-IP-address value in Network information).
The second line is the listing for your subnet; the base subnet IP is 211.210.231.0 (the subnet value in Network information), and the subnet mask is 255.255.255.0 (the netmask value in Network information).
The third line is not relevant.
The last line is the entry for the gateway, or router; the router IP is 211.210.231.1 (the router-IP-address value in Network information).
Typing cat /etc/resolv.conf would then output something like the following example.
search mycompany.com nameserver 211.210.231.2This output tells you that you would use mycompany.com as the domain-name value in Network information; 211.210.231.2 as the IP address of the primary Domain Name Server (the domain-name-servers value in Network information).
Use the ifconfig command to determine the broadcast-address value that you will add to Network information. In Broadcast address, the broadcast-address is to the right of the Bcast: output.
Broadcast address