<div dir="ltr"><pre class=""><span style="font-family:verdana,sans-serif"><font><kbd class="">the book says:<br></kbd><br></font></span><span style="font-family:trebuchet ms,sans-serif"><kbd class=""><font> The following command creates a sample file for the <span class=""><em>eth0</em></span> device with a static IP address:
</font></kbd><kbd class=""></kbd><kbd class="">cd /etc/sysconfig/
cat > ifconfig.eth0 << "EOF"
<code class=""> ONBOOT=yes
IFACE=eth0
SERVICE=ipv4-static
IP=192.168.1.1
GATEWAY=192.168.1.2
PREFIX=24
BROADCAST=192.168.1.255</code>
EOF</kbd>
<br><br></span></pre><pre class=""><font face="verdana,sans-serif">I was looking at it and my network is on the 192.168.0.x subnet. How do I look <br>at the settings on the host system to see what I need to change the ip numbers too? <br>
</font></pre><pre class=""><font face="verdana,sans-serif">(you knowthe broadcast/gateway numbers)<br></font></pre><pre class=""><font face="verdana,sans-serif">I tried, 'ip addr' and 'ifconfig' but that didn't show the current settings.<br>
</font></pre><pre class=""><font face="verdana,sans-serif">I even spent time looking at their man pages but am thinking their not what I need.<br></font></pre></div>